--TEST-- Parse exceptions when using require --INI-- allow_url_include=1 --FILE-- getMessage(), " on line ", $e->getLine(), "\n"; } } test_parse_error(<<<'EOC' --EXPECT-- syntax error, unexpected end of file on line 2 syntax error, unexpected end of file on line 3 syntax error, unexpected end of file, expecting '(' on line 2 Invalid numeric literal on line 2 Invalid UTF-8 codepoint escape sequence on line 2 Invalid UTF-8 codepoint escape sequence: Codepoint too large on line 2