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; // 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.43
8.3.50.0100.01021.96
8.3.40.0070.00718.67
8.3.30.0070.00719.18
8.3.20.0030.00620.29
8.3.10.0080.00021.76
8.3.00.0110.00018.87
8.2.180.0090.00616.50
8.2.170.0000.01522.96
8.2.160.0100.00322.25
8.2.150.0000.00824.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0060.00319.95
8.2.110.0140.00420.46
8.2.100.0100.00317.75
8.2.90.0080.00019.05
8.2.80.0000.00917.97
8.2.70.0040.00817.75
8.2.60.0060.00318.00
8.2.50.0000.01018.07
8.2.40.0000.00718.16
8.2.30.0030.00618.11
8.2.20.0050.00217.61
8.2.10.0070.00018.02
8.2.00.0070.00017.79
8.1.280.0040.01825.92
8.1.270.0060.00320.68
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0030.00623.79
8.1.230.0080.00417.48
8.1.220.0040.00417.79
8.1.210.0000.00818.77
8.1.200.0090.00017.22
8.1.190.0080.00017.23
8.1.180.0040.00418.10
8.1.170.0040.00420.29
8.1.160.0000.00721.94
8.1.150.0020.00518.83
8.1.140.0000.00717.39
8.1.130.0000.00617.81
8.1.120.0000.00717.36
8.1.110.0030.00617.41
8.1.100.0030.00317.32
8.1.90.0020.00517.46
8.1.80.0070.00017.35
8.1.70.0070.00017.37
8.1.60.0090.00017.45
8.1.50.0070.00017.48
8.1.40.0040.00417.50
8.1.30.0000.00817.63
8.1.20.0040.00417.68
8.1.10.0040.00417.56
8.1.00.0040.00417.39
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0030.00318.43
8.0.270.0030.00317.10
8.0.260.0030.00317.17
8.0.250.0030.00316.96
8.0.240.0000.00716.88
8.0.230.0000.00716.84
8.0.220.0000.00716.89
8.0.210.0000.00716.88
8.0.200.0000.00616.94
8.0.190.0040.00416.93
8.0.180.0000.00816.93
8.0.170.0050.00316.95
8.0.160.0000.00716.93
8.0.150.0000.00716.68
8.0.140.0000.00716.82
8.0.130.0030.00313.27
8.0.120.0000.00816.80
8.0.110.0020.00516.91
8.0.100.0070.00016.75
8.0.90.0000.00816.71
8.0.80.0130.00316.77
8.0.70.0070.00016.77
8.0.60.0040.00416.95
8.0.50.0040.00416.97
8.0.30.0070.01617.03
8.0.20.0120.00717.40
8.0.10.0000.00816.89
8.0.00.0070.01116.65
7.4.330.0030.00315.09
7.4.320.0030.00316.46
7.4.300.0030.00316.55
7.4.290.0060.00016.57
7.4.280.0070.00016.48
7.4.270.0000.00716.58
7.4.260.0060.00016.45
7.4.250.0070.00316.52
7.4.240.0030.00516.56
7.4.230.0000.00716.47
7.4.220.0040.01416.61
7.4.210.0160.00016.46
7.4.200.0070.00016.38
7.4.160.0080.00816.23
7.4.150.0070.01017.40
7.4.140.0140.00717.86
7.4.130.0110.00816.61
7.4.120.0120.00816.46
7.4.110.0130.01016.50
7.4.100.0070.01116.51
7.4.90.0090.00916.32
7.4.80.0060.01216.41
7.4.70.0100.00716.54
7.4.60.0150.00016.55
7.4.50.0030.00516.31
7.4.40.0140.00316.49
7.4.30.0160.00716.36
7.4.00.0060.01014.99
7.3.330.0000.00513.16
7.3.320.0080.00413.10
7.3.310.0070.00016.38
7.3.300.0030.00316.31
7.3.290.0120.00716.33
7.3.280.0110.00716.33
7.3.270.0090.00917.40
7.3.260.0060.01316.54
7.3.250.0090.01016.34
7.3.240.0100.00716.61
7.3.230.0110.01316.39
7.3.210.0110.00516.52
7.3.200.0030.01519.39
7.3.190.0060.01116.66
7.3.180.0100.00716.26
7.3.170.0140.00716.36
7.3.160.0080.01116.44
7.3.120.0080.01014.94
7.3.110.0090.00714.93
7.3.100.0060.00814.94
7.3.90.0040.00614.81
7.3.80.0050.00914.74
7.3.70.0070.00814.83
7.3.60.0040.00914.77
7.3.50.0050.01014.86
7.3.40.0070.00914.81
7.3.30.0050.00914.74
7.3.20.0060.00916.62
7.3.10.0080.00516.73
7.3.00.0070.00716.72
7.2.330.0100.01316.77
7.2.320.0100.00616.82
7.2.310.0110.00816.59
7.2.300.0100.00716.37
7.2.290.0060.01216.78
7.2.250.0040.01315.05
7.2.240.0060.01115.00
7.2.230.0070.00815.04
7.2.220.0050.00715.10
7.2.210.0070.00915.10
7.2.200.0070.00515.07
7.2.190.0060.00915.01
7.2.180.0110.00315.14
7.2.170.0070.00915.05
7.2.160.0030.01215.06
7.2.150.0040.01216.67
7.2.140.0090.00516.89
7.2.130.0030.01016.99
7.2.120.0100.00516.93
7.2.110.0090.00316.89
7.2.100.0090.00716.95
7.2.90.0050.01016.95
7.2.80.0080.00616.99
7.2.70.0110.00616.95
7.2.60.0050.01116.88
7.2.50.0060.00616.83
7.2.40.0080.00617.08
7.2.30.0050.00817.07
7.2.20.0060.01016.98
7.2.10.0050.00917.05
7.2.00.0050.00717.66
7.1.330.0050.01015.80
7.1.320.0020.01015.65
7.1.310.0060.00615.76
7.1.300.0080.00415.71
7.1.290.0050.00615.78
7.1.280.0060.00815.77
7.1.270.0080.00615.85
7.1.260.0080.00615.70
7.1.250.0050.00715.69
7.1.200.0030.00615.91
7.1.100.0040.00718.19
7.1.70.0000.00716.89
7.1.60.0070.00319.46
7.1.50.0040.01816.73
7.1.00.0000.08022.30
7.0.200.0200.00414.88
7.0.140.0030.05722.00
7.0.60.0070.07019.97
7.0.50.0030.08317.89
7.0.40.0070.05720.27
7.0.30.0200.07320.12
7.0.20.0230.04720.30
7.0.10.0030.08720.13
7.0.00.0100.08019.99
5.6.280.0000.07721.09
5.6.210.0100.08320.72
5.6.200.0100.07018.17
5.6.190.0030.08020.41
5.6.180.0330.04020.65
5.6.170.0170.08320.48
5.6.160.0170.07020.48
5.6.150.0100.05018.18
5.6.140.0100.03718.22
5.6.130.0070.06018.16
5.6.120.0070.08021.00
5.6.110.0070.08721.03
5.6.100.0070.08320.98
5.6.90.0170.07720.99
5.6.80.0130.04020.48
5.5.350.0270.08020.32
5.5.340.0100.07718.02
5.5.330.0070.04320.16
5.5.320.0130.07320.39
5.5.310.0270.04720.32
5.5.300.0030.08017.97
5.5.290.0100.05017.96
5.5.280.0070.07020.88
5.5.270.0030.08020.84
5.5.260.0170.06020.75
5.5.250.0200.06020.61
5.5.240.0070.08720.36
5.4.450.0170.05719.23
5.4.440.0830.05719.48
5.4.430.0100.05719.59
5.4.420.0930.05319.46
5.4.410.1100.06319.34
5.4.400.1030.05319.16
5.4.390.0230.05718.55
5.4.380.0200.05718.69
5.4.370.0200.05018.68
5.4.360.0230.04718.56
5.4.350.0270.04718.46
5.4.340.0200.05018.65
5.4.320.0300.04318.45
5.4.310.0100.06018.65
5.4.300.0300.04318.67
5.4.290.0270.04718.65
5.4.280.0170.05318.71
5.4.270.0130.05718.62
5.4.260.0270.04318.59
5.4.250.0300.04718.71
5.4.240.0200.05018.64
5.4.230.0300.04318.48
5.4.220.0170.05318.43
5.4.210.0100.06018.65
5.4.200.0200.04716.61
5.4.190.0130.05318.76
5.4.180.0300.04018.54
5.4.170.0130.05718.71
5.4.160.0200.05718.63
5.4.150.0170.06018.69
5.4.140.0230.04716.07
5.4.130.0200.06016.31
5.4.120.0200.04716.35
5.4.110.0130.05016.07
5.4.100.0170.05316.14
5.4.90.0200.04716.13
5.4.80.0170.05016.20
5.4.70.0170.05016.20
5.4.60.0200.06716.02
5.4.50.0300.03716.27
5.4.40.0130.05716.19
5.4.30.0130.05316.13
5.4.20.0230.05016.05
5.4.10.0270.04016.28
5.4.00.0170.07015.75
5.3.290.0200.05714.63
5.3.280.0100.06014.58
5.3.270.0100.06314.55
5.3.260.0200.05014.61
5.3.250.0270.04714.55
5.3.240.0170.05314.70
5.3.230.0230.05014.60
5.3.220.0230.04714.49
5.3.210.0200.05314.51
5.3.200.0170.06014.65
5.3.190.0170.05014.56
5.3.180.0300.03714.49
5.3.170.0230.04314.55
5.3.160.0300.03714.57
5.3.150.0130.06014.65
5.3.140.0230.04714.56
5.3.130.0130.05714.53
5.3.120.0130.05714.46
5.3.110.0300.04014.50
5.3.100.0230.04314.11
5.3.90.0170.05313.98
5.3.80.0200.05014.11
5.3.70.0130.05713.99
5.3.60.0200.04713.96
5.3.50.0170.05013.94
5.3.40.0130.05713.89
5.3.30.0170.05013.85
5.3.20.0130.05313.60
5.3.10.0100.05313.73
5.3.00.0130.06013.73
5.2.170.0100.04711.11
5.2.160.0130.04011.09
5.2.150.0130.04311.09
5.2.140.0130.04011.20
5.2.130.0170.03711.09
5.2.120.0170.04011.01
5.2.110.0200.03711.08
5.2.100.0230.04311.06
5.2.90.0100.04711.25
5.2.80.0100.04711.01
5.2.70.0130.04311.07
5.2.60.0130.05011.05
5.2.50.0230.03311.07
5.2.40.0170.03711.14
5.2.30.0130.04011.02
5.2.20.0130.04011.09
5.2.10.0130.03710.88
5.2.00.0100.04710.76
5.1.60.0200.02710.13
5.1.50.0100.03710.13
5.1.40.0170.0279.93
5.1.30.0170.03010.42
5.1.20.0100.03710.38
5.1.10.0130.03310.12
5.1.00.0030.04010.06
5.0.50.0100.0278.54
5.0.40.0070.0308.43
5.0.30.0030.0478.25
5.0.20.0030.0308.29
5.0.10.0100.0308.30
5.0.00.0070.0438.34
4.4.90.0030.0236.84
4.4.80.0070.0236.84
4.4.70.0030.0236.84
4.4.60.0070.0206.84
4.4.50.0070.0276.84
4.4.40.0070.0336.84
4.4.30.0030.0236.84
4.4.20.0100.0176.84
4.4.10.0130.0176.84
4.4.00.0070.0336.84
4.3.110.0070.0206.84
4.3.100.0030.0236.84
4.3.90.0030.0236.84
4.3.80.0070.0336.84
4.3.70.0100.0206.84
4.3.60.0000.0276.84
4.3.50.0100.0176.84
4.3.40.0100.0306.84
4.3.30.0070.0206.84
4.3.20.0070.0206.84
4.3.10.0030.0206.84
4.3.00.0270.02014.42

preferences:
40.08 ms | 401 KiB | 5 Q