3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print "ssh -p ".escapeshellarg("22'\0x `ssh -p 22 root@localhost date`' "). " kgrisel@localhost uptime";
Output for 5.5.32 - 5.5.38, 5.6.18 - 5.6.28, 7.0.3 - 7.1.0
Fatal error: escapeshellarg(): Input string contains NULL bytes in /in/9fBhl on line 3
Process exited with code 255.
Output for 4.3.0 - 5.5.31, 5.6.0 - 5.6.17, 7.0.0 - 7.0.2
ssh -p '22'\''' kgrisel@localhost uptime