@@ -1381,7 +1381,7 @@ public function getOptimizerInfo(): ?string {
13811381 return null ;
13821382 }
13831383
1384- return " F " . $ this ->return ->refcount . '(" ' . $ this ->name ->__toString () . '", ' . $ type ->toOptimizerTypeMask () . "), \n" ;
1384+ return "\t F " . $ this ->return ->refcount . '(" ' . $ this ->name ->__toString () . '", ' . $ type ->toOptimizerTypeMask () . "), \n" ;
13851385 }
13861386
13871387 public function discardInfoForOldPhpVersions (): void {
@@ -1918,23 +1918,23 @@ private function getGlobalConstDeclaration(EvaluatedValue $value, iterable $allC
19181918 $ flags .= " | CONST_DEPRECATED " ;
19191919 }
19201920 if ($ value ->type ->isNull ()) {
1921- return " REGISTER_NULL_CONSTANT ( \"$ constName \", $ flags); \n" ;
1921+ return "\t REGISTER_NULL_CONSTANT ( \"$ constName \", $ flags); \n" ;
19221922 }
19231923
19241924 if ($ value ->type ->isBool ()) {
1925- return " REGISTER_BOOL_CONSTANT ( \"$ constName \", " . ($ cConstValue ?: ($ constValue ? "true " : "false " )) . ", $ flags); \n" ;
1925+ return "\t REGISTER_BOOL_CONSTANT ( \"$ constName \", " . ($ cConstValue ?: ($ constValue ? "true " : "false " )) . ", $ flags); \n" ;
19261926 }
19271927
19281928 if ($ value ->type ->isInt ()) {
1929- return " REGISTER_LONG_CONSTANT ( \"$ constName \", " . ($ cConstValue ?: (int ) $ constValue ) . ", $ flags); \n" ;
1929+ return "\t REGISTER_LONG_CONSTANT ( \"$ constName \", " . ($ cConstValue ?: (int ) $ constValue ) . ", $ flags); \n" ;
19301930 }
19311931
19321932 if ($ value ->type ->isFloat ()) {
1933- return " REGISTER_DOUBLE_CONSTANT ( \"$ constName \", " . ($ cConstValue ?: (float ) $ constValue ) . ", $ flags); \n" ;
1933+ return "\t REGISTER_DOUBLE_CONSTANT ( \"$ constName \", " . ($ cConstValue ?: (float ) $ constValue ) . ", $ flags); \n" ;
19341934 }
19351935
19361936 if ($ value ->type ->isString ()) {
1937- return " REGISTER_STRING_CONSTANT ( \"$ constName \", " . ($ cConstValue ?: '" ' . addslashes ($ constValue ) . '" ' ) . ", $ flags); \n" ;
1937+ return "\t REGISTER_STRING_CONSTANT ( \"$ constName \", " . ($ cConstValue ?: '" ' . addslashes ($ constValue ) . '" ' ) . ", $ flags); \n" ;
19381938 }
19391939
19401940 throw new Exception ("Unimplemented constant type " );}
@@ -1969,27 +1969,27 @@ private function getValueAssertion(EvaluatedValue $value): string
19691969 $ constValue = $ value ->value ;
19701970
19711971 if ($ value ->type ->isNull ()) {
1972- return " ZEND_ASSERT ($ cName == NULL); \n" ;
1972+ return "\t ZEND_ASSERT ($ cName == NULL); \n" ;
19731973 }
19741974
19751975 if ($ value ->type ->isBool ()) {
19761976 $ cValue = $ constValue ? "true " : "false " ;
1977- return " ZEND_ASSERT ($ cName == $ cValue); \n" ;
1977+ return "\t ZEND_ASSERT ($ cName == $ cValue); \n" ;
19781978 }
19791979
19801980 if ($ value ->type ->isInt ()) {
19811981 $ cValue = (int ) $ constValue ;
1982- return " ZEND_ASSERT ($ cName == $ cValue); \n" ;
1982+ return "\t ZEND_ASSERT ($ cName == $ cValue); \n" ;
19831983 }
19841984
19851985 if ($ value ->type ->isFloat ()) {
19861986 $ cValue = (float ) $ constValue ;
1987- return " ZEND_ASSERT ($ cName == $ cValue); \n" ;
1987+ return "\t ZEND_ASSERT ($ cName == $ cValue); \n" ;
19881988 }
19891989
19901990 if ($ value ->type ->isString ()) {
19911991 $ cValue = '" ' . addslashes ($ constValue ) . '" ' ;
1992- return " ZEND_ASSERT (strcmp($ cName, $ cValue) == 0); \n" ;
1992+ return "\t ZEND_ASSERT (strcmp($ cName, $ cValue) == 0); \n" ;
19931993 }
19941994
19951995 throw new Exception ("Unimplemented constant type " );
@@ -3777,7 +3777,7 @@ static function (FuncInfo $funcInfo) use (&$classEntriesWithSensitiveParams) {
37773777 $ functionTable = "CG(function_table) " ;
37783778 }
37793779
3780- $ code .= " zend_mark_function_parameter_as_sensitive ($ functionTable, \"" . $ funcInfo ->name ->getNameForAttributes () . "\", $ index); \n" ;
3780+ $ code .= "\t zend_mark_function_parameter_as_sensitive ($ functionTable, \"" . $ funcInfo ->name ->getNameForAttributes () . "\", $ index); \n" ;
37813781 }
37823782
37833783 return $ code ;
0 commit comments