Tests: chdir() and open() for PHP module.
These tests ensure optimizations in the chdir calls don't break SAPI semantics.
This commit is contained in:
7
test/php/open/index.php
Normal file
7
test/php/open/index.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
if (isset($_GET['chdir'])) {
|
||||
chdir($_GET['chdir']);
|
||||
}
|
||||
|
||||
echo file_get_contents('test.txt');
|
||||
?>
|
||||
Reference in New Issue
Block a user