Created
May 15, 2012 04:11
-
-
Save jcartledge/2699060 to your computer and use it in GitHub Desktop.
PHP Quine
This file contains hidden or 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 $a = '<?php $a = \'!\'; | |
echo preg_replace(\'/!/\', addslashes($a), $a, 1);'; | |
echo preg_replace('/!/', addslashes($a), $a, 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment