Home
last modified time | relevance | path

Searched refs:parse_file (Results 1 – 10 of 10) sorted by relevance

/php-ast/tests/
H A Dparse_file_not_existing.phpt2 ast\parse_file() on file that does not exist
7 ast\parse_file(__DIR__ . '/non_existing_file.php', $version=70);
14 RuntimeException: ast\parse_file(%stests/non_existing_file.php): %sailed to open stream: No such fi…
16 #0 %s(%d): ast\parse_file('%s', %d)
H A Dparse_file_parse_error.phpt2 ast\parse_file() on file with parse error
7 ast\parse_file(__DIR__ . '/invalid_file.php', $version=70);
16 #0 %s(%d): ast\parse_file('%s', %d)
H A Dparse_file.phpt2 ast\parse_file() on valid file
8 $ast = ast\parse_file(__DIR__ . '/valid_file.php', $version=70);
H A Dempty_file_parse.phpt2 ast\parse_file() with empty file
7 $file = ast\parse_file(__DIR__ . '/empty_file.php', $version=70);
H A Dzpp_errors.phpt8 try { ast\parse_file(); }
18 ast\parse_file() expects at least 1 %s, 0 given
/php-ast/
H A Dast_arginfo.h39 ZEND_FUNCTION(parse_file);
49 ZEND_NS_FE("ast", parse_file, arginfo_ast_parse_file)
H A Dast.stub.php21 function parse_file(string $filename, int $version): \ast\Node {} function
H A Dast_stub.php230 function parse_file(string $filename, int $version) function
H A DREADME.md51 * `ast\parse_file(string $filename, int $version)`
62 `ast\parse_file()`, which accepts a file path. Additionally, both functions require a `$version`
68 $ast = ast\parse_file('file.php', $version=100);
496 The `ast\parse_code()` and `ast\parse_file()` functions each accept a required AST `$version`
H A Dast.c1196 PHP_FUNCTION(parse_file) { in PHP_FUNCTION() argument

Completed in 22 milliseconds