3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test{ private $var = array('password' => 'helo', 'login' => 'jup'); private $wsdl = 'https://' . $var['login'] . ':' . $var['password'] . '@whatever/wsdl.wsdl'; } ?>

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.280.0070.03812.38
5.4.270.0050.05512.38
5.4.260.0090.04212.38
5.4.250.0070.04412.38
5.4.240.0080.04012.38
5.4.230.0120.04712.37
5.4.220.0090.03812.37
5.4.210.0090.04112.37
5.4.200.0090.03512.37
5.4.190.0090.03312.36
5.4.180.0060.03912.36
5.4.170.0090.03612.37
5.4.160.0080.04112.37
5.4.150.0080.03812.36
5.4.140.0180.07412.05
5.4.130.0100.03712.04
5.4.120.0090.04212.00
5.4.110.0100.05612.00
5.4.100.0100.05812.00
5.4.90.0100.05112.00
5.4.80.0100.05112.00
5.4.70.0070.04611.99
5.4.60.0110.06611.99
5.4.50.0120.05411.99
5.4.40.0140.06211.98
5.4.30.0230.07711.97
5.4.20.0100.06311.97
5.4.10.0090.04211.98
5.4.00.0090.05011.47
5.3.280.0180.04912.71
5.3.270.0080.05912.72
5.3.260.0070.06512.72
5.3.250.0080.06012.72
5.3.240.0130.04112.72
5.3.230.0120.05112.71
5.3.220.0070.04512.68
5.3.210.0090.03812.68
5.3.200.0110.03812.68
5.3.190.0110.04912.68
5.3.180.0060.04112.68
5.3.170.0090.03612.67
5.3.160.0050.03812.67
5.3.150.0060.03812.67
5.3.140.0090.03512.66
5.3.130.0050.05912.66
5.3.120.0050.04312.66
5.3.110.0070.04112.66
5.3.100.0100.04912.12
5.3.90.0100.04312.08
5.3.80.0080.05012.07
5.3.70.0070.05112.08
5.3.60.0090.03412.06
5.3.50.0080.03712.00
5.3.40.0050.03912.00
5.3.30.0090.03311.95
5.3.20.0050.03611.73
5.3.10.0050.03811.70
5.3.00.0090.03411.68
5.2.170.0060.0319.18
5.2.160.0080.0429.18
5.2.150.0070.0439.18
5.2.140.0080.0519.18
5.2.130.0090.0459.14
5.2.120.0130.0429.14
5.2.110.0070.0419.15
5.2.100.0040.0319.14
5.2.90.0060.0299.13
5.2.80.0050.0319.14
5.2.70.0080.0319.13
5.2.60.0070.0299.09
5.2.50.0110.0259.06
5.2.40.0040.0309.04
5.2.30.0050.0329.01
5.2.20.0080.0289.00
5.2.10.0040.0308.91
5.2.00.0080.0388.78
5.1.60.0040.0368.06
5.1.50.0040.0358.05
5.1.40.0050.0278.04
5.1.30.0070.0258.39
5.1.20.0090.0298.41
5.1.10.0050.0278.14
5.1.00.0050.0278.14
5.0.50.0070.0176.62
5.0.40.0020.0236.47
5.0.30.0050.0326.28
5.0.20.0050.0186.25
5.0.10.0020.0236.23
5.0.00.0020.0326.22
4.4.90.0050.0254.77
4.4.80.0070.0214.76
4.4.70.0050.0214.75
4.4.60.0040.0224.75
4.4.50.0090.0164.77
4.4.40.0050.0264.71
4.4.30.0020.0174.76
4.4.20.0020.0174.85
4.4.10.0020.0214.84
4.4.00.0060.0294.76
4.3.110.0060.0254.67
4.3.100.0050.0204.66
4.3.90.0030.0154.64
4.3.80.0030.0334.59
4.3.70.0070.0164.63
4.3.60.0040.0214.63
4.3.50.0060.0234.63
4.3.40.0040.0244.53
4.3.30.0020.0193.29
4.3.20.0020.0243.27
4.3.10.0020.0163.23
4.3.00.0030.0236.81

preferences:
136.85 ms | 1394 KiB | 7 Q