From 9a07245b728714de09361ea16b9c6fcf70cb5685 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Tue, 5 Jan 2016 18:53:04 +0100 Subject: Fixed bug #71273 A wrong ext directory setup in php.ini leads to crash --- tests/basic/bug71273.phpt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/basic/bug71273.phpt (limited to 'tests') diff --git a/tests/basic/bug71273.phpt b/tests/basic/bug71273.phpt new file mode 100644 index 0000000000..d0cd72577e --- /dev/null +++ b/tests/basic/bug71273.phpt @@ -0,0 +1,21 @@ +--TEST-- +Bug #71273 A wrong ext directory setup in php.ini leads to crash +--SKIPIF-- + +--FILE-- +&1"; + $out = shell_exec($cmd); + + var_dump(preg_match(",.+a[\\/].+[\\/]w.php_kartoffelbrei.dll.+,s", $out)); +?> +==DONE== +--EXPECTF-- +int(1) +==DONE== -- cgit v1.2.1