3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 1; $b = 2; $c = 3; if ($a != "aa" && $b != "bb" && $c != 3) { echo "1. evaled to true"; } //now one of the conditions will eval to 'false' $c = 'blah'; if ($a != "aa" && $b != "bb" && $c != 3)//($c != 3) evals to TRUE, because $c is indeed NOT 3 { echo "2. evaled to true"; }

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.0070.01118.15
8.3.50.0060.01016.26
8.3.40.0070.00718.71
8.3.30.0100.01018.68
8.3.20.0080.00019.20
8.3.10.0040.00421.85
8.3.00.0040.00417.67
8.2.180.0110.01117.98
8.2.170.0070.01118.83
8.2.160.0070.01118.94
8.2.150.0080.00024.18
8.2.140.0040.00824.66
8.2.130.0040.00419.76
8.2.120.0070.00026.35
8.2.110.0000.00822.30
8.2.100.0040.00817.78
8.2.90.0030.00617.63
8.2.80.0050.00318.78
8.2.70.0040.00417.80
8.2.60.0000.00917.63
8.2.50.0030.00617.55
8.2.40.0000.00919.05
8.2.30.0000.00719.44
8.2.20.0000.00718.13
8.2.10.0040.00417.99
8.2.00.0030.00319.43
8.1.280.0150.00425.92
8.1.270.0040.00424.66
8.1.260.0000.00726.35
8.1.250.0080.00028.09
8.1.240.0090.00019.13
8.1.230.0110.00017.82
8.1.220.0000.00817.79
8.1.210.0030.00618.77
8.1.200.0000.00817.23
8.1.190.0000.01017.25
8.1.180.0050.00318.10
8.1.170.0030.00618.50
8.1.160.0050.00218.87
8.1.150.0070.00018.80
8.1.140.0040.00417.66
8.1.130.0000.00718.93
8.1.120.0080.00017.36
8.1.110.0030.00417.47
8.1.100.0020.00517.52
8.1.90.0040.00417.48
8.1.80.0090.00017.46
8.1.70.0040.00417.35
8.1.60.0000.00817.63
8.1.50.0000.00817.52
8.1.40.0000.00817.52
8.1.30.0000.00817.61
8.1.20.0020.00517.71
8.1.10.0000.00817.51
8.1.00.0000.00717.33
8.0.300.0000.00720.62
8.0.290.0030.00516.75
8.0.280.0040.00418.50
8.0.270.0050.00317.26
8.0.260.0030.00317.26
8.0.250.0070.00017.01
8.0.240.0030.00316.90
8.0.230.0000.00716.89
8.0.220.0030.00316.80
8.0.210.0000.00716.84
8.0.200.0000.00716.98
8.0.190.0080.00016.98
8.0.180.0000.00716.93
8.0.170.0040.00416.90
8.0.160.0050.00316.88
8.0.150.0040.00416.72
8.0.140.0000.00716.77
8.0.130.0030.00313.33
8.0.120.0040.00416.85
8.0.110.0030.00516.79
8.0.100.0070.00016.77
8.0.90.0050.00316.75
8.0.80.0090.00616.92
8.0.70.0070.00016.91
8.0.60.0000.00716.84
8.0.50.0000.00717.00
8.0.30.0080.01217.18
8.0.20.0140.00617.40
8.0.10.0030.00516.89
8.0.00.0080.01016.98
7.4.330.0050.00015.55
7.4.320.0060.00016.52
7.4.300.0070.00016.52
7.4.290.0000.00716.60
7.4.280.0040.00416.52
7.4.270.0030.00316.56
7.4.260.0030.00316.61
7.4.250.0040.00416.61
7.4.240.0050.00316.57
7.4.230.0040.00416.43
7.4.220.0050.00316.42
7.4.210.0110.00516.56
7.4.200.0000.00816.61
7.4.160.0110.00416.50
7.4.140.0120.00717.86
7.4.130.0110.01216.43
7.4.120.0140.00816.53
7.4.110.0130.00416.62
7.4.100.0090.00616.54
7.4.90.0000.01716.46
7.4.80.0090.01919.39
7.4.70.0110.00716.38
7.4.60.0150.00016.52
7.4.50.0060.00916.37
7.4.40.0100.00716.48
7.4.00.0100.00314.85
7.3.330.0000.00513.07
7.3.320.0030.00313.14
7.3.310.0030.00316.04
7.3.300.0040.00416.12
7.3.290.0000.00616.11
7.3.280.0180.00916.18
7.3.260.0040.01316.31
7.3.240.0060.01016.51
7.3.230.0060.01016.40
7.3.210.0070.01716.38
7.3.200.0100.01316.56
7.3.190.0130.00716.52
7.3.180.0100.00716.45
7.3.170.0120.00616.25
7.3.160.0030.01416.35
7.3.120.0030.01314.71
7.3.110.0000.01414.71
7.3.100.0030.00914.70
7.3.90.0120.00414.55
7.3.80.0000.01414.90
7.3.70.0140.00414.77
7.3.60.0000.01214.84
7.3.50.0000.01514.61
7.3.40.0100.00314.70
7.3.30.0060.00614.83
7.3.20.0090.00316.58
7.3.10.0040.01116.62
7.3.00.0000.01316.64
7.2.330.0120.00616.50
7.2.320.0090.00916.47
7.2.310.0070.01416.54
7.2.300.0170.00816.61
7.2.290.0050.01216.61
7.2.240.0060.00914.91
7.2.230.0090.00614.92
7.2.220.0090.00914.89
7.2.210.0040.01415.11
7.2.200.0120.00614.84
7.2.190.0060.00714.94
7.2.180.0000.01114.96
7.2.170.0030.00814.81
7.2.160.0070.00715.04
7.2.150.0120.00316.70
7.2.140.0030.00816.91
7.2.130.0060.00316.85
7.2.120.0030.00816.94
7.2.110.0000.00916.79
7.2.100.0070.01116.65
7.2.90.0040.01216.89
7.2.80.0110.00416.80
7.2.70.0060.00916.99
7.2.60.0050.00916.85
7.2.50.0070.00716.96
7.2.40.3640.00817.37
7.2.30.2000.00917.40
7.2.20.2320.01117.17
7.2.10.1940.01117.22
7.2.00.1950.01317.17
7.1.330.0030.01315.34
7.1.320.0070.01015.79
7.1.310.0090.00615.88
7.1.300.0000.00715.59
7.1.290.0000.01215.37
7.1.280.0090.00615.32
7.1.270.0000.01315.66
7.1.260.0070.01015.62
7.1.250.0060.00315.80
7.1.200.0030.00515.69
7.1.160.4800.01016.16
7.1.150.4190.00716.71
7.1.140.4350.01016.49
7.1.130.3380.00816.45
7.1.120.3730.00516.54
7.1.110.4360.00915.61
7.1.100.4090.01015.70
7.1.90.7050.00716.07
7.1.80.7360.00915.38
7.1.70.7120.00715.06
7.1.60.7350.01733.00
7.1.50.9320.01332.91
7.1.41.1190.01932.50
7.1.31.0690.01132.48
7.1.21.1500.01032.62
7.1.11.0830.00714.80
7.1.00.0110.01414.55

preferences:
34.62 ms | 400 KiB | 5 Q