3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $p='abersondermixer12'; for ($i=0;$i<=strlen($p);$i++) { echo md5(substr($p,0,$i)); echo "\n"; } echo mysql_escape_string('abersonder-mixer-po3errrt3'); echo '<br>'; echo md5 (mysql_escape_string('abersonder-mixer-po3errrt3')); echo '<br>'; echo md5('abersonder-mixer-po3errrt3');
Output for 7.0.0 - 7.1.0
d41d8cd98f00b204e9800998ecf8427e 0cc175b9c0f1b6a831c399e269772661 187ef4436122d1cc2f40dc2b92f0eba0 7888d65a43501d992cc38638b59964d6 9591a1a24184bd3aa191f6d590d9c3a9 4cee281ffc0ff4d84491e5921d1c7767 0f187e0f9355ad0bbe8f66703a147215 26afbf16d2e74752c5f55136abf71e93 6276e6dc7f3f8834455dac40f0664a54 10647012f559a593abf1faf033f079a0 2ecba222b05defc9722b1b31692b339d 0c62646f871968be813973ccb7774be6 c64340aef867e5faf645a76bece3956e 5367ba34023be6b4ada86af5bebb44a7 dc6f49a2405ad4edb4c803d3d5c72298 9193aa77b0ef7693d3e9400ecd414429 ccd0b021b24cf4f99bace41ef5a09203 88da9764478c26211fe6944094b8e062 Fatal error: Uncaught Error: Call to undefined function mysql_escape_string() in /in/5YsDf:10 Stack trace: #0 {main} thrown in /in/5YsDf on line 10
Process exited with code 255.
Output for 5.2.3 - 5.6.28
d41d8cd98f00b204e9800998ecf8427e 0cc175b9c0f1b6a831c399e269772661 187ef4436122d1cc2f40dc2b92f0eba0 7888d65a43501d992cc38638b59964d6 9591a1a24184bd3aa191f6d590d9c3a9 4cee281ffc0ff4d84491e5921d1c7767 0f187e0f9355ad0bbe8f66703a147215 26afbf16d2e74752c5f55136abf71e93 6276e6dc7f3f8834455dac40f0664a54 10647012f559a593abf1faf033f079a0 2ecba222b05defc9722b1b31692b339d 0c62646f871968be813973ccb7774be6 c64340aef867e5faf645a76bece3956e 5367ba34023be6b4ada86af5bebb44a7 dc6f49a2405ad4edb4c803d3d5c72298 9193aa77b0ef7693d3e9400ecd414429 ccd0b021b24cf4f99bace41ef5a09203 88da9764478c26211fe6944094b8e062 Fatal error: Call to undefined function mysql_escape_string() in /in/5YsDf on line 10
Process exited with code 255.
Output for 5.0.0 - 5.2.2
d41d8cd98f00b204e9800998ecf8427e 0cc175b9c0f1b6a831c399e269772661 187ef4436122d1cc2f40dc2b92f0eba0 7888d65a43501d992cc38638b59964d6 9591a1a24184bd3aa191f6d590d9c3a9 4cee281ffc0ff4d84491e5921d1c7767 0f187e0f9355ad0bbe8f66703a147215 26afbf16d2e74752c5f55136abf71e93 6276e6dc7f3f8834455dac40f0664a54 10647012f559a593abf1faf033f079a0 2ecba222b05defc9722b1b31692b339d 0c62646f871968be813973ccb7774be6 c64340aef867e5faf645a76bece3956e 5367ba34023be6b4ada86af5bebb44a7 dc6f49a2405ad4edb4c803d3d5c72298 9193aa77b0ef7693d3e9400ecd414429 ccd0b021b24cf4f99bace41ef5a09203 88da9764478c26211fe6944094b8e062 <br /> <b>Fatal error</b>: Call to undefined function mysql_escape_string() in <b>/in/5YsDf</b> on line <b>10</b><br />
Process exited with code 255.
Output for 4.3.0 - 4.4.9
d41d8cd98f00b204e9800998ecf8427e 0cc175b9c0f1b6a831c399e269772661 187ef4436122d1cc2f40dc2b92f0eba0 7888d65a43501d992cc38638b59964d6 9591a1a24184bd3aa191f6d590d9c3a9 4cee281ffc0ff4d84491e5921d1c7767 0f187e0f9355ad0bbe8f66703a147215 26afbf16d2e74752c5f55136abf71e93 6276e6dc7f3f8834455dac40f0664a54 10647012f559a593abf1faf033f079a0 2ecba222b05defc9722b1b31692b339d 0c62646f871968be813973ccb7774be6 c64340aef867e5faf645a76bece3956e 5367ba34023be6b4ada86af5bebb44a7 dc6f49a2405ad4edb4c803d3d5c72298 9193aa77b0ef7693d3e9400ecd414429 ccd0b021b24cf4f99bace41ef5a09203 88da9764478c26211fe6944094b8e062 abersonder-mixer-po3errrt3<br>098cb28df331fbb08488e9a6598221f4<br>098cb28df331fbb08488e9a6598221f4