3v4l.org

run code in 300+ PHP versions simultaneously
<?php if( "0" ) echo "nope\n"; if( "00" ) echo "wat1\n"; if( "-0" ) echo "wat2\n"; if( "0.0" ) echo "wat3\n"; if( 0 == "" ) echo "wat4\n"; if( 0 == " " ) echo "wat5\n"; if( 0 == " wat" ) echo "wat6\n"; if( 0 == "\t" ) echo "wat7\n"; if( 0 == "\r" ) echo "wat8\n"; if( 0 == "\n" ) echo "wat9\n";

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
167.11 ms | 2818 KiB | 8 Q