File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -649,7 +649,7 @@ static int lsapi_execute_script(void)
649
649
char * p ;
650
650
int len ;
651
651
zend_stream_init_filename (& file_handle , SG (request_info ).path_translated );
652
- file_handle -> primary_script = 1 ;
652
+ file_handle . primary_script = true ;
653
653
654
654
p = argv0 ;
655
655
* p ++ = ':' ;
@@ -1335,9 +1335,9 @@ static int cli_main( int argc, char * argv[] )
1335
1335
file_handle .opened_path = NULL ;
1336
1336
ret = php_lint_script (& file_handle );
1337
1337
if (ret == SUCCESS ) {
1338
- zend_printf ("No syntax errors detected in %s\n" , file_handle .filename );
1338
+ zend_printf ("No syntax errors detected in %s\n" , ZSTR_VAL ( file_handle .filename ) );
1339
1339
} else {
1340
- zend_printf ("Errors parsing %s\n" , file_handle .filename );
1340
+ zend_printf ("Errors parsing %s\n" , ZSTR_VAL ( file_handle .filename ) );
1341
1341
}
1342
1342
1343
1343
} else {
You can’t perform that action at this time.
0 commit comments