Seemed easier than trying to figure out how to force the prompt to accept the unknown IP (perhaps not possible at all as it is part of SSH?). `yes` didn't work, unfortunately.
15 lines
281 B
PHP
Executable file
15 lines
281 B
PHP
Executable file
--TEST--
|
|
set_exit_overload()
|
|
--SKIPIF--
|
|
<?php
|
|
if (!extension_loaded('test_helpers')) die('skip test_helpers extension not loaded');
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
set_exit_overload(function() { echo "FALSE\n"; return false; });
|
|
unset_exit_overload();
|
|
die("DIE");
|
|
echo "HAHA";
|
|
?>
|
|
--EXPECT--
|
|
DIE
|