mirror of
https://github.com/php/php-src.git
synced 2025-08-20 09:24:05 +02:00
fix tests
This commit is contained in:
parent
3aeebd120f
commit
50222ced54
2 changed files with 7 additions and 3 deletions
|
@ -26,4 +26,4 @@ require 'Loader://qqq.php';
|
|||
echo "Done\n";
|
||||
?>
|
||||
--EXPECTF--
|
||||
Parse error: syntax error, unexpected T_STRING in Loader://qqq.php on line %d
|
||||
Parse error: %s error, unexpected T_STRING in Loader://qqq.php on line %d
|
||||
|
|
|
@ -31,7 +31,7 @@ stream_wrapper_register('Loader', 'Loader');
|
|||
$fp = fopen ('Loader://qqq.php', 'r');
|
||||
|
||||
$filename = dirname(__FILE__)."/bug38779.txt";
|
||||
$fp1 = fopen($filename, "w");
|
||||
$fp1 = fopen($filename, "wt");
|
||||
fwrite($fp1, "<"."?php blah blah?".">");
|
||||
fclose($fp1);
|
||||
|
||||
|
@ -40,6 +40,10 @@ include $filename;
|
|||
echo "Done\n";
|
||||
?>
|
||||
--EXPECTF--
|
||||
Parse error: syntax error, unexpected T_STRING in %s on line %d
|
||||
Parse error: %s error, unexpected T_STRING in %s on line %d
|
||||
string(6) "flush!"
|
||||
string(6) "close!"
|
||||
--UEXPECTF--
|
||||
Parse error: %s error, unexpected T_STRING in %s on line %d
|
||||
unicode(6) "flush!"
|
||||
unicode(6) "close!"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue