3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = true; $b = true; $c = false; if($a or $b and $c) echo 'true'." "; else echo '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)
8.3.60.0040.02218.31
8.3.50.0080.00816.54
8.3.40.0090.00618.58
8.3.30.0110.00718.69
8.3.20.0080.00021.61
8.3.10.0040.00421.78
8.3.00.0050.00223.71
8.2.180.0150.00618.16
8.2.170.0140.00022.96
8.2.160.0060.01220.27
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0080.00021.12
8.2.110.0150.00319.24
8.2.100.0060.00617.78
8.2.90.0070.00018.16
8.2.80.0040.00417.97
8.2.70.0030.00617.91
8.2.60.0030.00618.16
8.2.50.0000.00818.10
8.2.40.0040.00420.55
8.2.30.0050.00219.23
8.2.20.0000.00817.91
8.2.10.0000.00719.34
8.2.00.0070.00019.11
8.1.280.0170.00325.92
8.1.270.0030.00622.03
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0030.01722.45
8.1.230.0090.00620.80
8.1.220.0040.00417.79
8.1.210.0040.00418.92
8.1.200.0040.00417.35
8.1.190.0050.00317.23
8.1.180.0040.00418.10
8.1.170.0080.00018.45
8.1.160.0030.00518.79
8.1.150.0050.00218.87
8.1.140.0040.00418.89
8.1.130.0000.00720.16
8.1.120.0000.00717.46
8.1.110.0000.00817.46
8.1.100.0000.00817.45
8.1.90.0030.00517.41
8.1.80.0030.00517.41
8.1.70.0050.00317.48
8.1.60.0030.00617.54
8.1.50.0000.00817.46
8.1.40.0040.00417.52
8.1.30.0030.00617.59
8.1.20.0080.00417.54
8.1.10.0040.00417.38
8.1.00.0050.00217.32
8.0.300.0000.00820.07
8.0.290.0070.00016.75
8.0.280.0030.00318.49
8.0.270.0030.00317.21
8.0.260.0000.00618.35
8.0.250.0000.00816.85
8.0.240.0000.00716.93
8.0.230.0000.00716.84
8.0.220.0000.00716.90
8.0.210.0070.00016.77
8.0.200.0030.00316.86
8.0.190.0030.00316.83
8.0.180.0050.00316.93
8.0.170.0090.00016.82
8.0.160.0050.00316.90
8.0.150.0030.00516.81
8.0.140.0030.00316.77
8.0.130.0000.00513.36
8.0.120.0020.00516.82
8.0.110.0030.00516.99
8.0.100.0070.00017.00
8.0.90.0050.00216.78
8.0.80.0170.00316.85
8.0.70.0030.00516.66
8.0.60.0000.00716.80
8.0.50.0030.00316.86
8.0.30.0060.01517.07
8.0.20.0030.01717.10
8.0.10.0000.00717.04
8.0.00.0120.00716.79
7.4.330.0070.00015.55
7.4.320.0070.00016.52
7.4.300.0000.00716.54
7.4.290.0040.00416.56
7.4.280.0040.00416.58
7.4.270.0030.00316.45
7.4.260.0030.00316.61
7.4.250.0030.00316.42
7.4.240.0040.00416.57
7.4.230.0040.00416.66
7.4.220.0040.00416.24
7.4.210.0080.00616.54
7.4.200.0000.00716.33
7.4.160.0100.00616.44
7.4.140.0130.01017.86
7.4.130.0110.00716.57
7.4.120.0120.00616.52
7.4.110.0100.00716.59
7.4.100.0030.01416.52
7.4.90.0100.01016.49
7.4.80.0040.01819.39
7.4.70.0100.00616.35
7.4.60.0040.01116.26
7.4.50.0070.01116.29
7.4.40.0120.00316.50
7.4.00.0000.01414.58
7.3.330.0000.00513.03
7.3.320.0000.00513.03
7.3.310.0050.00216.04
7.3.300.0060.00016.22
7.3.290.0040.00416.13
7.3.280.0120.01016.20
7.3.260.0090.01016.24
7.3.240.0090.00816.41
7.3.230.0030.01316.48
7.3.210.0100.00616.53
7.3.200.0120.00416.42
7.3.190.0160.00616.12
7.3.180.0040.01216.45
7.3.170.0130.00916.40
7.3.160.0030.01616.52
7.3.120.0060.00814.92
7.3.110.0030.01314.90
7.3.100.0050.00514.65
7.3.90.0060.00614.57
7.3.80.0040.01114.89
7.3.70.0040.01114.51
7.3.60.0100.00814.73
7.3.50.0110.00214.81
7.3.40.0060.00714.47
7.3.30.0090.00714.62
7.3.20.0070.00716.64
7.3.10.0040.00816.55
7.3.00.0040.01116.64
7.2.330.0060.01516.67
7.2.320.0100.00716.50
7.2.310.0070.01016.54
7.2.300.0070.01016.31
7.2.290.0040.01216.49
7.2.240.0000.00914.77
7.2.230.0040.00814.82
7.2.220.0030.01014.69
7.2.210.0070.00715.13
7.2.200.0040.01014.95
7.2.190.0050.01014.90
7.2.180.0080.00814.71
7.2.170.0050.01014.79
7.2.160.0080.00514.75
7.2.150.0060.00816.74
7.2.140.0080.00516.63
7.2.130.0060.00716.73
7.2.120.0120.00916.73
7.2.110.0130.00916.83
7.2.100.0100.00816.81
7.2.90.0080.01416.81
7.2.80.0090.01316.80
7.2.70.0060.00816.71
7.2.60.0080.01116.70
7.2.50.0100.00416.84
7.2.40.0090.00916.63
7.2.30.0060.01316.81
7.2.20.0040.00916.70
7.2.10.0070.00916.76
7.2.00.0060.00816.51
7.1.330.0070.00715.67
7.1.320.0040.01115.55
7.1.310.0050.00515.54
7.1.300.0060.01215.65
7.1.290.0070.00615.50
7.1.280.0030.01015.58
7.1.270.0090.00315.70
7.1.260.0070.00515.61
7.1.250.0060.00815.55

preferences:
36.38 ms | 401 KiB | 5 Q