3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Positive numbers: $res5[0][0]="tag1,tag10,tag11,tag13,tag15,tag17,tag19,tag20,tag4,tag9,tag8,tag7,tag6,tag5,tag3,tag2,tag18,tag16,tag14,tag12"; if (strpos($res5[0][0], 'tag') !== false) { $str1=substr($res5[0][0],0,3); $str2=preg_replace("/tag/","",substr($res5[0][0],3)); $html="<td style='word-wrap: break-word; word-break:break-all;'>".$str1.$str2"</td>"; echo $html; } ?>

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.290.0080.04012.50
5.4.280.0110.04812.39
5.4.270.0080.05112.39
5.4.260.0090.05012.39
5.4.250.0140.04912.39
5.4.240.0120.05112.39
5.4.230.0080.04112.39
5.4.220.0080.04012.39
5.4.210.0060.03812.38
5.4.200.0050.04212.39
5.4.190.0080.04812.38
5.4.180.0070.04912.38
5.4.170.0080.03712.39
5.4.160.0070.03812.39
5.4.150.0120.04512.38
5.4.140.0160.04712.07
5.4.130.0100.04312.05
5.4.120.0160.06012.02
5.4.110.0170.06312.02
5.4.100.0100.04512.01
5.4.90.0110.03812.02
5.4.80.0100.05012.02
5.4.70.0090.05012.01
5.4.60.0070.04812.01
5.4.50.0100.04712.01
5.4.40.0080.04812.00
5.4.30.0090.04411.99
5.4.20.0120.05411.99
5.4.10.0080.05012.00
5.4.00.0090.03711.48
5.3.280.0130.05312.71
5.3.270.0120.05812.73
5.3.260.0080.04612.71
5.3.250.0050.04512.71
5.3.240.0090.03812.72
5.3.230.0080.05312.71
5.3.220.0080.04112.68
5.3.210.0090.04212.68
5.3.200.0070.04512.68
5.3.190.0080.05112.67
5.3.180.0090.05712.68
5.3.170.0090.04212.67
5.3.160.0110.05012.68
5.3.150.0100.05312.67
5.3.140.0090.05212.66
5.3.130.0240.08112.66
5.3.120.0080.05712.66
5.3.110.0290.06812.66
5.3.100.0080.04612.12
5.3.90.0090.05312.08
5.3.80.0120.04712.07
5.3.70.0280.07412.08
5.3.60.0080.05112.06
5.3.50.0150.05012.00
5.3.40.0070.04412.00
5.3.30.0050.04211.95
5.3.20.0080.04911.73
5.3.10.0080.04011.70
5.3.00.0100.05811.68
5.2.170.0080.0549.18
5.2.160.0050.0429.19
5.2.150.0110.0389.18
5.2.140.0090.0459.18
5.2.130.0080.0319.14
5.2.120.0050.0389.14
5.2.110.0080.0619.14
5.2.100.0170.0589.15
5.2.90.0160.0539.14
5.2.80.0050.0309.14
5.2.70.0060.0389.14
5.2.60.0100.0609.09
5.2.50.0110.0349.06
5.2.40.0050.0299.04
5.2.30.0070.0299.02
5.2.20.0060.0289.00
5.2.10.0090.0258.93
5.2.00.0070.0288.79
5.1.60.0040.0288.07
5.1.50.0070.0328.07
5.1.40.0110.0258.05
5.1.30.0060.0288.40
5.1.20.0100.0378.43
5.1.10.0050.0288.15
5.1.00.0070.0248.15
5.0.50.0050.0216.62
5.0.40.0050.0216.48
5.0.30.0050.0346.29
5.0.20.0050.0226.27
5.0.10.0010.0246.25
5.0.00.0020.0326.24
4.4.90.0050.0134.78
4.4.80.0030.0154.75
4.4.70.0040.0174.75
4.4.60.0010.0184.75
4.4.50.0030.0154.77
4.4.40.0030.0284.71
4.4.30.0040.0144.76
4.4.20.0030.0164.84
4.4.10.0040.0174.85
4.4.00.0040.0254.76
4.3.110.0050.0144.67
4.3.100.0030.0154.66
4.3.90.0020.0184.63
4.3.80.0060.0344.59
4.3.70.0050.0204.63
4.3.60.0060.0254.62
4.3.50.0060.0164.63
4.3.40.0040.0424.54
4.3.30.0030.0223.29
4.3.20.0030.0193.26
4.3.10.0020.0173.23
4.3.00.0030.0238.93

preferences:
144.61 ms | 1394 KiB | 7 Q