Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P8832
empty property access
Active
Public
Actions
Authored by
brennen
on Jul 31 2019, 12:21 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F29915298: raw.txt
Jul 31 2019, 12:21 AM
2019-07-31 00:21:43 (UTC+0)
Subscribers
None
$ php7.2
<?php
$empty = '';
$obj->$empty = '';
Warning: Creating default object from empty value in Standard input code on line 3
$ php7.0
<?php
$empty = '';
$obj->$empty = '';
Warning: Creating default object from empty value in - on line 3
Fatal error: Uncaught Error: Cannot access empty property in -:3
Stack trace:
#0 {main}
thrown in - on line 3
Event Timeline
brennen
created this paste.
Jul 31 2019, 12:21 AM
2019-07-31 00:21:43 (UTC+0)
Log In to Comment