Skip to content

Commit 2e8db5d

Browse files
committed
Add test file
Forgot the git add again...
1 parent 34f1266 commit 2e8db5d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
--TEST--
2+
exit() may occur in a call argument
3+
--FILE--
4+
<?php
5+
6+
function test($c) {
7+
if ($c) {
8+
var_dump(var_dump(exit("exit\n")));
9+
} else {
10+
var_dump("test");
11+
}
12+
}
13+
test(false);
14+
test(true);
15+
16+
?>
17+
--EXPECT--
18+
string(4) "test"
19+
exit

0 commit comments

Comments
 (0)