Missing .cvsignore, broken test, renamed zend2.php -> zend2.php.txt

This commit is contained in:
foobar 2003-07-01 15:56:07 +00:00
parent 063e4e251e
commit 82194d2766
2 changed files with 3 additions and 2 deletions

View File

@ -20,7 +20,7 @@ class debugfilter extends php_user_filter {
stream_filter_register("myfilter","debugfilter");
$fp = fopen(dirname(__FILE__)."test.txt","w");
$fp = fopen(dirname(__FILE__)."/test.txt","w");
stream_filter_append($fp, "myfilter");
stream_filter_append($fp, "myfilter");
stream_filter_append($fp, "myfilter");
@ -29,7 +29,8 @@ print "Done.\n";
fclose($fp);
// Uncommenting the following 'print' line causes the segfault to stop occuring
// print "2\n";
readfile(dirname(__FILE__)."test.txt");
readfile(dirname(__FILE__)."/test.txt");
unlink(dirname(__FILE__)."/test.txt");
?>
--EXPECT--
Done.