3v4l.org

run code in 300+ PHP versions simultaneously
<?php arr= ["test"=>"test", "test2"=>"test2"]; echo "Testing $arr";

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.80.0030.05020.51
5.5.240.0200.04320.19
5.4.400.0400.07718.87
5.4.390.0430.06718.46
5.4.380.0400.07718.59
5.4.370.0470.05018.72
5.4.360.0370.05018.69
5.4.350.0300.06018.70
5.4.340.0400.06018.51
5.4.320.0470.05718.74
5.4.310.0400.05018.73
5.4.300.0400.06718.46
5.4.290.0500.07318.59
5.4.280.0200.06318.73
5.4.270.0500.04718.74
5.4.260.0300.05718.57
5.4.250.0370.05318.45
5.4.240.0370.05018.50
5.4.230.0430.06718.60
5.4.220.0500.07318.50
5.4.210.0370.08018.61
5.4.200.0370.05016.55
5.4.190.0330.05318.77
5.4.180.0400.06018.54
5.4.170.0370.07318.70
5.4.160.0470.07318.48
5.4.150.0530.05718.75
5.4.140.0370.05316.30
5.4.130.0330.05716.42
5.4.120.0300.06016.42
5.4.110.0270.05716.20
5.4.100.0370.05316.26
5.4.90.0330.04716.23
5.4.80.0300.04316.25
5.4.70.0470.04716.23
5.4.60.0330.05316.24
5.4.50.0300.05316.29
5.4.40.0370.05716.16
5.4.30.0200.06316.17
5.4.20.0470.05316.31
5.4.10.0300.05316.25
5.4.00.0330.05015.76
5.3.290.0430.05014.76
5.3.280.0470.06314.50
5.3.270.0400.06014.59
5.3.260.0530.05014.57
5.3.250.0370.06014.52
5.3.240.0400.04714.64
5.3.230.0430.04314.60
5.3.220.0370.06314.55
5.3.210.0400.05714.50
5.3.200.0400.05314.57
5.3.190.0500.05714.52
5.3.180.0630.06014.54
5.3.170.0570.06314.65
5.3.160.0530.05714.51
5.3.150.0270.06314.62
5.3.140.0530.06314.53
5.3.130.0300.06714.65
5.3.120.0370.05714.55
5.3.110.0500.03714.64
5.3.100.0230.05714.04
5.3.90.0270.06013.92
5.3.80.0370.05013.93
5.3.70.0370.04713.95
5.3.60.0300.05313.96
5.3.50.0300.06013.89
5.3.40.0230.06014.06
5.3.30.0430.04014.02
5.3.20.0300.05313.68
5.3.10.0230.05713.63
5.3.00.0300.06313.66
5.2.170.0200.04711.11
5.2.160.0070.04311.08
5.2.150.0170.04711.18
5.2.140.0370.04711.09
5.2.130.0400.05011.16
5.2.120.0300.04011.07
5.2.110.0230.04311.15
5.2.100.0270.04311.16
5.2.90.0230.05011.25
5.2.80.0470.04011.09
5.2.70.0170.05011.01
5.2.60.0170.05011.20
5.2.50.0130.05310.99
5.2.40.0430.03710.91
5.2.30.0200.05011.00
5.2.20.0230.05310.99
5.2.10.0330.04710.86
5.2.00.0300.05010.72
5.1.60.0200.0379.97
5.1.50.0270.03010.09
5.1.40.0330.0309.96
5.1.30.0130.04310.45
5.1.20.0230.03310.37
5.1.10.0130.04310.10
5.1.00.0200.04010.09
5.0.50.0170.0278.62
5.0.40.0130.0308.52
5.0.30.0230.0438.34
5.0.20.0100.0308.17
5.0.10.0030.0378.24
5.0.00.0230.0438.17
4.4.90.0100.0275.89
4.4.80.0170.0175.90
4.4.70.0170.0205.85
4.4.60.0070.0335.87
4.4.50.0130.0205.86
4.4.40.0130.0335.81
4.4.30.0100.0275.89
4.4.20.0100.0235.96
4.4.10.0070.0235.98
4.4.00.0100.0335.91
4.3.110.0130.0235.80
4.3.100.0100.0235.83
4.3.90.0170.0275.82
4.3.80.0000.0405.87
4.3.70.0030.0275.81
4.3.60.0170.0235.87
4.3.50.0100.0235.80
4.3.40.0000.0435.84
4.3.30.0030.0274.64
4.3.20.0070.0234.54
4.3.10.0070.0234.52
4.3.00.0100.0236.74

preferences:
129.09 ms | 1398 KiB | 7 Q