dis-bench / src /php /php-src /sapi /phpdbg /tests /gh12962.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
323 Bytes
--TEST--
GH-12962 (Double free of init_file in phpdbg_prompt.c)
--SKIPIF--
<?php
if (!getenv('TEST_PHPDBG_EXECUTABLE')) die("SKIP: No TEST_PHPDBG_EXECUTABLE specified");
?>
--FILE--
<?php
putenv('PHP_INI_SCAN_DIR='.__DIR__."/gh12962");
passthru(getenv('TEST_PHPDBG_EXECUTABLE') . " -q");
?>
--EXPECT--
Executed .phpdbginit