summaryrefslogtreecommitdiff
path: root/ext/opcache/tests/bug70237.phpt
blob: 6bd0318f0b4faaab877491f41e6dc3950d40cd0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--TEST--
Bug #70237 (Empty while and do-while segmentation fault with opcode on CLI enabled)
--INI--
opcache.enable=1
opcache.enable_cli=1
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php


function neverUsed() {
    $bool = false;
    while ($bool) { };
    //do { } while ($bool);
}
?>
okey
--EXPECT--
okey