3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 2222.22; $b = 100; var_dump((int) $a, $a, $a*$b);

preferences:
12.52 ms | 458 KiB | 5 Q