1--TEST-- 2Symtable cache slots may be acquired while cleaning symtable 3--FILE-- 4<?php 5class A { 6 // Must be larger than the symtable cache. 7 static $max = 40; 8 function __destruct() { 9 if (self::$max-- < 0) return; 10 $x = 'y'; 11 $$x = new a; 12 } 13} 14new A; 15 16?> 17===DONE=== 18--EXPECT-- 19===DONE=== 20