3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_REQUEST['token_pre_pop'] = true; $_REQUEST['ids'] = '1000';//,1002,1004'; if (isset($_REQUEST['token_pre_pop'])) { $ids = $_REQUEST['ids']; $ids = explode(",", urldecode($ids)); $ids = "'".implode("','", $ids)."'"; echo $ids[0]; // JSONed }

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.0110.00718.32
8.3.50.0140.00318.20
8.3.40.0100.00318.80
8.3.30.0040.01119.02
8.3.20.0040.00420.34
8.3.10.0040.00421.76
8.3.00.0060.00318.89
8.2.180.0040.01116.50
8.2.170.0070.01322.96
8.2.160.0130.00622.20
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00419.98
8.2.110.0060.00322.31
8.2.100.0040.00717.78
8.2.90.0050.00319.21
8.2.80.0050.00317.97
8.2.70.0030.00617.50
8.2.60.0100.00018.16
8.2.50.0100.00218.07
8.2.40.0030.00618.22
8.2.30.0060.00318.11
8.2.20.0050.00317.80
8.2.10.0000.00718.02
8.2.00.0080.00017.61
8.1.280.0150.00625.92
8.1.270.0090.00020.78
8.1.260.0070.00026.35
8.1.250.0100.00728.09
8.1.240.0100.00021.94
8.1.230.0040.00820.91
8.1.220.0000.00717.74
8.1.210.0090.00018.84
8.1.200.0050.00517.35
8.1.190.0060.00317.13
8.1.180.0030.00618.10
8.1.170.0050.00320.43
8.1.160.0000.00722.05
8.1.150.0000.00718.84
8.1.140.0040.00417.50
8.1.130.0030.00317.72
8.1.120.0040.00417.48
8.1.110.0000.00717.43
8.1.100.0050.00217.46
8.1.90.0040.00417.51
8.1.80.0040.00417.46
8.1.70.0030.00517.32
8.1.60.0030.00617.55
8.1.50.0070.00017.54
8.1.40.0000.00717.46
8.1.30.0050.00317.66
8.1.20.0000.00717.52
8.1.10.0040.00417.53
8.1.00.0020.00517.49
8.0.300.0040.00419.89
8.0.290.0040.00416.75
8.0.280.0030.00318.46
8.0.270.0070.00017.24
8.0.260.0000.00717.16
8.0.250.0060.00016.85
8.0.240.0070.00016.95
8.0.230.0030.00316.88
8.0.220.0030.00316.91
8.0.210.0040.00416.90
8.0.200.0000.00616.96
8.0.190.0050.00316.98
8.0.180.0070.00016.88
8.0.170.0000.00816.92
8.0.160.0040.00417.02
8.0.150.0040.00416.81
8.0.140.0070.00016.73
8.0.130.0060.00013.35
8.0.120.0040.00416.84
8.0.110.0000.00716.86
8.0.100.0040.00416.69
8.0.90.0040.00416.92
8.0.80.0090.01316.93
8.0.70.0040.00416.71
8.0.60.0030.00516.90
8.0.50.0000.00816.75
8.0.30.0120.01116.90
8.0.20.0140.00617.40
8.0.10.0060.00317.07
8.0.00.0070.01316.72
7.4.330.0000.00515.03
7.4.320.0030.00316.45
7.4.300.0030.00316.54
7.4.290.0000.00716.58
7.4.280.0050.00316.58
7.4.270.0030.00316.51
7.4.260.0040.00416.55
7.4.250.0000.00716.36
7.4.240.0050.00216.58
7.4.230.0000.00716.53
7.4.220.0130.00916.46
7.4.210.0100.01016.58
7.4.200.0050.00216.57
7.4.160.0150.00316.45
7.4.150.0100.00717.40
7.4.140.0070.01317.86
7.4.130.0120.00516.56
7.4.120.0080.00916.57
7.4.110.0090.01516.60
7.4.100.0160.00816.44
7.4.90.0060.01216.40
7.4.80.0090.00916.54
7.4.70.0050.01316.29
7.4.60.0060.01016.44
7.4.50.0050.00316.55
7.4.40.0120.00916.29
7.4.30.0180.00616.62
7.4.00.0160.00014.90
7.3.330.0030.00313.05
7.3.320.0040.01113.09
7.3.310.0030.00316.17
7.3.300.0070.00016.33
7.3.290.0050.00216.35
7.3.280.0150.00116.31
7.3.270.0060.01117.40
7.3.260.0130.00616.52
7.3.250.0050.01216.37
7.3.240.0090.01116.65
7.3.230.0100.01016.39
7.3.210.0060.01016.27
7.3.200.0070.01019.39
7.3.190.0090.00916.21
7.3.180.0080.00916.23
7.3.170.0120.00616.28
7.3.160.0100.01016.49
7.3.120.0090.00314.85
7.3.110.0130.00314.52
7.3.100.0060.00614.78
7.3.90.0000.01214.74
7.3.80.0040.01114.68
7.3.70.0030.00514.81
7.3.60.0060.00614.76
7.3.50.0070.00714.96
7.3.40.0050.00514.80
7.3.30.0030.01014.57
7.3.20.0070.00316.69
7.3.10.0110.00416.50
7.3.00.0030.01116.51
7.2.330.0190.00316.46
7.2.320.0120.00616.83
7.2.310.0080.01216.59
7.2.300.0150.00616.78
7.2.290.0090.00916.75
7.2.250.0070.01114.97
7.2.240.0040.01515.30
7.2.230.0030.01014.86
7.2.220.0000.01415.32
7.2.210.0000.01115.21
7.2.200.0070.00415.14
7.2.190.0030.00915.20
7.2.180.0040.00815.02
7.2.170.0100.00315.18
7.2.160.0000.00915.08
7.2.150.0080.00016.89
7.2.140.0100.00716.70
7.2.130.0050.00816.79
7.2.120.0100.00916.75
7.2.110.0110.00816.52
7.2.100.0110.00516.74
7.2.90.0100.00816.70
7.2.80.0130.00316.76
7.2.70.0060.01216.87
7.2.60.0150.00416.71
7.2.50.0140.00616.93
7.2.40.0100.00816.93
7.2.30.0110.00916.90
7.2.20.0050.01116.97
7.2.10.0080.00516.76
7.2.00.0060.00817.72
7.1.330.0040.01115.85
7.1.320.0040.00415.84
7.1.310.0100.00015.75
7.1.300.0030.00915.76
7.1.290.0030.00715.49
7.1.280.0090.00615.83
7.1.270.0000.01115.78
7.1.260.0100.00015.83
7.1.250.0100.00815.63
7.1.200.0080.00415.79
7.1.100.0030.00917.95
7.1.70.0080.00816.96
7.1.60.0090.01519.46
7.1.50.0040.01816.84
7.1.00.0030.07722.44
7.0.200.0080.00314.98
7.0.140.0030.06321.99
7.0.60.0070.06019.97
7.0.50.0030.06017.89
7.0.40.0100.06320.24
7.0.30.0270.07020.09
7.0.20.0370.07720.20
7.0.10.0130.08320.01
7.0.00.0130.05720.33
5.6.280.0030.07320.86
5.6.210.0070.08020.76
5.6.200.0000.06018.18
5.6.190.0030.05720.43
5.6.180.0600.06320.65
5.6.170.0030.05320.48
5.6.160.0070.07320.51
5.6.150.0100.05718.14
5.6.140.0130.03718.20
5.6.130.0030.04018.20
5.6.120.0170.07721.01
5.6.110.0030.09320.98
5.6.100.0070.08321.11
5.6.90.0130.08021.09
5.6.80.0130.05020.38
5.5.350.0270.07320.27
5.5.340.0070.04017.96
5.5.330.0100.05320.15
5.5.320.0130.04320.21
5.5.310.0300.04020.28
5.5.300.0130.04717.96
5.5.290.0100.08017.98
5.5.280.0070.08020.87
5.5.270.0100.08020.85
5.5.260.0130.07720.82
5.5.250.0070.06720.58
5.5.240.0030.08320.13
5.4.450.0200.06019.13
5.4.440.1000.05719.54
5.4.430.0600.06319.27
5.4.420.0700.06019.41
5.4.410.0830.06319.29
5.4.400.0970.04019.13
5.4.390.0170.05018.79
5.4.380.0130.05318.66
5.4.370.0130.05718.48
5.4.360.0230.05018.63
5.4.350.0170.05318.73
5.4.340.0170.05018.74
5.4.320.0200.05018.55
5.4.310.0130.05718.47
5.4.300.0330.06318.49
5.4.290.0130.05318.63
5.4.280.0170.06718.64
5.4.270.0200.05018.56
5.4.260.0230.05318.78
5.4.250.0270.05718.71
5.4.240.0070.06318.49
5.4.230.0200.07018.54
5.4.220.0170.05318.48
5.4.210.0230.04718.55
5.4.200.0170.05316.45
5.4.190.0130.05318.68
5.4.180.0170.05018.71
5.4.170.0200.05018.50
5.4.160.0270.04318.58
5.4.150.0270.04318.70
5.4.140.0230.04016.05
5.4.130.0130.05016.06
5.4.120.0200.04316.13
5.4.110.0130.05316.19
5.4.100.0100.06716.21
5.4.90.0170.04716.06
5.4.80.0070.06016.30
5.4.70.0100.05716.05
5.4.60.0170.05316.29
5.4.50.0170.07016.02
5.4.40.0300.06016.05
5.4.30.0270.06015.98
5.4.20.0230.04316.16
5.4.10.0130.05016.05
5.4.00.0200.04315.72
5.3.290.0070.06314.64
5.3.280.0200.04714.64
5.3.270.0230.05714.68
5.3.260.0200.05014.53
5.3.250.0170.04714.70
5.3.240.0130.05014.70
5.3.230.0130.06014.69
5.3.220.0130.05314.57
5.3.210.0170.05014.66
5.3.200.0030.06014.66
5.3.190.0170.05014.56
5.3.180.0170.05014.65
5.3.170.0170.05014.47
5.3.160.0300.03714.63
5.3.150.0200.04714.51
5.3.140.0170.05014.46
5.3.130.0070.06314.54
5.3.120.0170.05314.44
5.3.110.0070.06314.54
5.3.100.0100.05714.01
5.3.90.0170.05013.93
5.3.80.0270.04014.00
5.3.70.0130.05014.00
5.3.60.0170.04714.10
5.3.50.0130.05013.91
5.3.40.0230.04013.88
5.3.30.0230.04713.90
5.3.20.0170.04313.65
5.3.10.0270.04013.73
5.3.00.0130.05713.59
5.2.170.0200.03311.09
5.2.160.0130.03711.09
5.2.150.0100.04311.20
5.2.140.0130.04011.19
5.2.130.0130.03711.13
5.2.120.0070.04311.13
5.2.110.0100.04011.07
5.2.100.0070.04311.13
5.2.90.0100.04011.07
5.2.80.0170.03711.03
5.2.70.0200.03311.13
5.2.60.0170.04011.09
5.2.50.0200.03711.05
5.2.40.0070.04311.03
5.2.30.0100.04010.93
5.2.20.0100.04010.94
5.2.10.0170.03711.01
5.2.00.0130.03710.87
5.1.60.0070.03710.11
5.1.50.0170.02710.11
5.1.40.0100.03310.11
5.1.30.0030.04010.32
5.1.20.0100.03710.36
5.1.10.0100.03310.05
5.1.00.0070.03710.12
5.0.50.0030.0308.66
5.0.40.0100.0238.49
5.0.30.0100.0408.24
5.0.20.0070.0308.31
5.0.10.0070.0278.15
5.0.00.0070.0438.17
4.4.90.0000.0276.84
4.4.80.0030.0236.84
4.4.70.0100.0176.84
4.4.60.0030.0306.84
4.4.50.0170.0206.84
4.4.40.0000.0506.84
4.4.30.0030.0306.84
4.4.20.0070.0306.84
4.4.10.0070.0306.84
4.4.00.0070.0436.84
4.3.110.0030.0336.84
4.3.100.0030.0236.84
4.3.90.0130.0136.84
4.3.80.0000.0376.84
4.3.70.0070.0176.84
4.3.60.0030.0236.84
4.3.50.0000.0276.84
4.3.40.0100.0306.84
4.3.30.0000.0236.84
4.3.20.0000.0236.84
4.3.10.0030.0236.84
4.3.00.0170.03314.42

preferences:
45.06 ms | 400 KiB | 5 Q