History log of /php-ast/tests/empty_file.php (Results 1 – 1 of 1)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v1.0.5, v1.0.4, v1.0.3, v1.0.2, v1.0.1, v1.0.0, v0.1.7, v0.1.6, v0.1.5
# 1a604795 08-Jul-2017 Tyson Andre

In version 50+, return an empty statement list in \ast\parse_file

This makes \ast\parse_file and \ast\parse_code consistent.

file_get_contents has a similar check of the result of s

In version 50+, return an empty statement list in \ast\parse_file

This makes \ast\parse_file and \ast\parse_code consistent.

file_get_contents has a similar check of the result of stream_read,
it will return the empty string if it returned null.

show more ...