3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php namespace Foo; define('Foo\\null', true, true); define('Foo\\false', true, true); define("Foo\\INF", 1337, true); echo 'null:';if (null) echo "TRUE";else echo "FALSE"; echo "\nfalse:";if (false) echo "TRUE";else echo "FALSE"; echo "\ntrue:";if (true) echo "TRUE";else echo "FALSE"; $n=9821730498712083740189204398190102983704192873481720384701892703498701827034897012897340817209384701982; $n*=$n; echo "\n2^5000:".$n;