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.0080.04012.02
5.4.340.0070.03612.01
5.4.320.0080.04312.50
5.4.310.0100.04212.49
5.4.300.0080.04012.50
5.4.290.0030.04912.49
5.4.280.0180.08212.39
5.4.270.0200.06412.39
5.4.260.0130.04012.39
5.4.250.0170.05012.39
5.4.240.0130.06312.39
5.4.230.0080.05712.38
5.4.220.0060.05112.38
5.4.210.0110.09312.38
5.4.200.0130.04612.38
5.4.190.0120.04912.38
5.4.180.0100.04712.38
5.4.170.0120.04412.38
5.4.160.0120.07812.38
5.4.150.0080.04012.38
5.4.140.0070.04912.07
5.4.130.0310.09112.05
5.4.120.0100.05312.01
5.4.110.0170.08412.01
5.4.100.0140.04112.01
5.4.90.0090.04912.01
5.4.80.0070.05212.01
5.4.70.0050.04212.01
5.4.60.0050.04412.01
5.4.50.0080.03812.00
5.4.40.0040.03711.99
5.4.30.0100.03411.99
5.4.20.0060.04711.99
5.4.10.0070.03912.00
5.4.00.0080.03711.48
5.3.290.0080.03912.80
5.3.280.0070.03812.71
5.3.270.0050.04312.73
5.3.260.0070.04012.72
5.3.250.0080.03912.72
5.3.240.0080.04412.72
5.3.230.0060.04212.71
5.3.220.0060.04012.68
5.3.210.0070.03812.68
5.3.200.0080.05712.68
5.3.190.0150.05812.68
5.3.180.0110.05112.67
5.3.170.0120.04512.67
5.3.160.0090.05612.67
5.3.150.0130.04112.67
5.3.140.0150.05412.66
5.3.130.0060.05312.66
5.3.120.0090.06412.66
5.3.110.0150.05112.66
5.3.100.0120.06212.12
5.3.90.0170.06812.09
5.3.80.0120.05712.07
5.3.70.0050.04412.07
5.3.60.0050.04012.06
5.3.50.0100.03812.00
5.3.40.0060.06812.00
5.3.30.0080.04211.95
5.3.20.0100.05711.72
5.3.10.0110.04311.70
5.3.00.0140.04911.68
5.2.170.0120.0759.18
5.2.160.0100.0379.18
5.2.150.0100.0399.18
5.2.140.0060.0359.18
5.2.130.0050.0319.13
5.2.120.0080.0399.14
5.2.110.0100.0309.14
5.2.100.0060.0459.14
5.2.90.0050.0389.14
5.2.80.0040.0469.14
5.2.70.0090.0389.14
5.2.60.0060.0409.09
5.2.50.0060.0329.06
5.2.40.0090.0309.04
5.2.30.0050.0339.02
5.2.20.0060.0329.00
5.2.10.0050.0298.93
5.2.00.0070.0288.78
5.1.60.0060.0288.07
5.1.50.0050.0298.06
5.1.40.0040.0268.05
5.1.30.0050.0298.40
5.1.20.0090.0268.41
5.1.10.0040.0298.14
5.1.00.0020.0298.14
5.0.50.0090.0326.63
5.0.40.0040.0216.48
5.0.30.0030.0326.29
5.0.20.0040.0206.27
5.0.10.0030.0216.24
5.0.00.0060.0336.23
4.4.90.0100.0324.78
4.4.80.0050.0234.75
4.4.70.0000.0204.76
4.4.60.0040.0154.75
4.4.50.0010.0214.77
4.4.40.0040.0264.71
4.4.30.0050.0134.76
4.4.20.0050.0154.84
4.4.10.0030.0184.85
4.4.00.0010.0284.76
4.3.110.0030.0164.67
4.3.100.0050.0154.66
4.3.90.0030.0164.64
4.3.80.0000.0284.58
4.3.70.0040.0134.63
4.3.60.0040.0134.63
4.3.50.0040.0154.63
4.3.40.0040.0244.54
4.3.30.0010.0183.28
4.3.20.0020.0173.26
4.3.10.0020.0163.22
4.3.00.0130.0206.54

preferences:
144.17 ms | 1386 KiB | 7 Q