1--TEST-- 2Bug #29893 (segfault when using array as index) 3--FILE-- 4<?php 5$base = 50; 6try { 7 $base[$base] -= 0; 8} catch (Error $e) { 9 echo $e->getMessage(), "\n"; 10} 11?> 12--EXPECT-- 13Cannot use a scalar value as an array 14