3v4l.org

run code in 300+ PHP versions simultaneously
<?php $b = "0"; > if ($b == TRUE) { > print "true"; > } > if ($b == FALSE) { > print "false"; > }

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.0110.03612.48
5.4.280.0080.03412.38
5.4.270.0130.04112.37
5.4.260.0080.05512.37
5.4.250.0080.06512.38
5.4.240.0130.05412.38
5.4.230.0070.05012.37
5.4.220.0100.05212.37
5.4.210.0090.04912.37
5.4.200.0120.05012.36
5.4.190.0110.05012.36
5.4.180.0130.06212.36
5.4.170.0100.05112.37
5.4.160.0100.04312.37
5.4.150.0080.04212.36
5.4.140.0100.05312.05
5.4.130.0080.03612.03
5.4.120.0080.03812.00
5.4.110.0080.03612.00
5.4.100.0080.03612.00
5.4.90.0070.03511.99
5.4.80.0100.04812.00
5.4.70.0070.04911.99
5.4.60.0120.03911.99
5.4.50.0100.03511.99
5.4.40.0140.04911.98
5.4.30.0080.04911.98
5.4.20.0100.06111.97
5.4.10.0050.05411.98
5.4.00.0070.04911.47
5.3.280.0090.04812.71
5.3.270.0110.04212.72
5.3.260.0070.05712.72
5.3.250.0120.05012.72
5.3.240.0070.05512.72
5.3.230.0070.05412.71
5.3.220.0070.04412.68
5.3.210.0090.05712.68
5.3.200.0100.05912.68
5.3.190.0120.04912.68
5.3.180.0150.05212.67
5.3.170.0100.05012.66
5.3.160.0060.03912.68
5.3.150.0090.03612.68
5.3.140.0060.03712.66
5.3.130.0080.03812.66
5.3.120.0090.03912.66
5.3.110.0090.05512.65
5.3.100.0120.04312.11
5.3.90.0060.05512.08
5.3.80.0110.04212.08
5.3.70.0160.07112.07
5.3.60.0160.06512.07
5.3.50.0150.05712.00
5.3.40.0090.05312.00
5.3.30.0080.04611.95
5.3.20.0070.03911.72
5.3.10.0110.03511.70
5.3.00.0070.05511.68
5.2.170.0060.0409.18
5.2.160.0090.0339.18
5.2.150.0040.0369.18
5.2.140.0090.0429.18
5.2.130.0100.0559.13
5.2.120.0130.0479.14
5.2.110.0080.0489.15
5.2.100.0080.0499.14
5.2.90.0120.0399.14
5.2.80.0070.0329.14
5.2.70.0070.0439.14
5.2.60.0090.0409.09
5.2.50.0080.0389.06
5.2.40.0030.0329.03
5.2.30.0040.0329.01
5.2.20.0080.0339.00
5.2.10.0080.0268.93
5.2.00.0060.0308.78
5.1.60.0030.0328.07
5.1.50.0070.0308.06
5.1.40.0050.0258.05
5.1.30.0070.0288.40
5.1.20.0060.0418.42
5.1.10.0090.0358.14
5.1.00.0060.0378.14
5.0.50.0060.0276.62
5.0.40.0050.0276.48
5.0.30.0030.0426.29
5.0.20.0050.0276.27
5.0.10.0040.0226.24
5.0.00.0080.0376.23
4.4.90.0030.0234.78
4.4.80.0060.0134.75
4.4.70.0030.0154.76
4.4.60.0010.0194.75
4.4.50.0020.0164.77
4.4.40.0030.0354.70
4.4.30.0070.0194.76
4.4.20.0070.0134.85
4.4.10.0030.0164.85
4.4.00.0030.0254.75
4.3.110.0040.0224.67
4.3.100.0040.0144.67
4.3.90.0020.0154.63
4.3.80.0040.0234.58
4.3.70.0040.0144.63
4.3.60.0050.0134.63
4.3.50.0020.0174.63
4.3.40.0020.0254.53
4.3.30.0020.0163.29
4.3.20.0040.0153.26
4.3.10.0030.0153.22
4.3.00.0030.0207.85

preferences:
144.25 ms | 1394 KiB | 7 Q