Created
November 15, 2019 19:55
-
-
Save adsr/1ec85b32781910d846169a7e19e0625a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adam@asx1c6:~$ php -r 'var_dump((array)new class{ private $foo = "bar"; });' | |
array(1) { | |
["class@anonymousCommand line code0x7fc2b327e0e9foo"]=> | |
string(3) "bar" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment