1--TEST-- 2Bug #43128 (Very long class name causes segfault) 3--INI-- 4memory_limit=128000000 5--FILE-- 6<?php 7 8$a = str_repeat("a", 10 * 1024 * 1024); 9 10eval("class $a {}"); 11 12# call_user_func($a); // Warning 13# $a->$a(); // Fatal error 14 15if ($a instanceof $a); // Segmentation fault 16new $a; // Segmentation fault 17echo "ok\n"; 18?> 19--EXPECT-- 20ok 21