3v4l.org

run code in 300+ PHP versions simultaneously
<?php $false = false; if($false > 0){ echo ">0 does not filter false\r\n"; } if($false >= 0){ echo ">=0 does not filter false\r\n"; } if($false < 0){ echo "<0 does not filter false\r\n"; } if($false <= 0){ echo "<=0 does not filter false\r\n"; } if($false > 1){ echo ">1 does not filter false\r\n"; } if($false >= 1){ echo ">=1 does not filter false\r\n"; } if($false < 1){ echo "<1 does not filter false\r\n"; } if($false <= 1){ echo "<=1 does not filter false\r\n"; } if($false > -1){ echo ">-1 does not filter false\r\n"; } if($false >= -1){ echo ">=-1 does not filter false\r\n"; } if($false < -1){ echo "<-1 does not filter false\r\n"; } if($false <= -1){ echo "<=-1 does not filter false\r\n"; }

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)
8.2.10.0040.00418.10
8.2.00.0070.00019.26
8.1.140.0000.00817.47
8.1.130.0070.00020.23
8.1.120.0100.00818.60
8.1.110.0080.00820.46
8.1.100.0130.00318.73
8.1.90.0110.00418.60
8.1.80.0120.00318.60
8.1.70.0080.00818.72
8.1.60.0140.00518.72
8.1.50.0160.00318.83
8.1.40.0140.00518.72
8.1.30.0150.00418.74
8.1.20.0060.01218.82
8.1.10.0190.00018.75
8.1.00.0130.00318.58
8.0.260.0070.00718.02
8.0.250.0150.00018.03
8.0.240.0140.00018.00
8.0.230.0110.00318.08
8.0.220.0150.00018.07
8.0.210.0110.00418.03
8.0.200.0110.00418.10
8.0.190.0070.00718.00
8.0.180.0050.01018.01
8.0.170.0070.00719.77
8.0.160.0070.00717.99
8.0.150.0100.00517.96
8.0.140.0040.01118.02
8.0.130.0150.00018.09
8.0.120.0090.00617.87
8.0.110.0070.00718.03
8.0.100.0080.00618.02
8.0.90.0140.00017.94
8.0.80.0100.00318.07
8.0.70.0070.00717.94
8.0.60.0000.01517.88
8.0.50.0040.01218.06
8.0.30.0110.00417.89
8.0.20.0080.00818.12
8.0.10.0120.00418.12
7.4.330.0090.00015.57
7.4.320.0120.00217.71
7.4.300.0060.00617.61
7.4.290.0040.00717.59
7.4.280.0110.00217.50
7.4.270.0000.01317.55
7.4.260.0150.00017.79
7.4.250.0050.00517.69
7.4.240.0100.00517.62
7.4.230.0040.01117.57
7.4.220.0110.00417.68
7.4.210.0070.00717.73
7.4.200.0090.00517.73
7.4.190.0080.00517.68
7.4.180.0070.00717.93
7.4.160.0060.00917.74
7.4.150.0000.01317.59
7.4.140.0120.00017.52
7.4.130.0100.00517.53
7.4.120.0040.01217.49
7.4.110.0100.00517.66
7.4.100.0080.00417.65
7.4.90.0140.00017.50
7.4.80.0140.00017.67
7.4.70.0050.01017.52
7.4.60.0120.00317.49
7.4.50.0130.00017.42
7.4.40.0130.00017.54
7.4.30.0130.00017.49
7.4.20.0070.00717.60
7.4.10.0110.00417.51
7.4.00.0060.00617.61

preferences:
11.57 ms | 403 KiB | 5 Q