3v4l.org

run code in 300+ PHP versions simultaneously
<?php function teste() { return NULL } $x = teste() || 'ASD'; echo $x;

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.320.0060.03712.51
5.4.310.0060.03912.51
5.4.300.0080.03912.51
5.4.290.0110.04112.51
5.4.280.0050.03612.40
5.4.270.0080.03812.41
5.4.260.0080.03612.41
5.4.250.0090.04112.40
5.4.240.0030.04512.40
5.4.230.0090.05012.40
5.4.220.0100.03812.39
5.4.210.0070.04412.39
5.4.200.0080.04212.39
5.4.190.0070.03912.39
5.4.180.0100.03512.39
5.4.170.0100.04712.40
5.4.160.0110.03712.40
5.4.150.0090.03912.39
5.4.140.0100.03712.08
5.4.130.0090.04112.07
5.4.120.0080.05312.03
5.4.110.0070.04412.03
5.4.100.0110.04312.03
5.4.90.0070.05012.03
5.4.80.0140.04112.03
5.4.70.0060.03612.02
5.4.60.0080.03512.02
5.4.50.0050.03912.03
5.4.40.0100.04012.01
5.4.30.0090.04812.00
5.4.20.0100.04212.00
5.4.10.0070.04012.01
5.4.00.0060.05311.50
5.3.290.0090.03812.80
5.3.280.0090.03512.71
5.3.270.0080.05212.72
5.3.260.0100.04012.72
5.3.250.0080.04012.72
5.3.240.0060.04712.72
5.3.230.0090.04412.71
5.3.220.0090.03912.68
5.3.210.0100.03912.68
5.3.200.0060.03812.68
5.3.190.0100.04712.68
5.3.180.0040.03812.67
5.3.170.0060.03912.67
5.3.160.0070.03712.68
5.3.150.0090.03812.67
5.3.140.0080.04112.66
5.3.130.0120.04212.66
5.3.120.0100.04212.66
5.3.110.0050.04612.66
5.3.100.0060.03912.13
5.3.90.0090.04712.11
5.3.80.0090.03312.09
5.3.70.0030.04112.09
5.3.60.0070.04212.08
5.3.50.0060.03612.02
5.3.40.0090.04012.02
5.3.30.0070.04111.98
5.3.20.0080.03911.76
5.3.10.0060.04011.73
5.3.00.0090.03411.71
5.2.170.0090.0379.21
5.2.160.0060.0289.22
5.2.150.0040.0349.21
5.2.140.0040.0379.21
5.2.130.0050.0349.17
5.2.120.0070.0279.17
5.2.110.0070.0369.18
5.2.100.0070.0279.18
5.2.90.0040.0319.18
5.2.80.0050.0379.18
5.2.70.0070.0409.17
5.2.60.0030.0349.13
5.2.50.0080.0299.09
5.2.40.0070.0339.07
5.2.30.0050.0379.05
5.2.20.0060.0309.04
5.2.10.0080.0348.95
5.2.00.0060.0298.80
5.1.60.0030.0258.09
5.1.50.0020.0278.08
5.1.40.0060.0238.06
5.1.30.0060.0298.42
5.1.20.0070.0238.43
5.1.10.0050.0258.16
5.1.00.0050.0248.16
5.0.50.0020.0226.64
5.0.40.0040.0196.50
5.0.30.0040.0306.31
5.0.20.0040.0246.29
5.0.10.0040.0196.25
5.0.00.0010.0326.25
4.4.90.0040.0204.78
4.4.80.0040.0184.75
4.4.70.0050.0194.75
4.4.60.0050.0144.76
4.4.50.0020.0194.77
4.4.40.0040.0244.71
4.4.30.0020.0164.76
4.4.20.0040.0144.84
4.4.10.0040.0144.85
4.4.00.0020.0254.76
4.3.110.0050.0134.66
4.3.100.0060.0134.66
4.3.90.0040.0144.63
4.3.80.0050.0304.58
4.3.70.0060.0144.63
4.3.60.0030.0144.63
4.3.50.0010.0174.63
4.3.40.0020.0284.54
4.3.30.0030.0193.30
4.3.20.0030.0143.28
4.3.10.0020.0153.23
4.3.00.0230.02712.16

preferences:
140.34 ms | 1394 KiB | 7 Q