3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = array('1',2','3'); echo implode(',',$test);

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.390.0200.05318.46
5.4.380.0170.05718.60
5.4.370.0170.05318.74
5.4.360.0130.06018.47
5.4.350.0100.06718.62
5.4.340.0170.05718.53
5.4.320.0200.06718.52
5.4.310.0230.04718.54
5.4.300.0370.06018.79
5.4.290.0230.04718.72
5.4.280.0230.05018.84
5.4.270.0300.05018.58
5.4.260.0200.05318.80
5.4.250.0230.06018.57
5.4.240.0130.06718.78
5.4.230.0230.04718.77
5.4.220.0100.06318.70
5.4.210.0270.04318.77
5.4.200.0170.05316.63
5.4.190.0200.06018.73
5.4.180.0200.05018.57
5.4.170.0270.05018.68
5.4.160.0100.06318.67
5.4.150.0200.05718.72
5.4.140.0300.04716.27
5.4.130.0270.04716.25
5.4.120.0300.04316.17
5.4.110.0270.04716.43
5.4.100.0200.06016.21
5.4.90.0230.05716.30
5.4.80.0100.05716.15
5.4.70.0170.05316.28
5.4.60.0170.05316.18
5.4.50.0300.04016.39
5.4.40.0230.05716.41
5.4.30.0230.04316.37
5.4.20.0230.07316.27
5.4.10.0300.03716.41
5.4.00.0300.03715.86
5.3.290.0230.06314.63
5.3.280.0230.06014.57
5.3.270.0100.06314.59
5.3.260.0200.05314.67
5.3.250.0230.04714.56
5.3.240.0270.04314.50
5.3.230.0070.06014.55
5.3.220.0230.04714.62
5.3.210.0200.05314.66
5.3.200.0130.05314.57
5.3.190.0130.05714.48
5.3.180.0130.05714.48
5.3.170.0270.04714.48
5.3.160.0170.05714.59
5.3.150.0270.04014.52
5.3.140.0170.05014.55
5.3.130.0230.04714.52
5.3.120.0200.05314.58
5.3.110.0200.05314.50
5.3.100.0230.04314.13
5.3.90.0170.05013.95
5.3.80.0200.04714.09
5.3.70.0200.04714.11
5.3.60.0100.05713.99
5.3.50.0200.04713.88
5.3.40.0170.05014.04
5.3.30.0270.04313.87
5.3.20.0270.04313.68
5.3.10.0270.04313.73
5.3.00.0230.05313.58
5.2.170.0070.04711.11
5.2.160.0130.04311.14
5.2.150.0230.03711.18
5.2.140.0130.05311.27
5.2.130.0200.03711.14
5.2.120.0100.04311.24
5.2.110.0230.03711.05
5.2.100.0170.04011.05
5.2.90.0130.04311.14
5.2.80.0100.04711.05
5.2.70.0130.04711.09
5.2.60.0170.04711.07
5.2.50.0130.04311.02
5.2.40.0170.03311.03
5.2.30.0000.05011.03
5.2.20.0170.03310.89
5.2.10.0200.03310.96
5.2.00.0130.03710.68
5.1.60.0130.03010.05
5.1.50.0170.0309.98
5.1.40.0130.03010.11
5.1.30.0170.03010.45
5.1.20.0130.03310.41
5.1.10.0170.03010.10
5.1.00.0130.03710.13
5.0.50.0070.0308.52
5.0.40.0100.0238.46
5.0.30.0100.0408.24
5.0.20.0070.0308.39
5.0.10.0030.0338.34
5.0.00.0100.0478.26
4.4.90.0070.0205.91
4.4.80.0100.0205.91
4.4.70.0100.0175.91
4.4.60.0000.0275.88
4.4.50.0100.0205.82
4.4.40.0100.0305.86
4.4.30.0030.0235.91
4.4.20.0100.0175.92
4.4.10.0100.0175.94
4.4.00.0030.0375.93
4.3.110.0100.0175.80
4.3.100.0030.0235.80
4.3.90.0100.0175.80
4.3.80.0070.0375.79
4.3.70.0000.0275.82
4.3.60.0130.0135.79
4.3.50.0130.0205.76
4.3.40.0100.0305.74
4.3.30.0030.0234.57
4.3.20.0030.0304.57
4.3.10.0070.0234.57
4.3.00.0030.0236.83

preferences:
144.62 ms | 1394 KiB | 7 Q