mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
16 lines
339 B
PHP
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 $_) {
|
|
}
|
|
?>
|