1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 18:23:26 +02:00
Files
archived-php-src/ext/opcache/tests/exit_in_call_arg.phpt
T
Max Semenik e9f783fcdd Migrate skip checks to --EXTENSIONS--, p3
For rationale, see #6787

Extensions migrated in part 3:
* ftp
* gmp
* iconv
* opcache
* shmop
2021-04-03 15:23:25 +02:00

22 lines
271 B
PHP

--TEST--
exit() may occur in a call argument
--EXTENSIONS--
opcache
--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