bug71273.phpt 419 B

12345678910111213
  1. --TEST--
  2. Bug #71273 A wrong ext directory setup in php.ini leads to crash
  3. --FILE--
  4. <?php
  5. /* NOTE this file is required to be encoded in iso-8859-1 */
  6. $cmd = getenv('TEST_PHP_EXECUTABLE') . " -n -d html_errors=on -d extension_dir=a/é/w -d extension=php_kartoffelbrei.dll -v 2>&1";
  7. $out = shell_exec($cmd);
  8. var_dump(preg_match(",.+a[\\/].+[\\/]w.php_kartoffelbrei.dll.+,s", $out));
  9. ?>
  10. --EXPECT--
  11. int(1)