3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user_is_admin = 0; $user_is_owner = 1; $has_permission_1 = $user_is_admin || $user_is_owner; $has_permission_2 = $user_is_admin or $user_is_owner; if ($has_permission_2) echo("Welkom\n"); else echo("Je hebt geen rechten!\n"); if ($user_is_admin or $user_is_owner) echo("Of toch wel...??????\n"); else echo("PHP is awesome"); ?>

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.140.0080.00018.86
8.3.130.0030.00518.34
8.3.120.0060.00319.00
8.3.110.0040.00420.94
8.3.100.0070.00324.06
8.3.90.0070.00716.71
8.3.80.0060.00318.41
8.3.70.0110.01116.75
8.3.60.0040.01416.75
8.3.50.0100.00718.36
8.3.40.0040.01118.62
8.3.30.0070.00718.63
8.3.20.0070.00021.85
8.3.10.0000.00723.66
8.3.00.0080.00018.00
8.2.250.0150.00416.54
8.2.240.0040.00416.97
8.2.230.0090.00022.58
8.2.220.0080.00837.54
8.2.210.0040.00426.77
8.2.200.0040.00416.22
8.2.190.0100.00316.58
8.2.180.0140.00718.41
8.2.170.0140.00322.96
8.2.160.0070.00720.35
8.2.150.0050.00324.18
8.2.140.0070.00024.66
8.2.130.0080.00026.16
8.2.120.0040.00419.91
8.2.110.0030.00721.00
8.2.100.0110.00017.91
8.2.90.0000.00817.72
8.2.80.0040.00418.04
8.2.70.0080.00017.93
8.2.60.0000.00817.75
8.2.50.0030.00617.91
8.2.40.0040.00418.03
8.2.30.0030.00319.43
8.2.20.0040.00418.05
8.2.10.0040.00418.16
8.2.00.0040.00418.18
8.1.300.0080.00016.19
8.1.290.0000.01118.88
8.1.280.0070.00725.92
8.1.270.0040.00423.85
8.1.260.0090.00026.35
8.1.250.0050.00228.09
8.1.240.0030.00623.97
8.1.230.0040.00822.66
8.1.220.0040.00417.74
8.1.210.0030.00620.05
8.1.200.0000.00817.35
8.1.190.0040.00417.22
8.1.180.0040.00418.10
8.1.170.0000.00917.62
8.1.160.0040.00418.93
8.1.150.0070.00318.88
8.1.140.0040.00417.71
8.1.130.0000.00817.43
8.1.120.0050.00217.46
8.1.110.0000.00717.37
8.1.100.0040.00417.36
8.1.90.0000.00817.46
8.1.80.0000.01017.48
8.1.70.0070.00017.46
8.1.60.0060.00317.54
8.1.50.0040.00417.55
8.1.40.0030.00517.54
8.1.30.0040.00417.48
8.1.20.0020.00517.70
8.1.10.0050.00317.40
8.1.00.0030.00717.40
8.0.300.0040.00422.00
8.0.290.0060.00316.75
8.0.280.0080.00018.52
8.0.270.0040.00417.25
8.0.260.0000.01116.75
8.0.250.0030.00317.00
8.0.240.0000.00816.89
8.0.230.0040.00316.91
8.0.220.0040.00416.85
8.0.210.0030.00316.82
8.0.200.0050.00317.01
8.0.190.0000.00816.84
8.0.180.0070.00016.92
8.0.170.0000.00816.79
8.0.160.0050.00316.87
8.0.150.0030.00316.72
8.0.140.0000.00716.75
8.0.130.0000.00513.37
8.0.120.0040.00416.84
8.0.110.0020.00516.68
8.0.100.0000.00716.95
8.0.90.0000.00816.79
8.0.80.0110.00816.84
8.0.70.0030.00316.88
8.0.60.0040.00416.89
8.0.50.0040.00416.88
8.0.30.0110.00517.12
8.0.20.0120.00917.40
8.0.10.0000.00817.05
8.0.00.0120.00916.93
7.4.330.0000.00415.55
7.4.320.0040.00416.43
7.4.300.0030.00316.62
7.4.290.0040.00416.51
7.4.280.0040.00416.64
7.4.270.0040.00416.57
7.4.260.0070.00016.58
7.4.250.0030.00316.46
7.4.240.0000.00716.41
7.4.230.0030.00316.42
7.4.220.0040.00416.63
7.4.210.0060.01116.53
7.4.200.0030.00516.39
7.4.160.0100.00816.47
7.4.140.0090.01017.86
7.4.130.0120.01016.42
7.4.120.0130.00816.50
7.4.110.0100.00716.55
7.4.100.0130.00316.39
7.4.90.0130.00316.55
7.4.80.0060.01619.39
7.4.70.0120.00316.62
7.4.60.0100.00716.43
7.4.50.0100.00716.36
7.4.40.0080.00916.59
7.4.00.0050.00915.07
7.3.330.0060.00013.07
7.3.320.0000.00512.93
7.3.310.0030.00316.05
7.3.300.0030.00316.21
7.3.290.0040.00416.09
7.3.280.0080.00616.18
7.3.260.0090.01016.45
7.3.240.0120.00616.29
7.3.230.0100.00716.44
7.3.210.0080.00816.46
7.3.200.0070.01016.06
7.3.190.0080.00816.27
7.3.180.0110.00516.36
7.3.170.0080.00816.50
7.3.160.0040.01316.31
7.3.120.0070.01014.45
7.3.110.0070.01114.79
7.3.100.0090.00614.97
7.3.90.0070.00714.70
7.3.80.0070.01014.68
7.3.70.0060.00314.81
7.3.60.0070.00714.85
7.3.50.0060.00614.75
7.3.40.0070.01014.79
7.3.30.0030.00714.75
7.3.20.0040.00816.49
7.3.10.0090.00616.62
7.3.00.0050.00816.56
7.2.330.0070.01016.45
7.2.320.0090.01316.45
7.2.310.0120.00916.55
7.2.300.0000.01716.74
7.2.290.0140.00916.55
7.2.250.0040.01615.13
7.2.240.0060.01215.01
7.2.230.0070.00714.74
7.2.220.0040.00814.83
7.2.210.0000.01515.00
7.2.200.0070.00314.73
7.2.190.0000.01714.55
7.2.180.0040.01114.75
7.2.170.0040.01114.88
7.2.60.0000.01216.60
7.2.50.0030.01016.93
7.2.40.0880.00817.88
7.2.30.1580.00917.80
7.2.20.1310.01517.71
7.2.10.1230.01717.74
7.2.00.0900.01217.91
7.1.330.0090.00615.76
7.1.320.0040.00815.65
7.1.310.0000.01815.84
7.1.300.0050.00515.66
7.1.290.0070.01015.59
7.1.280.0030.00715.82
7.1.270.0080.00615.68
7.1.260.0090.00615.80
7.1.200.0040.01115.42
7.1.160.1120.01516.35
7.1.150.1260.01316.76
7.1.140.1290.01116.69
7.1.130.1210.00916.77
7.1.120.1110.00916.81
7.1.110.1160.01216.19
7.1.100.1130.01116.09
7.1.90.1070.00716.00
7.1.80.1300.01316.13
7.1.70.1350.01515.21
7.1.60.1460.01432.90
7.1.50.1180.02332.79
7.1.40.1280.01932.42
7.1.30.1070.01632.55
7.1.20.1080.01432.63
7.1.10.1160.01114.72
7.1.00.1280.01614.71

preferences:
45.93 ms | 403 KiB | 5 Q