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