3v4l.org

run code in 300+ PHP versions simultaneously
<?php $product['priceUSD'] = '19.99'; printf('%04d', bcmul($product['priceUSD'], 100));
Output for 7.4.0 - 7.4.32, 8.0.1 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.19, 8.3.0 - 8.3.7
1999
Output for 7.4.33
Fatal error: Uncaught Error: Call to undefined function bcmul() in /in/loMY6:4 Stack trace: #0 {main} thrown in /in/loMY6 on line 4
Process exited with code 255.

preferences:
106.4 ms | 401 KiB | 123 Q