3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt = "123~456!!!789~012!!!345~678!!!901~234!!!567~890!!!1234~5678" $array = explode("!!!",$txt); foreach($array AS $key => $subarray) { $array[$key] = explode("~",$subarray); } print_r($array);

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)
5.4.130.0130.05212.02
5.4.120.0130.04011.99
5.4.110.0140.04211.98
5.4.100.0180.05411.98
5.4.90.0150.03911.98
5.4.80.0100.04211.98
5.4.70.0190.05911.98
5.4.60.0110.04211.98
5.4.50.0120.04211.98
5.4.40.0190.05211.97
5.4.30.0140.03911.96
5.4.20.0140.04011.96
5.4.10.0160.04611.97
5.4.00.0110.04111.46
5.3.230.0130.04312.71
5.3.220.0140.04212.68
5.3.210.0150.04212.68
5.3.200.0150.04012.68
5.3.190.0230.05412.67
5.3.180.0100.04512.68
5.3.170.0210.05412.67
5.3.160.0120.04412.67
5.3.150.0130.04512.67
5.3.140.0150.04412.66
5.3.130.0120.05012.66
5.3.120.0200.06412.66
5.3.110.0140.04712.66
5.3.100.0200.06312.12
5.3.90.0150.04712.08
5.3.80.0140.04612.08
5.3.70.0140.04512.08
5.3.60.0230.06912.07
5.3.50.0160.04312.00
5.3.40.0140.05412.00
5.3.30.0160.04111.94
5.3.20.0150.04211.71
5.3.10.0140.04111.67
5.3.00.0140.04111.65
5.2.170.0120.0369.16
5.2.160.0120.0399.16
5.2.150.0100.0389.16
5.2.140.0120.0379.16
5.2.130.0200.0469.12
5.2.120.0110.0359.11
5.2.110.0090.0379.12
5.2.100.0110.0379.12
5.2.90.0110.0329.11
5.2.80.0110.0349.10
5.2.70.0100.0349.11
5.2.60.0110.0449.06
5.2.50.0190.0569.04
5.2.40.0120.0369.01
5.2.30.0110.0368.98
5.2.20.0090.0348.97
5.2.10.0100.0358.90
5.2.00.0120.0308.75
5.1.60.0110.0558.04
5.1.50.0110.0288.04
5.1.40.0080.0288.02
5.1.30.0150.0468.37
5.1.20.0100.0298.41
5.1.10.0090.0298.13
5.1.00.0080.0298.12
5.0.50.0070.0256.60
5.0.40.0070.0226.46
5.0.30.0100.0526.27
5.0.20.0090.0216.24
5.0.10.0070.0216.22
5.0.00.0070.0346.21
4.4.90.0060.0184.78
4.4.80.0090.0364.75
4.4.70.0070.0184.76
4.4.60.0060.0174.75
4.4.50.0050.0184.77
4.4.40.0070.0274.71
4.4.30.0060.0184.76
4.4.20.0100.0234.84
4.4.10.0050.0174.85
4.4.00.0060.0284.76
4.3.110.0060.0174.67
4.3.100.0070.0154.66
4.3.90.0060.0164.63
4.3.80.0060.0274.58
4.3.70.0080.0144.63
4.3.60.0060.0164.63
4.3.50.0050.0184.62
4.3.40.0060.0274.54
4.3.30.0050.0173.29
4.3.20.0050.0173.28
4.3.10.0030.0183.24
4.3.00.0000.0236.68

preferences:
142.49 ms | 1394 KiB | 7 Q