mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
2e8db5d6be
Forgot the git add again...
20 lines
248 B
PHP
20 lines
248 B
PHP
--TEST--
|
|
exit() may occur in a call argument
|
|
--FILE--
|
|
<?php
|
|
|
|
function test($c) {
|
|
if ($c) {
|
|
var_dump(var_dump(exit("exit\n")));
|
|
} else {
|
|
var_dump("test");
|
|
}
|
|
}
|
|
test(false);
|
|
test(true);
|
|
|
|
?>
|
|
--EXPECT--
|
|
string(4) "test"
|
|
exit
|