1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/ext/opcache/tests/jit/gh16829_1.inc

16 lines
339 B
PHP

<?php
# inline Reproducer class definition and segfaults will go away
require_once('Reproducer.php');
# remove $someVar1\2 or $someVar3 and loop at the end of the file and segfaults will go away
$someVar2 = null;
$someVar1 = null;
$someVar3 = [];
for ($i = 0; $i < 10; $i++) {
Reproducer::loops();
}
foreach ($someVar3 as $_) {
}
?>