Lines Matching refs:filename
370 static zend_ast *get_ast(zend_string *code, zend_arena **ast_arena, zend_string *filename) { in get_ast() argument
372 if (filename) { in get_ast()
373 return zend_compile_string_to_ast(code, ast_arena, filename); in get_ast()
376 filename = zend_string_init("string code", sizeof("string code") - 1, 0); in get_ast()
377 ast = zend_compile_string_to_ast(code, ast_arena, filename); in get_ast()
378 zend_string_release_ex(filename, 0); in get_ast()
393 zend_prepare_string_for_scanning(&code_zv, filename ? filename->val : "string code"); in get_ast()
1197 zend_string *filename, *code; in PHP_FUNCTION() local
1205 if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "P|l", &filename, &version) == FAILURE) { in PHP_FUNCTION()
1214 stream = php_stream_open_wrapper_ex(filename->val, "rb", REPORT_ERRORS, NULL, NULL); in PHP_FUNCTION()
1229 ast = get_ast(code, &arena, filename); in PHP_FUNCTION()
1245 zend_string *code, *filename = NULL; in PHP_FUNCTION() local
1251 if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "S|lP", &code, &version, &filename) == FAILURE) { in PHP_FUNCTION()
1259 ast = get_ast(code, &arena, filename); in PHP_FUNCTION()