mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00

RFC: https://wiki.php.net/rfc/property-hooks Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
6 lines
232 B
PHP
6 lines
232 B
PHP
--TEST--
|
|
Alternative offset syntax should emit only E_COMPILE_ERROR in string interpolation
|
|
--FILE--
|
|
<?php "{$g{'h'}}"; ?>
|
|
--EXPECTF--
|
|
Parse error: syntax error, unexpected token "{", expecting "->" or "?->" or "[" in %s on line %d
|