1--TEST--
2Method call on string literal
3--FILE--
4<?php
5"string"->length();
6?>
7--EXPECTF--
8Fatal error: Uncaught Error: Call to a member function length() on string in %s:%d
9Stack trace:
10#0 {main}
11  thrown in %s on line %d
12