3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump((bool) 23, (bool) "23");

preferences:
36.95 ms | 402 KiB | 5 Q