3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = (float) '0.002'; var_dump($foo, empty($foo),empty('0.00'));

preferences:
35.68 ms | 402 KiB | 5 Q