3v4l.org

run code in 300+ PHP versions simultaneously
<?php $price_check = '105'; if($price_check > '0'||$filter='0'){ if($price_check < '500' || $filter='501'){} elseif{} }echo $filter;

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.310.0270.07019.31
5.4.300.0230.07319.08
5.4.290.0400.03719.17
5.4.280.0330.04019.06
5.4.270.0230.07019.15
5.4.260.0270.06019.23
5.4.250.0230.04719.21
5.4.240.0300.04719.08
5.4.230.0230.07318.87
5.4.220.0200.04719.22
5.4.210.0200.03719.08
5.4.200.0200.06019.08
5.4.190.0300.06319.33
5.4.180.0170.07719.14
5.4.170.0130.05319.05
5.4.160.0200.04019.15
5.4.150.0230.04319.17
5.4.140.0230.05016.31
5.4.130.0270.06316.32
5.4.120.0200.07316.53
5.4.110.0270.05016.35
5.4.100.0200.03016.40
5.4.90.0170.06716.42
5.4.80.0230.06016.45
5.4.70.0300.06016.57
5.4.60.0270.05316.17
5.4.50.0330.06016.54
5.4.40.0230.06316.56
5.4.30.0230.06316.15
5.4.20.0230.05016.42
5.4.10.0230.07316.51
5.4.00.0230.03315.80
5.3.280.0300.06014.64
5.3.270.0300.06314.51
5.3.260.0200.04314.52
5.3.250.0270.04014.59
5.3.240.0200.03714.45
5.3.230.0200.05714.54
5.3.220.0270.06014.52
5.3.210.0230.07014.51
5.3.200.0200.05014.66
5.3.190.0200.03714.61
5.3.180.0170.05314.44
5.3.170.0170.08014.51
5.3.160.0230.06014.51
5.3.150.0270.07014.42
5.3.140.0300.06714.51
5.3.130.0170.06714.39
5.3.120.0270.06714.39
5.3.110.0200.08014.50
5.3.100.0330.06014.02
5.3.90.0270.07314.07
5.3.80.0270.06313.98
5.3.70.0230.06713.83
5.3.60.0300.05713.78
5.3.50.0270.06013.80
5.3.40.0330.04713.89
5.3.30.0200.03713.86
5.3.20.0230.05313.63
5.3.10.0300.04013.61
5.3.00.0230.04313.59
5.2.170.0170.06011.97
5.2.160.0170.05011.97
5.2.150.0170.04011.97
5.2.140.0230.06011.97
5.2.130.0200.06011.97
5.2.120.0270.05011.97
5.2.110.0200.05311.97
5.2.100.0270.04711.97
5.2.90.0130.04311.97
5.2.80.0170.04311.97
5.2.70.0200.06311.97
5.2.60.0230.05011.97
5.2.50.0170.04311.97
5.2.40.0100.04311.97
5.2.30.0170.06311.97
5.2.20.0130.06311.97
5.2.10.0230.05011.97
5.2.00.0170.06011.97
5.1.60.0170.04311.97
5.1.50.0230.03711.97
5.1.40.0170.03311.97
5.1.30.0130.04311.97
5.1.20.0130.03311.97
5.1.10.0100.05011.97
5.1.00.0170.02711.97
5.0.50.0100.02011.97
5.0.40.0100.03011.97
5.0.30.0070.06711.97
5.0.20.0070.04011.97
5.0.10.0130.03311.97
5.0.00.0100.05311.97
4.4.90.0070.03711.97
4.4.80.0100.03311.97
4.4.70.0100.02711.97
4.4.60.0100.02711.97
4.4.50.0070.02311.97
4.4.40.0070.05311.97
4.4.30.0070.02311.97
4.4.20.0100.03311.97
4.4.10.0100.01311.97
4.4.00.0070.05311.97
4.3.110.0100.03311.97
4.3.100.0170.01711.97
4.3.90.0170.02311.97
4.3.80.0100.04011.97
4.3.70.0070.03311.97
4.3.60.0070.02311.97
4.3.50.0070.03711.97
4.3.40.0070.05311.97
4.3.30.0030.02711.97
4.3.20.0030.03011.97
4.3.10.0070.02011.97
4.3.00.0100.03011.97

preferences:
137.93 ms | 1394 KiB | 7 Q