--TEST-- Exceptions on improper access to string --FILE-- getMessage() . " in " , $e->getFile() . " on line " . $e->getLine() . "\n"; } $s[] = "D"; ?> --EXPECTF-- Exception: [] operator not supported for strings in %s Fatal error: Uncaught Error: [] operator not supported for strings %s Stack trace: #0 {main} thrown in %s