3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array[]; // in case there is an error $array["error"][] = "new error message as element 0 of $array['error']"; print_r($array);

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.6.120.0070.03721.05
5.6.110.0000.04720.98
5.6.100.0130.07320.85
5.6.90.0200.07320.99
5.6.80.0070.08020.56
5.5.280.0030.04720.73
5.5.270.0130.07020.68
5.5.260.0000.07020.72
5.5.250.0100.07020.56
5.5.240.0070.07720.18
5.4.440.0200.04319.42
5.4.430.0330.07319.40
5.4.420.0300.07719.45
5.4.410.0300.07019.14
5.4.400.0230.03719.09
5.4.390.0300.05019.23
5.4.380.0330.07719.16
5.4.370.0130.04719.05
5.4.360.0300.07319.16
5.4.350.0300.07319.16
5.4.340.0270.07718.86
5.4.320.0230.05719.15
5.4.310.0270.05318.86
5.4.300.0400.06019.23
5.4.290.0430.06018.87
5.4.280.0270.05018.87
5.4.270.0370.06719.08
5.4.260.0330.06719.22
5.4.250.0270.03719.24
5.4.240.0300.06319.08
5.4.230.0330.06719.05
5.4.220.0270.05719.08
5.4.210.0300.03718.98
5.4.200.0270.03319.08
5.4.190.0300.04718.84
5.4.180.0370.05319.08
5.4.170.0230.04719.05
5.4.160.0300.04718.83
5.4.150.0370.04019.29
5.4.140.0330.05016.52
5.4.130.0300.06716.50
5.4.120.0270.07316.50
5.4.110.0270.07016.37
5.4.100.0400.04716.26
5.4.90.0270.04316.35
5.4.80.0370.06016.43
5.4.70.0300.07016.56
5.4.60.0330.06316.50
5.4.50.0270.07016.53
5.4.40.0300.04316.56
5.4.30.0300.05016.48
5.4.20.0300.05316.34
5.4.10.0370.04016.52
5.4.00.0330.05716.11
5.3.290.0370.05014.61
5.3.280.0300.04714.58
5.3.270.0230.06014.70
5.3.260.0330.07314.59
5.3.250.0300.06714.56
5.3.240.0330.04714.48
5.3.230.0230.04314.46
5.3.220.0300.07014.61
5.3.210.0270.07714.47
5.3.200.0270.06714.41
5.3.190.0300.07314.41
5.3.180.0300.04714.44
5.3.170.0270.07714.59
5.3.160.0300.03714.40
5.3.150.0270.07714.61
5.3.140.0300.05714.50
5.3.130.0270.07714.50
5.3.120.0330.06714.41
5.3.110.0270.05314.48
5.3.100.0370.04713.87
5.3.90.0300.07313.97
5.3.80.0270.07713.85
5.3.70.0300.06313.92
5.3.60.0270.06313.84
5.3.50.0300.06713.88
5.3.40.0370.06013.75
5.3.30.0270.05313.85
5.3.20.0370.06013.79
5.3.10.0270.06013.60
5.3.00.0230.04013.58
5.2.170.0270.05312.09
5.2.160.0300.05712.09
5.2.150.0200.05012.09
5.2.140.0270.06012.09
5.2.130.0200.05312.09
5.2.120.0230.04712.09
5.2.110.0230.04312.09
5.2.100.0270.05312.09
5.2.90.0270.05012.09
5.2.80.0230.06012.09
5.2.70.0270.05012.09
5.2.60.0230.06012.09
5.2.50.0230.06312.09
5.2.40.0230.05712.09
5.2.30.0230.05312.09
5.2.20.0270.05012.09
5.2.10.0200.06012.09
5.2.00.0170.06012.09
5.1.60.0270.02712.09
5.1.50.0270.04712.09
5.1.40.0330.03712.09
5.1.30.0200.05312.09
5.1.20.0200.04712.09
5.1.10.0270.04012.09
5.1.00.0230.04712.09
5.0.50.0100.04312.09
5.0.40.0130.03712.09
5.0.30.0170.04312.09
5.0.20.0070.04012.09
5.0.10.0070.04012.09
5.0.00.0100.06312.09
4.4.90.0100.02312.09
4.4.80.0130.03012.09
4.4.70.0130.03712.09
4.4.60.0100.03012.09
4.4.50.0130.02712.09
4.4.40.0130.04312.09
4.4.30.0100.03312.09
4.4.20.0130.03312.09
4.4.10.0130.03312.09
4.4.00.0130.04312.09
4.3.110.0100.02712.09
4.3.100.0100.03712.09
4.3.90.0130.03012.09
4.3.80.0070.05312.09
4.3.70.0130.03312.09
4.3.60.0100.03312.09
4.3.50.0070.02712.09
4.3.40.0100.04012.09
4.3.30.0100.03312.09
4.3.20.0070.03012.09
4.3.10.0100.03312.09
4.3.00.0070.02312.09

preferences:
154.45 ms | 1398 KiB | 7 Q