From 80763b3e64cfeae358c521fa563cc9eaa48f4ea2 Mon Sep 17 00:00:00 2001 From: Tiago Natel de Moura Date: Tue, 3 Mar 2020 18:53:26 +0000 Subject: Tests: chdir() and open() for PHP module. These tests ensure optimizations in the chdir calls don't break SAPI semantics. --- test/php/cwd/index.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 test/php/cwd/index.php (limited to 'test/php/cwd/index.php') diff --git a/test/php/cwd/index.php b/test/php/cwd/index.php new file mode 100644 index 00000000..24ae3a21 --- /dev/null +++ b/test/php/cwd/index.php @@ -0,0 +1,19 @@ +opcache_enabled; +} + +header('X-OPcache: ' . $opcache); + +print(getcwd()); +?> -- cgit