3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'xi@fa.net echo substr($var, strpos($var, ".") + 1); echo "\n"; echo substr($var, strpos($var, "."));

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.270.0100.03612.36
5.4.260.0050.04312.36
5.4.250.0070.03812.36
5.4.240.0040.04612.36
5.4.230.0050.04512.36
5.4.220.0120.04912.36
5.4.210.0060.04512.35
5.4.200.0070.04112.35
5.4.190.0080.03812.35
5.4.180.0060.04412.35
5.4.170.0070.03812.36
5.4.160.0050.03512.35
5.4.150.0050.03912.35
5.4.140.0070.03812.04
5.4.130.0080.04312.02
5.4.120.0070.04511.98
5.4.110.0110.03411.98
5.4.100.0040.03911.98
5.4.90.0050.04211.98
5.4.80.0130.05211.98
5.4.70.0070.04211.98
5.4.60.0070.03711.98
5.4.50.0070.03911.98
5.4.40.0080.03611.96
5.4.30.0100.05711.96
5.4.20.0070.03911.96
5.4.10.0060.03611.96
5.4.00.0040.03811.45
5.3.280.0070.04512.71
5.3.270.0120.04912.72
5.3.260.0040.05212.72
5.3.250.0090.05112.72
5.3.240.0080.04212.72
5.3.230.0080.03912.71
5.3.220.0070.03812.68
5.3.210.0070.04012.68
5.3.200.0090.03812.68
5.3.190.0070.03812.68
5.3.180.0090.03912.67
5.3.170.0070.04912.67
5.3.160.0050.03912.67
5.3.150.0070.03912.67
5.3.140.0050.04112.66
5.3.130.0080.04212.66
5.3.120.0070.04112.66
5.3.110.0070.03812.66
5.3.100.0060.03812.11
5.3.90.0070.03712.09
5.3.80.0050.03612.08
5.3.70.0060.03912.07
5.3.60.0060.04312.06
5.3.50.0100.04312.00
5.3.40.0050.03912.00
5.3.30.0070.03911.94
5.3.20.0060.03711.70
5.3.10.0050.03611.65
5.3.00.0070.03811.64
5.2.170.0040.0309.14
5.2.160.0050.0299.14
5.2.150.0080.0359.14
5.2.140.0050.0389.14
5.2.130.0080.0429.10
5.2.120.0050.0359.10
5.2.110.0040.0369.11
5.2.100.0050.0349.10
5.2.90.0060.0299.10
5.2.80.0050.0319.09
5.2.70.0040.0319.09
5.2.60.0040.0339.05
5.2.50.0050.0329.02
5.2.40.0050.0338.99
5.2.30.0040.0318.97
5.2.20.0070.0328.96
5.2.10.0100.0258.88
5.2.00.0070.0328.74
5.1.60.0040.0308.03
5.1.50.0050.0298.03
5.1.40.0040.0258.01
5.1.30.0040.0268.35
5.1.20.0040.0278.38
5.1.10.0040.0308.11
5.1.00.0050.0298.11
5.0.50.0040.0236.58
5.0.40.0050.0236.44
5.0.30.0060.0356.26
5.0.20.0040.0236.23
5.0.10.0050.0206.21
5.0.00.0040.0346.20
4.4.90.0040.0194.78
4.4.80.0030.0214.75
4.4.70.0040.0204.76
4.4.60.0050.0194.76
4.4.50.0040.0204.77
4.4.40.0030.0324.71
4.4.30.0020.0184.76
4.4.20.0040.0214.85
4.4.10.0050.0194.85
4.4.00.0020.0294.76
4.3.110.0030.0184.67
4.3.100.0030.0174.66
4.3.90.0040.0164.63
4.3.80.0020.0254.59
4.3.70.0020.0214.63
4.3.60.0040.0164.63
4.3.50.0020.0164.62
4.3.40.0020.0274.54
4.3.30.0010.0183.27
4.3.20.0020.0173.25
4.3.10.0020.0153.21
4.3.00.0130.0177.38

preferences:
140.14 ms | 1394 KiB | 7 Q