3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "sortAfter=1&searchString=vsfweew"; list($e1,$sortAfter,$e2,$searchString) = preg_split("/=|&/",$str); $arr[$e1] = $sortAfter; $arr[$e2] = $searchString; print_r($arr);

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.4.140.0110.01117.77
8.4.130.0160.00517.95
8.4.120.0130.00724.08
8.4.110.0100.01122.61
8.4.100.0080.00717.89
8.4.90.0160.00518.72
8.4.80.0040.00419.85
8.4.70.0170.00517.94
8.4.60.0130.00818.60
8.4.50.0160.00417.86
8.4.40.0000.01317.83
8.4.30.0090.00017.76
8.4.20.0060.00320.46
8.4.10.0090.00017.90
8.3.270.0120.00716.59
8.3.260.0110.00916.77
8.3.250.0120.00716.54
8.3.240.0120.00717.17
8.3.230.0070.00516.41
8.3.220.0040.00317.30
8.3.210.0030.00516.54
8.3.200.0050.00416.78
8.3.190.0040.00316.98
8.3.180.0110.00420.59
8.3.170.0030.01516.59
8.3.160.0110.00716.58
8.3.150.0090.00616.97
8.3.140.0000.00816.65
8.3.130.0040.00416.48
8.3.120.0140.00418.69
8.3.110.0030.01620.94
8.3.100.0060.00316.47
8.3.90.0040.00418.55
8.3.80.0060.00318.43
8.3.70.0110.00718.30
8.3.60.0090.00918.55
8.3.50.0210.00617.23
8.3.40.0100.01018.66
8.3.30.0120.00318.79
8.3.20.0040.00418.95
8.3.10.0040.00423.61
8.3.00.0080.00019.61
8.2.290.0140.00420.41
8.2.280.0040.00420.61
8.2.270.0110.00716.56
8.2.260.0120.00319.03
8.2.250.0100.01016.80
8.2.240.0040.00417.21
8.2.230.0080.00022.58
8.2.220.0150.00324.06
8.2.210.0000.00826.77
8.2.200.0000.00918.42
8.2.190.0120.00616.63
8.2.180.0150.00616.75
8.2.170.0150.00022.96
8.2.160.0080.01220.33
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0000.00819.83
8.2.120.0080.00026.35
8.2.110.0100.00720.38
8.2.100.0040.00718.03
8.2.90.0000.00818.03
8.2.80.0030.00617.97
8.2.70.0060.00318.04
8.2.60.0000.00818.16
8.2.50.0040.00418.10
8.2.40.0080.00019.34
8.2.30.0040.00419.20
8.2.20.0080.00018.02
8.2.10.0040.00417.99
8.2.00.0030.00517.63
8.1.330.0110.00822.13
8.1.320.0040.00416.34
8.1.310.0070.01116.72
8.1.300.0030.00618.01
8.1.290.0030.00618.88
8.1.280.0040.01125.92
8.1.270.0040.00418.83
8.1.260.0040.00426.35
8.1.250.0090.00028.09
8.1.240.0060.00320.70
8.1.230.0000.01222.80
8.1.220.0040.00417.74
8.1.210.0000.00918.89
8.1.200.0030.00517.48
8.1.190.0090.00017.34
8.1.180.0080.00018.10
8.1.170.0000.00818.63
8.1.160.0020.00518.84
8.1.150.0080.00018.89
8.1.140.0000.00722.18
8.1.130.0000.00717.46
8.1.120.0000.00717.54
8.1.110.0000.00717.55
8.1.100.0040.00417.51
8.1.90.0000.00817.44
8.1.80.0000.00817.56
8.1.70.0030.00317.52
8.1.60.0040.00417.63
8.1.50.0060.00317.62
8.1.40.0080.00017.57
8.1.30.0060.00317.74
8.1.20.0040.00417.74
8.1.10.0040.00417.77
8.1.00.0030.00517.70
8.0.300.0070.00019.91
8.0.290.0070.00016.88
8.0.280.0030.00318.41
8.0.270.0080.00016.94
8.0.260.0000.00816.82
8.0.250.0000.00716.98
8.0.240.0030.00316.95
8.0.230.0030.00317.10
8.0.220.0030.00316.96
8.0.210.0070.00016.86
8.0.200.0000.00717.00
8.0.190.0040.00417.03
8.0.180.0020.00516.88
8.0.170.0040.00417.02
8.0.160.0070.00017.00
8.0.150.0040.00416.78
8.0.140.0050.00316.83
8.0.130.0030.00313.40
8.0.120.0000.00916.83
8.0.110.0040.00417.01
8.0.100.0000.00716.96
8.0.90.0070.00017.01
8.0.80.0100.01016.98
8.0.70.0000.00817.03
8.0.60.0040.00417.02
8.0.50.0040.00416.98
8.0.30.0110.00717.04
8.0.20.0080.00917.41
8.0.10.0060.00317.13
8.0.00.0080.01416.70
7.4.330.0000.00615.55
7.4.320.0030.00316.75
7.4.300.0030.00316.73
7.4.290.0070.00016.57
7.4.280.0030.00516.75
7.4.270.0040.00416.50
7.4.260.0060.00316.74
7.4.250.0050.00216.69
7.4.240.0030.00316.68
7.4.230.0000.00716.50
7.4.220.0040.00416.78
7.4.210.0070.00716.82
7.4.200.0000.00716.52
7.4.160.0090.00916.74
7.4.140.0090.01017.86
7.4.130.0120.00616.64
7.4.120.0110.00616.63
7.4.110.0070.01116.70
7.4.100.0110.00516.75
7.4.90.0140.00416.69
7.4.80.0130.00919.39
7.4.70.0120.00816.73
7.4.60.0100.00716.67
7.4.50.0040.01116.48
7.4.40.0130.00316.70
7.4.00.0040.01115.11
7.3.330.0000.00513.30
7.3.320.0000.00513.25
7.3.310.0030.00316.46
7.3.300.0000.00716.41
7.3.290.0070.00016.41
7.3.280.0080.00716.39
7.3.260.0090.01116.43
7.3.240.0090.00816.55
7.3.230.0100.00716.85
7.3.210.0130.00716.53
7.3.200.0030.01416.53
7.3.190.0060.00916.38
7.3.180.0030.01416.44
7.3.170.0160.00616.50
7.3.160.0100.00716.86
7.3.10.0100.00616.67
7.3.00.0050.00616.93
7.2.330.0120.00616.79
7.2.320.0070.01116.70
7.2.310.0110.00516.53
7.2.300.0130.00916.64
7.2.290.0110.00716.83
7.2.130.0060.00616.90
7.2.120.0070.00917.06
7.2.110.0970.00916.14
7.2.100.1000.00916.15
7.2.90.1450.00616.24
7.2.80.0110.01116.32
7.2.70.0740.00816.49
7.2.60.0800.00616.28
7.2.50.0850.01016.25
7.2.40.0800.00616.23
7.2.30.1150.00916.38
7.2.20.0920.00716.46
7.2.10.1630.00516.29
7.2.00.0980.00816.40
7.1.250.0060.00515.88
7.1.230.3210.00714.08
7.1.220.3730.01013.67
7.1.210.3910.00313.72
7.1.200.2530.00913.86
7.1.190.2200.01014.16
7.1.180.2310.00714.00
7.1.170.3270.00013.84
7.1.160.3840.00614.14
7.1.150.2930.00314.12
7.1.140.2640.00313.98
7.1.130.4090.01013.81
7.1.120.4170.01013.96
7.1.110.4380.01713.91
7.1.100.2280.00013.64
7.1.90.2390.00713.99
7.1.80.3420.00714.17
7.1.70.3620.00013.88
7.1.60.2490.01332.18
7.1.50.3030.00332.04
7.1.40.4090.01031.67
7.1.30.4960.01332.01
7.1.20.5410.01331.75
7.1.10.0360.00614.05
7.1.00.0690.01314.02
5.6.380.0130.00014.41

preferences:
30.88 ms | 403 KiB | 5 Q