Skip to content

Commit 050137c

Browse files
committed
more php8 compatibility
1 parent be1f9c9 commit 050137c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/php/standaloneGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
$evalPosition = strpos ( $fullsource, $evalPositionString );
1414
$fullsourcePart1 = substr ( $fullsource, 0, $evalPosition );
1515
$fullsourcePart2 = substr ( $fullsource, $evalPosition );
16-
$fullsource = $fullsourcePart1 .= "\ndefine('IS_STANDALONE',true,true);\n" . $fullsourcePart2;
16+
$fullsource = $fullsourcePart1 .= "\ndefine('IS_STANDALONE',true);\n" . $fullsourcePart2;
1717
if ($evalPosition === false) {
1818
throw new Exception ( 'cannot find ' . $evalPositionString );
1919
}

0 commit comments

Comments
 (0)