3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $input = hex2bin("0e3647e8592d35514a081243582536ed3de6734059001e3f535ce6271032"); $inputLength = strlen($input); $plainText = ""; for ($i=0; $i < $inputLength; $i++) { $plainText .= $input{$i} ^ dec(48); } echo $plainText; ?>
based on gBoHU
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function dec() in /in/8P9li:9 Stack trace: #0 {main} thrown in /in/8P9li on line 9
Process exited with code 255.
Output for 5.4.2 - 5.6.28
Fatal error: Call to undefined function dec() in /in/8P9li on line 9
Process exited with code 255.
Output for 5.3.18 - 5.3.29
Fatal error: Call to undefined function hex2bin() in /in/8P9li on line 3
Process exited with code 255.