3v4l.org

run code in 300+ PHP versions simultaneously
<?php $split = str_replace("\"","",\"user1\",\"user2\""; $usernames = explode(",",$split); $a = $usernames; var_dump($a);

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.350.0120.08412.01
5.4.340.0210.05512.01
5.4.320.0150.05212.49
5.4.310.0100.05312.49
5.4.300.0220.08712.49
5.4.290.0150.07612.49
5.4.280.0090.06312.39
5.4.270.0400.12412.39
5.4.260.0380.09912.39
5.4.250.0160.07812.39
5.4.240.0220.10012.39
5.4.230.0180.07312.38
5.4.220.0240.10412.38
5.4.210.0100.07312.38
5.4.200.0140.10312.38
5.4.190.0080.07512.38
5.4.180.0140.07512.38
5.4.170.0240.10512.38
5.4.160.0170.07212.38
5.4.150.0170.07212.38
5.4.140.0220.12112.07
5.4.130.0170.08112.05
5.4.120.0120.05912.01
5.4.110.0110.07112.01
5.4.100.0090.04212.01
5.4.90.0350.10812.01
5.4.80.0130.10312.01
5.4.70.0160.09112.01
5.4.60.0110.06812.01
5.4.50.0110.04612.01
5.4.40.0080.04912.00
5.4.30.0060.06111.99
5.4.20.0110.07111.98
5.4.10.0090.04411.99
5.4.00.0170.06711.48
5.3.290.0110.06612.80
5.3.280.0140.06112.71
5.3.270.0110.03712.72
5.3.260.0120.08012.71
5.3.250.0060.05012.72
5.3.240.0110.04012.72
5.3.230.0170.06912.71
5.3.220.0080.04612.68
5.3.210.0070.04912.68
5.3.200.0090.03712.68
5.3.190.0190.08412.68
5.3.180.0110.06212.67
5.3.170.0140.06812.67
5.3.160.0130.05412.67
5.3.150.0090.05212.67
5.3.140.0070.04812.66
5.3.130.0170.05212.66
5.3.120.0070.03912.66
5.3.110.0110.03512.66
5.3.100.0070.03712.12
5.3.90.0100.04212.08
5.3.80.0070.04912.08
5.3.70.0130.05612.08
5.3.60.0100.06812.06
5.3.50.0120.05112.00
5.3.40.0200.11112.00
5.3.30.0100.06211.95
5.3.20.0060.03811.73
5.3.10.0070.03511.70
5.3.00.0030.06011.68
5.2.170.0070.0329.18
5.2.160.0140.0629.18
5.2.150.0080.0459.18
5.2.140.0150.0689.18
5.2.130.0160.0409.14
5.2.120.0100.0429.14
5.2.110.0100.0499.14
5.2.100.0120.0409.14
5.2.90.0100.0429.14
5.2.80.0090.0529.14
5.2.70.0130.0449.14
5.2.60.0080.0729.09
5.2.50.0250.0819.06
5.2.40.0130.0789.04
5.2.30.0170.0679.01
5.2.20.0200.0759.00
5.2.10.0070.0838.92
5.2.00.0140.0798.78
5.1.60.0110.0688.07
5.1.50.0100.0588.06
5.1.40.0160.0468.04
5.1.30.0070.0358.40
5.1.20.0080.0348.42
5.1.10.0080.0428.14
5.1.00.0060.0358.14
5.0.50.0070.0296.62
5.0.40.0030.0266.48
5.0.30.0080.0386.29
5.0.20.0010.0296.27
5.0.10.0070.0296.24
5.0.00.0080.0396.23
4.4.90.0050.0214.78
4.4.80.0060.0194.75
4.4.70.0050.0274.76
4.4.60.0040.0204.76
4.4.50.0050.0204.77
4.4.40.0030.0334.71
4.4.30.0050.0194.76
4.4.20.0140.0634.85
4.4.10.0050.0334.84
4.4.00.0050.0334.76
4.3.110.0040.0224.67
4.3.100.0050.0204.66
4.3.90.0100.0274.64
4.3.80.0050.0304.58
4.3.70.0060.0194.63
4.3.60.0020.0224.62
4.3.50.0110.0324.63
4.3.40.0050.0694.54
4.3.30.0040.0203.28
4.3.20.0030.0203.25
4.3.10.0040.0193.22
4.3.00.0100.0236.55

preferences:
147.57 ms | 1398 KiB | 7 Q