3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(!(substr($_SESSION['api_url_creds'], -strlen('/')) === '/')){ echo 'test' }

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.260.0060.03712.36
5.4.250.0020.04612.36
5.4.240.0060.03712.36
5.4.230.0050.03912.36
5.4.220.0080.03512.36
5.4.210.0070.03712.36
5.4.200.0040.04112.36
5.4.190.0060.03812.36
5.4.180.0030.04112.35
5.4.170.0060.04312.36
5.4.160.0070.03912.35
5.4.150.0140.04812.35
5.4.140.0090.05012.04
5.4.130.0090.04412.02
5.4.120.0100.04411.99
5.4.110.0090.04611.98
5.4.100.0110.04411.98
5.4.90.0110.05611.98
5.4.80.0110.04811.98
5.4.70.0050.04011.97
5.4.60.0060.03711.98
5.4.50.0090.04111.97
5.4.40.0070.03511.96
5.4.30.0090.03611.96
5.4.20.0070.03811.96
5.4.10.0090.04611.96
5.4.00.0070.04211.45
5.3.280.0070.04612.71
5.3.270.0060.04312.72
5.3.260.0040.04412.72
5.3.250.0070.04012.72
5.3.240.0070.04412.72
5.3.230.0040.04212.71
5.3.220.0090.04312.68
5.3.210.0110.04412.68
5.3.200.0050.03912.68
5.3.190.0060.03912.68
5.3.180.0040.04212.68
5.3.170.0060.04312.67
5.3.160.0080.03812.67
5.3.150.0090.04212.67
5.3.140.0090.05012.66
5.3.130.0040.04412.66
5.3.120.0060.04112.66
5.3.110.0130.04612.66
5.3.100.0190.05612.12
5.3.90.0070.05312.08
5.3.80.0080.04212.08
5.3.70.0070.04412.07
5.3.60.0050.04112.06
5.3.50.0080.04812.00
5.3.40.0130.05012.00
5.3.30.0110.04911.94
5.3.20.0130.03811.70
5.3.10.0080.04811.65
5.3.00.0070.04911.64
5.2.170.0080.0409.14
5.2.160.0080.0389.14
5.2.150.0110.0549.14
5.2.140.0100.0519.14
5.2.130.0110.0589.10
5.2.120.0080.0569.10
5.2.110.0110.0409.11
5.2.100.0080.0359.11
5.2.90.0060.0329.10
5.2.80.0040.0339.10
5.2.70.0070.0499.09
5.2.60.0130.0439.05
5.2.50.0110.0309.02
5.2.40.0040.0359.00
5.2.30.0070.0438.97
5.2.20.0060.0298.96
5.2.10.0050.0308.88
5.2.00.0050.0318.74
5.1.60.0060.0248.03
5.1.50.0050.0298.02
5.1.40.0060.0488.02
5.1.30.0150.0568.36
5.1.20.0060.0298.38
5.1.10.0140.0598.11
5.1.00.0040.0288.11
5.0.50.0050.0216.58
5.0.40.0070.0186.44
5.0.30.0030.0376.26
5.0.20.0070.0306.23
5.0.10.0040.0226.20
5.0.00.0030.0336.20
4.4.90.0030.0174.78
4.4.80.0040.0154.75
4.4.70.0040.0164.75
4.4.60.0030.0174.75
4.4.50.0040.0154.77
4.4.40.0020.0344.71
4.4.30.0030.0184.75
4.4.20.0040.0214.84
4.4.10.0040.0214.85
4.4.00.0020.0334.76
4.3.110.0060.0194.67
4.3.100.0060.0244.66
4.3.90.0070.0164.63
4.3.80.0020.0274.58
4.3.70.0030.0164.63
4.3.60.0050.0134.63
4.3.50.0040.0154.62
4.3.40.0020.0344.54
4.3.30.0040.0143.27
4.3.20.0020.0163.25
4.3.10.0010.0163.21
4.3.00.0130.0306.99

preferences:
140.04 ms | 1394 KiB | 7 Q