mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
11 lines
207 B
Plaintext
11 lines
207 B
Plaintext
|
--TEST--
|
||
|
Global keyword only accepts simple variables
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
global $$foo->bar;
|
||
|
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR), expecting ',' or ';' in %s on line %d
|