3v4l.org

run code in 300+ PHP versions simultaneously
<?php $thing=array( array( name => "arthur", id => "1", blah => 1.0 ), array( name => "bob", id => "2", blah => 3.0 ) ); print_R($thing); ?>

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)
8.3.60.0100.00718.28
8.3.50.0130.00416.34
8.3.40.0070.00718.93
8.3.30.0120.00318.88
8.3.20.0070.00019.11
8.3.10.0040.00421.74
8.3.00.0050.00323.65
8.2.180.0120.00918.29
8.2.170.0070.00722.96
8.2.160.0070.00719.07
8.2.150.0020.00524.18
8.2.140.0030.00624.66
8.2.130.0040.00419.82
8.2.120.0080.00026.35
8.2.110.0030.00621.04
8.2.100.0080.00417.72
8.2.90.0000.00918.03
8.2.80.0030.00617.97
8.2.70.0000.00818.05
8.2.60.0000.00817.68
8.2.50.0040.00418.10
8.2.40.0000.00819.41
8.2.30.0040.00419.14
8.2.20.0040.00417.98
8.2.10.0060.00318.12
8.2.00.0070.00019.54
8.1.280.0110.00325.92
8.1.270.0040.00422.03
8.1.260.0070.00026.35
8.1.250.0090.00028.09
8.1.240.0030.00622.53
8.1.230.0070.00320.95
8.1.220.0050.00317.74
8.1.210.0040.00418.89
8.1.200.0040.00417.35
8.1.190.0080.00017.23
8.1.180.0030.00518.10
8.1.170.0050.00318.73
8.1.160.0030.00518.89
8.1.150.0070.00018.82
8.1.140.0040.00417.57
8.1.130.0000.00718.75
8.1.120.0040.00417.46
8.1.110.0030.00617.45
8.1.100.0040.00417.43
8.1.90.0060.00317.43
8.1.80.0000.00717.38
8.1.70.0000.00717.39
8.1.60.0060.00317.38
8.1.50.0040.00417.36
8.1.40.0080.00017.43
8.1.30.0050.00317.60
8.1.20.0040.00417.52
8.1.10.0050.00317.57
8.1.00.0000.00817.47
8.0.300.0000.00719.89
8.0.290.0000.00716.63
8.0.280.0030.00318.52
8.0.270.0030.00317.18
8.0.260.0000.00718.45
8.0.250.0030.00317.09
8.0.240.0000.00717.10
8.0.230.0050.00216.98
8.0.220.0040.00416.96
8.0.210.0030.00316.96
8.0.200.0000.00717.02
8.0.190.0060.00317.08
8.0.180.0000.00716.94
8.0.170.0040.00416.91
8.0.160.0070.00017.02
8.0.150.0040.00816.99
8.0.140.0030.00316.98
8.0.130.0030.00313.36
8.0.120.0060.00316.85
8.0.110.0040.00416.94
8.0.100.0030.00516.75
8.0.90.0070.00016.88
8.0.80.0090.00916.93
8.0.70.0040.00416.83
8.0.60.0050.00216.99
8.0.50.0030.00516.81
8.0.30.0070.01117.15
8.0.20.0110.00917.40
8.0.10.0040.00417.00
8.0.00.0120.01016.81
7.4.330.0000.00615.55
7.4.320.0030.00316.60
7.4.300.0040.00416.51
7.4.290.0030.00316.53
7.4.280.0040.00416.52
7.4.270.0000.00616.37
7.4.260.0060.00316.43
7.4.250.0030.00316.46
7.4.240.0040.00416.51
7.4.230.0000.00716.57
7.4.220.0080.00016.35
7.4.210.0090.00816.54
7.4.200.0000.00816.58
7.4.160.0090.00816.44
7.4.140.0080.01017.86
7.4.130.0160.00816.61
7.4.120.0060.01116.58
7.4.110.0070.01016.55
7.4.100.0080.00816.48
7.4.90.0080.01516.63
7.4.80.0090.01019.39
7.4.70.0120.00416.35
7.4.60.0110.00816.66
7.4.50.0060.00916.52
7.4.40.0160.00816.54
7.4.00.0000.01314.88
7.3.330.0050.00013.02
7.3.320.0000.00613.06
7.3.310.0000.00716.35
7.3.300.0030.00316.26
7.3.290.0030.00316.30
7.3.280.0040.01116.21
7.3.260.0050.01416.34
7.3.240.0100.00916.46
7.3.230.0120.00916.40
7.3.210.0070.01316.21
7.3.200.0060.01016.45
7.3.190.0160.00016.46
7.3.180.0080.00816.36
7.3.170.0100.00616.35
7.3.160.0140.00316.36
7.3.10.0120.00716.30
7.3.00.0120.00416.43
7.2.330.0150.01116.67
7.2.320.0100.00716.36
7.2.310.0140.00616.66
7.2.300.0110.00716.65
7.2.290.0110.00816.67
7.2.130.0030.01116.55
7.2.120.0070.00616.68
7.2.110.0070.00916.56
7.2.100.0070.01016.67
7.2.90.0060.00716.83
7.2.80.0110.00316.75
7.2.70.0050.00816.79
7.2.60.0090.00716.83
7.2.50.0060.00816.65
7.2.40.0060.00816.74
7.2.30.0090.00516.75
7.2.20.0090.00716.75
7.2.10.0090.00616.78
7.2.00.0080.00816.75
7.1.250.0070.00515.42
7.1.240.0030.01015.41
7.1.230.0060.00615.82
7.1.220.0030.00915.71
7.1.210.0090.00615.66
7.1.200.0050.00615.49
7.1.190.0000.01415.63
7.1.180.0000.00915.63
7.1.170.0090.00515.43
7.1.160.0050.01015.44
7.1.150.0050.01015.70
7.1.140.0030.01115.64
7.1.130.0070.00515.57
7.1.120.0090.00415.63
7.1.110.0060.00715.48
7.1.100.0080.00915.70
7.1.90.0090.00615.60
7.1.80.0030.00815.83
7.1.70.0020.01015.64
7.1.60.0090.01224.61
7.1.50.0160.00524.73
7.1.40.0200.00824.70
7.1.30.0140.00924.60
7.1.20.0140.00624.57
7.1.10.0080.00715.58
7.1.00.0100.00515.57
7.0.330.0030.00915.13
5.6.380.0060.00914.16

preferences:
60.11 ms | 401 KiB | 5 Q