3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $input = trim("0x030"); if( str_split($input) == array(0,0,0,0) || strcmp($input, "0000") == 0 || strcmp($input, "000") == 0 || strcmp($input, "00") == 0 || strcmp($input, "0") == 0 || $input === 0 || preg_match("/^[\d]{1,}$/D", $input) )print("FAIL"); if($input == "0000") print("SUCCESS"); print(chr($input)); ?>
based on KKVUo
Output for 7.0.0 - 7.2.0
Notice: A non well formed numeric value encountered in /in/ZolDW on line 15
Output for 5.3.17 - 5.6.28
0