1--TEST--
2Cannot take property of a string
3--FILE--
4<?php
5
6"foo"->bar;
7
8?>
9--EXPECTF--
10Notice: Trying to get property 'bar' of non-object in %s on line %d
11