3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sort_item = 'list[]=12&list[]=11&list[]=13&list[]=10&list[]=9&list[]=8&list[]=7&list[]=6&list[]=5&list[]=4&list[]=3&list[]=1'; // $sort_item = str_replace('%25', '', $sort_item); // $sort_item = str_replace('%5B', '[', $sort_item); // $sort_item = str_replace('%5D', ']', $sort_item); // 配列化 var_dump(parse_str($sort_item, $sort_item));

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.40.0050.01018.42
8.3.30.0070.00718.51
8.3.20.0070.00021.90
8.3.10.0080.00021.91
8.3.00.0070.00019.23
8.2.170.0110.00422.96
8.2.160.0130.00320.49
8.2.150.0070.01024.18
8.2.140.0080.00024.66
8.2.130.0140.00019.25
8.2.120.0070.00026.35
8.2.110.0030.00921.00
8.2.100.0080.00419.64
8.2.90.0000.00817.91
8.2.80.0030.00717.97
8.2.70.0000.00817.93
8.2.60.0060.00318.09
8.2.50.0040.00418.10
8.2.40.0000.00822.05
8.2.30.0000.00719.24
8.2.20.0000.00718.13
8.2.10.0000.00717.58
8.2.00.0040.00417.98
8.1.270.0030.00623.91
8.1.260.0000.00726.35
8.1.250.0050.00328.09
8.1.240.0060.01623.97
8.1.230.0090.00322.68
8.1.220.0040.00417.74
8.1.210.0090.00318.77
8.1.200.0060.00317.23
8.1.190.0060.00317.13
8.1.180.0040.00418.10
8.1.170.0040.00418.57
8.1.160.0000.00718.73
8.1.150.0050.00319.07
8.1.140.0040.00417.68
8.1.130.0050.00320.27
8.1.120.0000.00717.33
8.1.110.0040.00417.38
8.1.100.0000.00717.35
8.1.90.0030.00517.39
8.1.80.0030.00617.38
8.1.70.0040.00417.32
8.1.60.0080.00017.52
8.1.50.0000.00817.52
8.1.40.0000.00717.45
8.1.30.0000.00917.62
8.1.20.0040.00417.57
8.1.10.0040.00417.54
8.1.00.0060.00317.33
8.0.300.0000.00721.47
8.0.290.0000.00816.58
8.0.280.0020.00518.29
8.0.270.0040.00417.15
8.0.260.0030.00316.63
8.0.250.0000.00616.76
8.0.240.0070.00016.86
8.0.230.0070.00016.82
8.0.220.0000.00716.74
8.0.210.0070.00016.69
8.0.200.0040.00416.89
8.0.190.0000.00716.80
8.0.180.0040.00416.75
8.0.170.0030.00616.92
8.0.160.0000.00716.72
8.0.150.0040.00416.77
8.0.140.0030.00616.80
8.0.130.0050.00013.25
8.0.120.0040.00416.79
8.0.110.0000.00716.74
8.0.100.0040.00416.85
8.0.90.0000.00816.87
8.0.80.0070.01116.82
8.0.70.0050.00216.83
8.0.60.0080.00016.84
8.0.50.0040.00416.84
8.0.30.0110.00716.91
8.0.20.0080.01117.40
8.0.10.0000.00716.95
8.0.00.0130.00616.55
7.4.330.0050.00015.55
7.4.320.0030.00316.44
7.4.300.0000.00616.44
7.4.290.0030.00316.49
7.4.280.0050.00316.53
7.4.270.0030.00316.51
7.4.260.0070.00016.52
7.4.250.0030.00516.48
7.4.240.0070.00016.55
7.4.230.0050.00316.24
7.4.220.0040.00416.35
7.4.210.0030.01216.42
7.4.200.0070.00016.63
7.4.160.0100.00616.41
7.4.140.0100.00817.86
7.4.130.0070.01016.46
7.4.120.0100.01216.36
7.4.110.0110.00616.43
7.4.100.0130.00416.46
7.4.90.0100.00616.54
7.4.80.0110.00719.39
7.4.70.0090.00616.30
7.4.60.0110.00716.39
7.4.50.0090.00616.43
7.4.40.0160.00616.32
7.4.00.0090.00814.56
7.3.330.0000.00512.97
7.3.320.0030.00313.03
7.3.310.0070.00016.22
7.3.300.0030.00316.04
7.3.290.0060.00016.13
7.3.280.0050.01016.13
7.3.260.0090.01016.14
7.3.240.0070.01116.21
7.3.230.0110.00516.38
7.3.210.0140.00616.47
7.3.200.0190.00316.37
7.3.190.0060.00916.39
7.3.180.0070.01016.31
7.3.170.0120.00916.46
7.3.160.0160.00616.36
7.3.120.0000.01614.66
7.3.110.0120.00614.72
7.3.100.0040.00914.39
7.3.90.0060.00614.64
7.3.80.0030.00614.64
7.3.70.0070.00314.59
7.3.60.0090.00314.79
7.3.50.0090.00614.68
7.3.40.0000.01014.54
7.3.30.0070.00714.68
7.3.20.0130.00016.22
7.3.10.0040.00716.42
7.3.00.0030.00916.72
7.2.330.0080.00816.13
7.2.320.0110.01116.49
7.2.310.0090.00916.58
7.2.300.0140.00416.48
7.2.290.0030.02116.55
7.2.250.0070.01114.70
7.2.240.0030.00714.78
7.2.230.0060.00914.79
7.2.220.0070.00715.11
7.2.210.0030.01014.34
7.2.200.0040.00814.77
7.2.190.0000.00914.84
7.2.180.0070.01014.63
7.2.170.0040.01114.73
7.2.160.0000.01414.52
7.2.150.0030.00616.77
7.2.140.0000.01216.52
7.2.130.0000.01516.77
7.2.120.0000.01416.90
7.2.110.0060.00916.79
7.2.100.0100.00716.76
7.2.90.0000.01616.74
7.2.80.0060.00616.61
7.2.70.0060.00616.83
7.2.60.0050.00716.83
7.2.50.0060.00916.67
7.2.40.0090.00616.63
7.2.30.0080.01017.24
7.2.20.0070.01017.27
7.2.10.0100.01317.06
7.2.00.0070.01217.28
7.1.330.0110.00315.95
7.1.320.0100.00315.61
7.1.310.0000.00815.84
7.1.300.0030.01415.79
7.1.290.0030.00715.67
7.1.280.0030.01015.88
7.1.270.0070.00715.38
7.1.260.0140.00015.83
7.1.250.0030.00615.89
7.1.240.0000.01215.77
7.1.230.0030.01015.56
7.1.220.0040.00415.61
7.1.210.0040.00715.86
7.1.200.0050.00615.75
7.1.190.0040.00415.72
7.1.180.0060.00615.65
7.1.170.0090.00315.85
7.1.160.0110.00315.54
7.1.150.0070.01116.02
7.1.140.0070.00916.11
7.1.130.0110.00816.20
7.1.120.0070.00816.14
7.1.110.0040.01115.96
7.1.100.0070.00715.74
7.1.90.0120.01015.80
7.1.80.0100.01016.03
7.1.70.0070.01415.55
7.1.60.0170.01324.39
7.1.50.0120.01224.24
7.1.40.0200.00924.09
7.1.30.0150.01224.07
7.1.20.0170.01024.19
7.1.10.0070.00715.30
7.1.00.0080.01015.23
7.0.330.0060.00615.23
7.0.320.0100.00015.40
7.0.310.0000.01015.50
7.0.300.0030.00915.32
7.0.290.0070.00315.15
7.0.280.0070.00715.19
7.0.270.0040.01115.19
7.0.260.0060.00615.28
7.0.250.0070.00715.27
7.0.240.0000.01515.29
7.0.230.0030.01714.97
7.0.220.0030.01615.42
7.0.210.0030.00615.29
7.0.200.0030.01014.85
7.0.190.0040.01114.94
7.0.180.0070.00715.05
7.0.170.0080.00815.27
7.0.160.0000.00815.36
7.0.150.0060.00615.02
7.0.140.0060.00615.17
7.0.130.0070.00715.18
7.0.120.0040.00715.27
7.0.110.0050.00315.32
7.0.100.0070.00315.33
7.0.90.0140.00015.37
7.0.80.0090.00415.29
7.0.70.0060.00615.20
7.0.60.0030.00615.25
7.0.50.0000.01215.32
7.0.40.0030.01013.66
7.0.30.0060.00613.66
7.0.20.0070.01113.66
7.0.10.0040.00913.66
7.0.00.0120.00013.66
5.6.400.0080.00613.97
5.6.390.0070.00314.47
5.6.380.0110.00414.19
5.6.370.0070.00714.17
5.6.360.0070.00714.30
5.6.350.0030.01013.77
5.6.340.0030.00614.07
5.6.330.0030.01214.25
5.6.320.0030.00614.01
5.6.310.0070.00714.05
5.6.300.0000.00814.18
5.6.290.0070.01014.18
5.6.280.0080.00813.87
5.6.270.0040.01114.07
5.6.260.0100.00314.25
5.6.250.0030.01313.88
5.6.240.0030.01414.07
5.6.230.0060.01214.06
5.6.220.0000.01013.91
5.6.210.0030.00913.91
5.6.200.0100.00314.12
5.6.190.0070.00713.91
5.6.180.0040.00414.29
5.6.170.0090.00914.12
5.6.160.0090.01013.89
5.6.150.0160.00414.40
5.6.140.0130.00814.11
5.6.130.0170.00313.98
5.6.120.0120.00614.23
5.6.110.0110.01114.09
5.6.100.0110.01114.11
5.6.90.0100.00713.86
5.6.80.0110.00714.17
5.6.70.0070.01114.08
5.6.60.0080.00813.85
5.6.50.0040.01114.23
5.6.40.0090.00514.05
5.6.30.0000.01814.18
5.6.20.0120.00014.09
5.6.10.0030.01413.97
5.6.00.0000.01414.20

preferences:
52.91 ms | 400 KiB | 5 Q