Created
October 27, 2011 15:34
-
-
Save davidjmemmett/1319910 to your computer and use it in GitHub Desktop.
Can't believe PHP lets you do this...
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
<?php | |
$foo = 'This, yes, is insane...'; | |
${$foo} = 1; | |
${'This gets worse...'} = 1; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment