3v4l.org

run code in 300+ PHP versions simultaneously
<?php $order = array('ACO', 'ZCO', 'Other'); function compare($a, $b) { $ai = array_search($a, $order); $bi = array_search($b, $order); return $a<$b ? -1 : $a>$b; } $a = array('ZCO'=>.., 'Other'=>..., 'ACO'=>...); uksort($a, compare);

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.270.0100.05018.80
5.4.260.0070.05718.91
5.4.250.0070.05718.96
5.4.240.0100.05718.91
5.4.230.0100.07318.66
5.4.220.0170.04318.95
5.4.210.0100.05018.98
5.4.200.0100.05319.10
5.4.190.0100.05318.75
5.4.180.0100.05318.80
5.4.170.0200.06318.79
5.4.160.0070.05318.63
5.4.150.0070.07718.78
5.4.140.0170.04316.59
5.4.130.0070.05016.46
5.4.120.0070.05716.28
5.4.110.0030.05316.34
5.4.100.0000.05316.39
5.4.90.0170.03716.48
5.4.80.0130.05016.64
5.4.70.0170.05316.41
5.4.60.0070.08016.57
5.4.50.0070.05016.43
5.4.40.0070.04716.52
5.4.30.0130.06016.38
5.4.20.0130.04016.54
5.4.10.0100.05016.36
5.4.00.0070.05016.03
5.3.280.0100.05314.58
5.3.270.0030.05714.58
5.3.260.0170.04714.70
5.3.250.0170.04014.68
5.3.240.0170.05014.51
5.3.230.0130.05314.69
5.3.220.0130.05714.66
5.3.210.0130.06714.65
5.3.200.0230.04314.65
5.3.190.0070.05014.58
5.3.180.0100.04714.72
5.3.170.0070.07014.64
5.3.160.0030.06014.64
5.3.150.0070.05014.70
5.3.140.0130.06014.45
5.3.130.0100.05314.53
5.3.120.0100.05014.72
5.3.110.0070.06314.63
5.3.100.0170.04014.12
5.3.90.0070.04714.00
5.3.80.0100.05014.20
5.3.70.0000.05314.18
5.3.60.0030.06014.18
5.3.50.0100.05714.02
5.3.40.0100.04714.17
5.3.30.0130.06014.10
5.3.20.0170.05713.77
5.3.10.0170.06013.66
5.3.00.0070.05013.71
5.2.170.0100.04711.32
5.2.160.0100.05011.13
5.2.150.0030.04311.22
5.2.140.0070.04011.21
5.2.130.0070.04011.18
5.2.120.0100.05011.27
5.2.110.0030.04011.18
5.2.100.0070.03711.18
5.2.90.0070.03711.05
5.2.80.0070.04010.91
5.2.70.0070.05711.19
5.2.60.0070.04311.13
5.2.50.0100.05011.11
5.2.40.0030.04011.00
5.2.30.0070.06010.94
5.2.20.0030.05310.78
5.2.10.0030.04010.93
5.2.00.0100.05010.62
5.1.60.0070.03310.09
5.1.50.0070.04710.02
5.1.40.0070.03310.04
5.1.30.0170.05710.23
5.1.20.0170.04310.45
5.1.10.0070.0379.90
5.1.00.0170.03310.13
5.0.50.0030.0278.61
5.0.40.0070.0338.41
5.0.30.0100.0508.32
5.0.20.0070.0308.34
5.0.10.0070.0238.23
5.0.00.0070.0378.14
4.4.90.0030.0206.98
4.4.80.0000.0306.98
4.4.70.0030.0306.98
4.4.60.0070.0176.98
4.4.50.0030.0206.98
4.4.40.0000.0376.98
4.4.30.0000.0236.98
4.4.20.0070.0206.98
4.4.10.0000.0236.98
4.4.00.0030.0436.98
4.3.110.0030.0236.98
4.3.100.0000.0236.98
4.3.90.0000.0236.98
4.3.80.0000.0336.98
4.3.70.0100.0176.98
4.3.60.0000.0236.98
4.3.50.0030.0206.98
4.3.40.0000.0376.98
4.3.30.0100.0206.98
4.3.20.0000.0276.98
4.3.10.0000.0236.98
4.3.00.0070.0176.95

preferences:
143.36 ms | 1394 KiB | 7 Q