Created
April 2, 2015 13:24
-
-
Save hnw/d627f334d2c837d1c1fb 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
<?php | |
$eval_str='$x="chr"; $y="abc";'; | |
eval($eval_str); | |
debug_zval_dump($x); // string(3) "chr"(0x7ff06342cfb0) interned | |
debug_zval_dump($y); // string(3) "abc"(0x109a01540) interned |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment