1<?php 2# inline Reproducer class definition and segfaults will go away 3require_once(__DIR__ . '/gh16829_2.inc'); 4 5# remove $someVar1\2 or $someVar3 and loop at the end of the file and segfaults will go away 6$someVar2 = null; 7$someVar1 = null; 8$someVar3 = []; 9 10for ($i = 0; $i < 10; $i++) { 11 Reproducer::loops(); 12} 13 14foreach ($someVar3 as $_) { 15} 16?>