3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach(range(0,10000) as $i) { echo $i; } // 3.847 ms for($i = 0; $i < 10000; ++$i) { echo $i } // 0.663 ms

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.5.30.0130.06719.98
5.5.20.0100.07719.99
5.5.10.0030.07019.98
5.5.00.0130.07020.07
5.4.190.0100.08019.05
5.4.180.0070.06018.90
5.4.170.0070.06319.00
5.4.160.0000.07719.03
5.4.150.0070.06319.01
5.4.140.0070.07016.48
5.4.130.0030.06316.41
5.4.120.0030.05316.24
5.4.110.0070.06316.36
5.4.100.0030.07316.39
5.4.90.0030.07316.51
5.4.80.0030.06316.46
5.4.70.0130.06316.38
5.4.60.0030.07016.34
5.4.50.0100.03316.52
5.4.40.0030.07716.54
5.4.30.0030.06016.36
5.4.20.0070.06316.34
5.4.10.0100.06016.18
5.4.00.0070.07015.77
5.3.270.0030.07714.55
5.3.260.0100.07314.55
5.3.250.0070.06714.57
5.3.240.0070.05714.56
5.3.230.0070.07714.44
5.3.220.0100.03314.55
5.3.210.0000.08014.39
5.3.200.0030.06714.50
5.3.190.0000.07714.53
5.3.180.0000.07714.49
5.3.170.0030.07714.55
5.3.160.0030.06014.55
5.3.150.0000.07714.55
5.3.140.0030.06714.51
5.3.130.0070.07714.45
5.3.120.0000.07714.50
5.3.110.0030.07714.52
5.3.100.0030.07013.99
5.3.90.0070.07014.00
5.3.80.0030.06013.99
5.3.70.0070.07013.95
5.3.60.0070.07013.98
5.3.50.0030.06713.79
5.3.40.0030.06713.88
5.3.30.0070.07013.88
5.3.20.0000.07713.59
5.3.10.0000.07713.55
5.3.00.0000.06313.60

preferences:
146.96 ms | 1394 KiB | 7 Q