3v4l.org

run code in 300+ PHP versions simultaneously
<?php // No initialisation of $optionsbyuser or sub-arrays! $optionsbyuser[1][] = 2; $optionsbyuser[1][] = 3; print_r($optionsbyuser);

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.01018.18
8.3.50.0070.01118.12
8.3.40.0090.00918.67
8.3.30.0100.00718.63
8.3.20.0040.00420.07
8.3.10.0040.00421.71
8.3.00.0000.00819.38
8.2.180.0170.00316.38
8.2.170.0130.00322.96
8.2.160.0030.01020.52
8.2.150.0000.00824.18
8.2.140.0000.00924.66
8.2.130.0070.00026.16
8.2.120.0080.00021.19
8.2.110.0040.00420.47
8.2.100.0090.00317.72
8.2.90.0030.00519.23
8.2.80.0050.00317.97
8.2.70.0030.00617.50
8.2.60.0040.00417.92
8.2.50.0060.00318.10
8.2.40.0050.00320.57
8.2.30.0040.00419.10
8.2.20.0070.00017.61
8.2.10.0070.00017.91
8.2.00.0050.00318.03
8.1.280.0090.00625.92
8.1.270.0080.00023.84
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0090.00321.98
8.1.230.0050.00520.75
8.1.220.0080.00017.74
8.1.210.0060.00318.77
8.1.200.0100.00017.22
8.1.190.0000.00817.10
8.1.180.0040.00418.10
8.1.170.0040.00418.59
8.1.160.0030.00622.13
8.1.150.0000.00718.81
8.1.140.0030.00519.38
8.1.130.0030.00317.63
8.1.120.0080.00017.41
8.1.110.0060.00317.42
8.1.100.0040.00717.38
8.1.90.0020.00517.25
8.1.80.0000.00717.38
8.1.70.0040.00417.29
8.1.60.0040.00417.41
8.1.50.0030.00617.46
8.1.40.0000.00717.43
8.1.30.0060.00317.60
8.1.20.0040.00417.57
8.1.10.0060.00317.35
8.1.00.0080.00017.39
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0000.00718.30
8.0.270.0030.00317.23
8.0.260.0060.00017.17
8.0.250.0030.00316.87
8.0.240.0000.00816.75
8.0.230.0070.00016.78
8.0.220.0000.00716.80
8.0.210.0040.00416.65
8.0.200.0030.00316.80
8.0.190.0070.00016.79
8.0.180.0050.00316.84
8.0.170.0080.00016.91
8.0.160.0030.00316.84
8.0.150.0040.00416.75
8.0.140.0040.00716.82
8.0.130.0060.00013.33
8.0.120.0030.00616.69
8.0.110.0000.00716.66
8.0.100.0000.00716.65
8.0.90.0030.00416.93
8.0.80.0030.01316.83
8.0.70.0040.00416.67
8.0.60.0040.00416.88
8.0.50.0000.00816.84
8.0.30.0080.01016.82
8.0.20.0120.00717.40
8.0.10.0030.00316.96
8.0.00.0030.01716.70
7.4.330.0050.00015.08
7.4.320.0030.00316.42
7.4.300.0030.00316.46
7.4.290.0000.00716.38
7.4.280.0030.00616.43
7.4.270.0000.00616.27
7.4.260.0000.00716.43
7.4.250.0040.00416.43
7.4.240.0050.00216.36
7.4.230.0000.00716.41
7.4.220.0160.00816.41
7.4.210.0050.01016.36
7.4.200.0070.00016.27
7.4.160.0070.00916.47
7.4.150.0090.00917.40
7.4.140.0120.00517.86
7.4.130.0060.01316.47
7.4.120.0070.00916.26
7.4.110.0140.00316.35
7.4.100.0110.00616.33
7.4.90.0070.01116.26
7.4.80.0110.01119.39
7.4.70.0030.01316.43
7.4.60.0080.00816.27
7.4.50.0090.00316.34
7.4.40.0060.00916.22
7.4.30.0080.00816.62
7.4.00.0040.01214.86
7.3.330.0000.00513.05
7.3.320.0030.00313.00
7.3.310.0040.00416.35
7.3.300.0030.00316.21
7.3.290.0000.00716.11
7.3.280.0060.01116.26
7.3.270.0100.00717.40
7.3.260.0120.00816.31
7.3.250.0070.01316.31
7.3.240.0120.00716.44
7.3.230.0080.00816.39
7.3.210.0090.00616.35
7.3.200.0120.00616.30
7.3.190.0100.00716.39
7.3.180.0040.01216.32
7.3.170.0150.00316.39
7.3.160.0140.00716.55
7.3.120.0110.00614.91
7.3.110.0020.01614.63
7.3.100.0080.00914.64
7.3.90.0070.00614.76
7.3.80.0090.00514.85
7.3.70.0060.00414.69
7.3.60.0060.00814.64
7.3.50.0070.00614.72
7.3.40.0050.00914.63
7.3.30.0070.00314.78
7.3.20.0080.00716.68
7.3.10.0060.00616.76
7.3.00.0070.00916.65
7.2.330.0090.00916.30
7.2.320.0060.01016.54
7.2.310.0030.01316.52
7.2.300.0090.01016.68
7.2.290.0100.00716.64
7.2.250.0090.00914.59
7.2.240.0070.01214.96
7.2.230.0100.00814.87
7.2.220.0060.00915.00
7.2.210.0030.01314.85
7.2.200.0080.00514.89
7.2.190.0070.00514.96
7.2.180.0050.00814.77
7.2.170.0060.00614.65
7.2.60.0110.00316.81
7.2.00.0000.01319.14
7.1.330.0020.01215.66
7.1.320.0080.00815.78
7.1.310.0040.00815.82
7.1.300.0050.00715.53
7.1.290.0020.01115.77
7.1.280.0040.00915.55
7.1.270.0060.00515.74
7.1.260.0060.00815.79
7.1.200.0070.00715.59
7.1.70.0000.01016.96
7.1.60.0060.00619.38
7.1.00.0030.07722.43
7.0.200.0170.00014.95
7.0.80.0470.05720.04
7.0.70.0030.07319.91
7.0.60.0200.05019.94
7.0.50.0130.05720.44
7.0.40.0200.05020.35
7.0.30.0100.06320.32
7.0.20.0200.05320.28
7.0.10.0130.06020.34
7.0.00.0270.05020.29
5.6.230.0070.06320.64
5.6.220.0170.05320.80
5.6.210.0230.05020.55
5.6.200.0130.06021.09
5.6.190.0030.06721.09
5.6.180.0030.06721.09
5.6.170.0170.05321.06
5.6.160.0100.06021.01
5.6.150.0100.06021.19
5.6.140.0130.05721.07
5.6.130.0070.06321.11
5.6.120.0130.05721.00
5.6.110.0070.06321.18
5.6.100.0200.05021.14
5.6.90.0170.05321.05
5.6.80.0130.05720.54
5.6.70.0100.06020.44
5.6.60.0170.05020.42
5.6.50.0100.05320.43
5.6.40.0100.06720.42
5.6.30.0130.05020.53
5.6.20.0100.05720.39
5.6.10.0130.05320.43
5.6.00.0200.05320.40

preferences:
59.39 ms | 401 KiB | 5 Q