blob: 3a7b04c8e7ea5bd204cea824ac4c608975ed2479 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--TEST--
Literal compaction should take method calls on literals into account
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
try {
(42)->foo();
} catch (Error $e) {
echo $e->getMessage(), "\n";
}
?>
--EXPECT--
Call to a member function foo() on int
|