3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 5.00; $b = -1'776'356'839'400'300.00; $c = $a - $b; var_dump($c);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.50.0090.04212.00
5.4.40.0140.04711.99
5.4.30.0100.04111.99
5.4.20.0090.04311.98
5.4.10.0100.04211.99
5.4.00.0100.04311.48
5.3.150.0100.04612.67
5.3.140.0130.04212.66
5.3.130.0110.04512.66
5.3.120.0110.04512.66
5.3.110.0090.04312.66
5.3.100.0110.04812.12
5.3.90.0090.03912.08
5.3.80.0100.03812.08
5.3.70.0080.04312.07
5.3.60.0090.04412.06
5.3.50.0170.05612.00
5.3.40.0100.04712.00
5.3.30.0100.04511.95
5.3.20.0090.04211.72
5.3.10.0100.03711.70
5.3.00.0100.03811.68

preferences:
142.87 ms | 1394 KiB | 7 Q