3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "1||50||£---2||25||£---3||25||£---"; $a = explode('---',$s); $result = []; foreach($a as $item){ $result []= explode('||',$item); } var_dump($result);

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.0180.00318.29
8.3.50.0040.01218.33
8.3.40.0090.00618.67
8.3.30.0100.00618.67
8.3.20.0050.00318.61
8.3.10.0030.00723.36
8.3.00.0040.00422.43
8.2.180.0120.01218.16
8.2.170.0040.01222.96
8.2.160.0090.01219.34
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00418.03
8.2.120.0080.00026.35
8.2.110.0070.00421.12
8.2.100.0050.00517.84
8.2.90.0080.00018.28
8.2.80.0040.00417.97
8.2.70.0040.00417.63
8.2.60.0050.00317.62
8.2.50.0080.00017.63
8.2.40.0000.00719.47
8.2.30.0040.00419.25
8.2.20.0000.00818.12
8.2.10.0030.00618.16
8.2.00.0040.00417.69
8.1.280.0070.00725.92
8.1.270.0050.00223.99
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0030.00620.77
8.1.230.0070.00420.89
8.1.220.0030.00517.77
8.1.210.0080.00018.89
8.1.200.0000.00917.35
8.1.190.0030.00517.35
8.1.180.0030.00618.10
8.1.170.0040.00418.53
8.1.160.0050.00218.89
8.1.150.0040.00418.84
8.1.140.0000.00723.96
8.1.130.0000.00720.05
8.1.120.0000.00717.47
8.1.110.0050.00317.48
8.1.100.0070.00017.46
8.1.90.0000.00717.46
8.1.80.0000.00717.47
8.1.70.0040.00417.48
8.1.60.0030.00617.61
8.1.50.0030.00917.38
8.1.40.0050.00217.41
8.1.30.0000.00817.58
8.1.20.0000.00717.54
8.1.10.0020.00517.35
8.1.00.0040.00417.38
8.0.300.0040.00419.94
8.0.290.0060.00316.88
8.0.280.0070.00018.44
8.0.270.0040.00417.36
8.0.260.0060.00020.10
8.0.250.0040.00416.97
8.0.240.0000.00716.96
8.0.230.0040.00416.91
8.0.220.0000.00916.78
8.0.210.0050.00216.91
8.0.200.0040.00416.93
8.0.190.0070.00016.84
8.0.180.0040.00416.81
8.0.170.0030.00616.86
8.0.160.0040.00416.85
8.0.150.0000.00816.87
8.0.140.0050.00316.74
8.0.130.0050.00013.24
8.0.120.0050.00316.83
8.0.110.0000.00816.75
8.0.100.0000.00716.95
8.0.90.0040.00416.76
8.0.80.0100.01016.87
8.0.70.0040.00416.79
8.0.60.0000.00716.75
8.0.50.0000.00716.71
8.0.30.0140.00617.09
8.0.20.0200.00617.40
8.0.10.0030.00517.04
8.0.00.0100.01116.86
7.4.330.0000.00615.55
7.4.320.0000.00616.65
7.4.300.0030.00316.48
7.4.290.0040.00416.51
7.4.280.0000.00816.41
7.4.270.0000.00716.59
7.4.260.0000.00716.50
7.4.250.0080.00016.42
7.4.240.0040.00416.40
7.4.230.0040.00416.66
7.4.220.0070.00016.49
7.4.210.0080.00716.50
7.4.200.0000.00716.40
7.4.160.0120.00916.51
7.4.140.0150.00317.86
7.4.130.0170.00616.46
7.4.120.0110.00816.44
7.4.110.0150.00316.50
7.4.100.0120.00616.34
7.4.90.0030.01416.41
7.4.80.0100.01019.39
7.4.70.0140.00416.65
7.4.60.0000.01616.47
7.4.50.0100.00716.36
7.4.40.0060.01216.54
7.4.00.0070.01014.98
7.3.330.0020.00213.21
7.3.320.0000.00613.15
7.3.310.0030.00316.34
7.3.300.0040.00416.25
7.3.290.0000.00716.22
7.3.280.0050.01016.19
7.3.260.0120.00916.42
7.3.240.0100.01016.33
7.3.230.0040.01316.45
7.3.210.0140.00716.51
7.3.200.0120.00916.38
7.3.190.0060.01116.53
7.3.180.0140.00316.48
7.3.170.0130.00616.46
7.3.160.0110.00416.64
7.3.10.0150.00816.04
7.3.00.0130.00816.17
7.2.330.0060.01216.44
7.2.320.0030.01816.54
7.2.310.0070.01016.59
7.2.300.0140.00716.42
7.2.290.0130.00716.44
7.2.130.0100.00916.55
7.2.120.0140.00716.43
7.2.110.0430.00816.11
7.2.100.0370.00616.02
7.2.90.0320.01015.75
7.2.80.0380.00916.02
7.2.70.0350.00816.03
7.2.60.0260.00616.16
7.2.50.0260.01216.08
7.2.40.0270.00916.04
7.2.30.0400.00616.23
7.2.20.0540.01015.95
7.2.10.0380.01216.07
7.2.00.0340.01016.11
7.1.250.0170.00615.25
7.1.230.0950.01613.90
7.1.220.0750.01214.01
7.1.210.1100.01213.86
7.1.200.0650.01114.17
7.1.190.0790.01114.13
7.1.180.0730.00913.85
7.1.170.0270.00513.96
7.1.160.1120.00714.04
7.1.150.0890.01013.94
7.1.140.0890.01513.99
7.1.130.0970.01013.76
7.1.120.0980.01313.95
7.1.110.0820.00713.93
7.1.100.0690.00413.98
7.1.90.0790.00913.63
7.1.80.0740.01014.08
7.1.70.1060.00614.02
7.1.60.1130.01331.96
7.1.50.0930.00732.04
7.1.40.0840.01232.09
7.1.30.0870.01331.78
7.1.20.1250.01331.63
7.1.10.1030.00013.88
7.1.00.1050.00713.91
5.6.380.0120.00614.63

preferences:
58.7 ms | 400 KiB | 5 Q