3v4l.org

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

preferences:
49.89 ms | 402 KiB | 5 Q