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.0070.04512.50
5.4.280.0070.04012.39
5.4.270.0110.04912.39
5.4.260.0070.05812.39
5.4.250.0230.06012.39
5.4.240.0130.05812.39
5.4.230.0090.06512.39
5.4.220.0120.06112.38
5.4.210.0070.03712.39
5.4.200.0060.04012.39
5.4.190.0070.03612.38
5.4.180.0080.03712.38
5.4.170.0070.04212.39
5.4.160.0080.03612.39
5.4.150.0070.03812.38
5.4.140.0120.03612.07
5.4.130.0100.03712.05
5.4.120.0100.03812.02
5.4.110.0070.03912.01
5.4.100.0070.03912.01
5.4.90.0080.03912.02
5.4.80.0090.03712.02
5.4.70.0090.03512.01
5.4.60.0090.04012.01
5.4.50.0090.04412.01
5.4.40.0150.08512.00
5.4.30.0100.04911.99
5.4.20.0220.09211.99
5.4.10.0070.05511.99
5.4.00.0080.05311.49
5.3.280.0090.05412.71
5.3.270.0140.05512.73
5.3.260.0080.06312.72
5.3.250.0180.06012.72
5.3.240.0130.06012.72
5.3.230.0130.06112.70
5.3.220.0150.06512.68
5.3.210.0110.06712.68
5.3.200.0100.06412.68
5.3.190.0220.10912.68
5.3.180.0150.06512.67
5.3.170.0110.07012.67
5.3.160.0100.06012.67
5.3.150.0090.05412.67
5.3.140.0120.06712.66
5.3.130.0100.05612.66
5.3.120.0100.05712.66
5.3.110.0250.10112.65
5.3.100.0050.05312.12
5.3.90.0120.05712.09
5.3.80.0140.04812.08
5.3.70.0100.05012.08
5.3.60.0080.04912.07
5.3.50.0110.05612.00
5.3.40.0100.06312.00
5.3.30.0100.05011.95
5.3.20.0130.06011.73
5.3.10.0110.06511.70
5.3.00.0080.04111.68
5.2.170.0060.0349.18
5.2.160.0080.0459.18
5.2.150.0110.0419.18
5.2.140.0070.0409.18
5.2.130.0060.0319.14
5.2.120.0050.0329.14
5.2.110.0070.0379.15
5.2.100.0050.0399.15
5.2.90.0150.0289.15
5.2.80.0110.0339.14
5.2.70.0070.0439.14
5.2.60.0150.0559.10
5.2.50.0130.0399.07
5.2.40.0100.0399.04
5.2.30.0120.0479.02
5.2.20.0130.0419.01
5.2.10.0070.0448.93
5.2.00.0080.0458.79
5.1.60.0090.0368.07
5.1.50.0080.0368.07
5.1.40.0120.0378.05
5.1.30.0150.0568.41
5.1.20.0100.0368.43
5.1.10.0060.0388.15
5.1.00.0090.0378.15
5.0.50.0050.0306.63
5.0.40.0100.0246.48
5.0.30.0070.0436.30
5.0.20.0030.0306.27
5.0.10.0070.0296.25
5.0.00.0090.0406.24
4.4.90.0060.0224.78
4.4.80.0070.0214.75
4.4.70.0070.0214.76
4.4.60.0050.0224.75
4.4.50.0060.0224.77
4.4.40.0070.0314.71
4.4.30.0050.0224.76
4.4.20.0050.0234.84
4.4.10.0080.0194.85
4.4.00.0060.0324.75
4.3.110.0060.0374.67
4.3.100.0110.0254.67
4.3.90.0060.0204.63
4.3.80.0060.0324.58
4.3.70.0060.0254.63
4.3.60.0060.0354.63
4.3.50.0110.0184.63
4.3.40.0070.0314.54
4.3.30.0050.0183.29
4.3.20.0050.0213.26
4.3.10.0040.0213.23
4.3.00.0130.0178.93

preferences:
147.45 ms | 1394 KiB | 7 Q