3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr1 = ['test1'=>'a','test2'=>'b']; echo $arr1

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.0170.04318.85
5.4.260.0030.06018.66
5.4.250.0170.06018.98
5.4.240.0030.08318.76
5.4.230.0200.04318.60
5.4.220.0170.06018.61
5.4.210.0200.04018.82
5.4.200.0100.07018.75
5.4.190.0200.04318.86
5.4.180.0170.06318.79
5.4.170.0170.05018.70
5.4.160.0070.05318.79
5.4.150.0170.06718.73
5.4.140.0130.04716.30
5.4.130.0170.04016.30
5.4.120.0200.04316.27
5.4.110.0200.06716.21
5.4.100.0030.06016.48
5.4.90.0130.05716.27
5.4.80.0130.05716.25
5.4.70.0200.06016.27
5.4.60.0070.07316.46
5.4.50.0200.04316.22
5.4.40.0000.07016.50
5.4.30.0200.05716.46
5.4.20.0230.05716.17
5.4.10.0130.06016.46
5.4.00.0130.07015.70
5.3.280.0070.05314.43
5.3.270.0070.07314.52
5.3.260.0030.06714.76
5.3.250.0130.07314.76
5.3.240.0170.05014.63
5.3.230.0100.05314.47
5.3.220.0070.05714.44
5.3.210.0230.07014.59
5.3.200.0070.06314.27
5.3.190.0030.06014.72
5.3.180.0130.06314.57
5.3.170.0100.05014.56
5.3.160.0030.07714.26
5.3.150.0130.07014.27
5.3.140.0130.06314.60
5.3.130.0100.06714.43
5.3.120.0130.06714.25
5.3.110.0170.05314.40
5.3.100.0030.05313.92
5.3.90.0070.05314.02
5.3.80.0100.04714.03
5.3.70.0030.06714.11
5.3.60.0030.05713.92
5.3.50.0130.04313.95
5.3.40.0170.05714.09
5.3.30.0070.07313.61
5.3.20.0170.05713.64
5.3.10.0130.04313.66
5.3.00.0100.05713.64
5.2.170.0070.04011.14
5.2.160.0100.03711.02
5.2.150.0030.04311.16
5.2.140.0000.04711.15
5.2.130.0030.04711.11
5.2.120.0070.03711.19
5.2.110.0030.05710.86
5.2.100.0030.04011.03
5.2.90.0030.04011.10
5.2.80.0070.04711.01
5.2.70.0070.04310.92
5.2.60.0100.05711.07
5.2.50.0100.05710.92
5.2.40.0100.05011.00
5.2.30.0100.06010.98
5.2.20.0030.05311.05
5.2.10.0100.03710.94
5.2.00.0130.03310.55
5.1.60.0070.03310.02
5.1.50.0100.0379.76
5.1.40.0070.04310.21
5.1.30.0070.05010.41
5.1.20.0170.04710.27
5.1.10.0100.04310.26
5.1.00.0100.0409.97
5.0.50.0100.0338.74
5.0.40.0030.0378.46
5.0.30.0030.0538.13
5.0.20.0030.0278.25
5.0.10.0070.0378.22
5.0.00.0030.0578.24
4.4.90.0000.0337.47
4.4.80.0100.0277.47
4.4.70.0000.0277.47
4.4.60.0030.0277.46
4.4.50.0030.0237.46
4.4.40.0070.0377.47
4.4.30.0070.0307.47
4.4.20.0000.0377.47
4.4.10.0030.0237.47
4.4.00.0030.0477.47
4.3.110.0030.0307.47
4.3.100.0030.0207.47
4.3.90.0000.0237.47
4.3.80.0030.0377.47
4.3.70.0030.0277.47
4.3.60.0030.0277.47
4.3.50.0100.0207.47
4.3.40.0000.0407.47
4.3.30.0030.0237.47
4.3.20.0030.0277.47
4.3.10.0000.0237.47
4.3.00.0170.01013.33

preferences:
140.02 ms | 1398 KiB | 7 Q