3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 1; $b = 2; $c = 3; if ($c == ($a || $b)) echo 'ok';

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.0170.00318.48
8.3.50.0130.00721.99
8.3.40.0130.00618.55
8.3.30.0140.00018.79
8.3.20.0050.00320.14
8.3.10.0080.00023.66
8.3.00.0040.00420.89
8.2.180.0070.01116.38
8.2.170.0140.00722.96
8.2.160.0070.00720.57
8.2.150.0070.00724.18
8.2.140.0000.00724.66
8.2.130.0080.00026.16
8.2.120.0040.00419.36
8.2.110.0080.00022.11
8.2.100.0060.00617.72
8.2.90.0040.00419.24
8.2.80.0080.00017.97
8.2.70.0080.00017.63
8.2.60.0060.00317.93
8.2.50.0000.00818.07
8.2.40.0000.01017.95
8.2.30.0030.00618.29
8.2.20.0080.00017.62
8.2.10.0050.00218.05
8.2.00.0040.00419.34
8.1.280.0140.00725.92
8.1.270.0080.00022.05
8.1.260.0060.01126.35
8.1.250.0040.00428.09
8.1.240.0090.00022.16
8.1.230.0060.00619.16
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0040.00417.25
8.1.190.0090.00017.22
8.1.180.0000.00818.10
8.1.170.0060.00318.65
8.1.160.0020.00521.88
8.1.150.0070.00018.58
8.1.140.0050.00317.46
8.1.130.0030.00317.83
8.1.120.0060.00317.31
8.1.110.0030.00717.46
8.1.100.0040.00417.39
8.1.90.0000.00717.36
8.1.80.0080.00017.48
8.1.70.0030.00317.44
8.1.60.0030.00617.61
8.1.50.0030.00517.57
8.1.40.0000.00817.40
8.1.30.0090.00017.47
8.1.20.0070.00017.61
8.1.10.0030.00517.52
8.1.00.0000.00917.44
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0050.00318.55
8.0.270.0030.00317.24
8.0.260.0030.00317.23
8.0.250.0070.00016.84
8.0.240.0050.00316.89
8.0.230.0030.00316.86
8.0.220.0070.00016.82
8.0.210.0000.00716.88
8.0.200.0070.00016.86
8.0.190.0070.00016.85
8.0.180.0080.00016.82
8.0.170.0000.00916.87
8.0.160.0000.00716.96
8.0.150.0000.00716.81
8.0.140.0040.00416.84
8.0.130.0030.00313.31
8.0.120.0040.00416.85
8.0.110.0040.00416.82
8.0.100.0070.00016.83
8.0.90.0000.00716.80
8.0.80.0040.01116.88
8.0.70.0000.00716.67
8.0.60.0000.00816.84
8.0.50.0030.00316.69
8.0.30.0140.00817.13
8.0.20.0120.00717.40
8.0.10.0020.00516.99
8.0.00.0140.00316.72
7.4.330.0000.00515.09
7.4.320.0000.00616.51
7.4.300.0060.00016.51
7.4.290.0060.00016.50
7.4.280.0030.00316.55
7.4.270.0040.00416.53
7.4.260.0070.00016.57
7.4.250.0000.00716.49
7.4.240.0040.00416.55
7.4.230.0040.00416.50
7.4.220.0090.00716.63
7.4.210.0060.01316.60
7.4.200.0030.00316.39
7.4.160.0150.00716.34
7.4.150.0110.00717.40
7.4.140.0110.00517.86
7.4.130.0110.01016.47
7.4.120.0100.00716.56
7.4.110.0120.00916.52
7.4.100.0070.01016.59
7.4.90.0070.01016.52
7.4.80.0100.01319.39
7.4.70.0090.00816.61
7.4.60.0070.01016.46
7.4.50.0030.00516.15
7.4.40.0040.01216.67
7.4.30.0030.01316.33
7.4.00.0060.00814.96
7.3.330.0000.00513.20
7.3.320.0000.00613.11
7.3.310.0070.00016.32
7.3.300.0070.00016.30
7.3.290.0070.00716.22
7.3.280.0090.01216.25
7.3.270.0120.00817.40
7.3.260.0230.00016.42
7.3.250.0100.00816.48
7.3.240.0090.00816.53
7.3.230.0140.00316.39
7.3.210.0090.00816.45
7.3.200.0090.01216.30
7.3.190.0090.01316.54
7.3.180.0090.00616.26
7.3.170.0130.00716.27
7.3.160.0060.01216.38
7.3.120.0100.00614.81
7.3.110.0040.01514.75
7.3.100.0100.00714.81
7.3.90.0070.01014.63
7.3.80.0080.00814.54
7.3.70.0100.00614.83
7.3.60.0080.00514.82
7.3.50.0040.00814.74
7.3.40.0070.00714.71
7.3.30.0120.00414.64
7.3.20.0080.00416.60
7.3.10.0000.01516.48
7.3.00.0060.00316.58
7.2.330.0060.01116.62
7.2.320.0150.00316.58
7.2.310.0120.00916.62
7.2.300.0110.01016.60
7.2.290.0080.01116.61
7.2.250.0100.00714.93
7.2.240.0100.01015.25
7.2.230.0100.00715.14
7.2.220.0030.01215.11
7.2.210.0100.00615.04
7.2.200.0060.00315.05
7.2.190.0100.00314.93
7.2.180.0070.00714.92
7.2.170.0070.01014.75
7.2.80.0040.00816.71
7.2.00.0030.01019.12
7.1.330.0040.01115.75
7.1.320.0060.01015.58
7.1.310.0090.00615.94
7.1.300.0000.01415.74
7.1.290.0060.01215.57
7.1.280.0100.00715.50
7.1.270.0030.01015.82
7.1.260.0060.00915.86
7.1.200.0030.01015.60
7.1.100.0060.00917.76
7.1.70.0040.00416.88
7.1.60.0140.01019.70
7.1.50.0060.01616.80
7.1.00.0030.07722.35
7.0.200.0000.00916.83
7.0.140.0070.06721.95
7.0.60.0030.08319.86
7.0.50.0170.05717.87
7.0.40.0070.08020.00
7.0.30.0470.04320.18
7.0.20.0400.07320.13
7.0.10.0100.04020.18
7.0.00.0100.05720.16
5.6.280.0070.06721.07
5.6.210.0030.07320.70
5.6.200.0100.08318.16
5.6.190.0170.05020.41
5.6.180.0200.05020.46
5.6.170.0270.07720.37
5.6.160.0130.07020.46
5.6.150.0030.04018.18
5.6.140.0100.07018.14
5.6.130.0100.08718.18
5.6.120.0070.08021.00
5.6.110.0030.06720.93
5.6.100.0170.07020.97
5.6.90.0100.07721.01
5.6.80.0070.05720.34
5.6.70.3430.03720.37
5.5.350.0070.08320.39
5.5.340.0030.04017.91
5.5.330.0070.08020.21
5.5.320.0170.04320.27
5.5.310.0200.05320.27
5.5.300.0030.07717.89
5.5.290.0070.08017.91
5.5.280.0030.06320.68
5.5.270.0200.03720.71
5.5.260.0070.04020.96
5.5.250.0070.07720.46
5.5.240.0230.04320.11
5.4.450.4630.03319.41
5.4.440.3630.04019.49
5.4.430.3770.04319.41
5.4.420.3330.04019.14
5.4.410.3230.04019.11
5.4.400.2800.04018.93
5.4.390.3670.04319.10
5.4.380.3670.03719.24
5.4.370.3670.03718.81
5.4.360.3700.04019.09
5.4.350.3900.03718.88
5.4.340.0070.03319.08
5.4.320.3670.03719.24
5.4.310.3630.04019.16
5.4.300.3700.04019.23
5.4.290.3800.04019.13
5.4.280.3730.04318.93
5.4.270.3370.04019.09
5.4.260.3700.03318.92
5.4.250.3430.04018.80
5.4.240.3430.04019.07
5.4.230.3370.04018.92
5.4.220.3470.03019.09
5.4.210.3370.04019.10
5.4.200.3530.03718.78
5.4.190.4130.04019.23
5.4.180.3830.03719.23
5.4.170.3930.03019.23
5.4.160.3070.03319.22
5.4.150.3530.04019.14
5.4.140.3300.04016.29
5.4.130.3570.03716.25
5.4.120.3370.03016.43
5.4.110.3670.03016.23
5.4.100.3900.03316.43
5.4.90.3800.03716.60
5.4.80.3830.03316.37
5.4.70.4530.04016.39
5.4.60.3900.04016.43
5.4.50.4070.02716.36
5.4.40.2100.03716.40
5.4.30.0000.03716.46
5.4.20.4130.03316.36
5.4.10.4470.04016.42
5.4.00.4100.03315.90
5.3.290.3700.03314.51
5.3.280.3400.03314.64
5.3.270.3900.03014.55
5.3.260.3930.03314.55
5.3.250.3830.04014.44
5.3.240.4270.04314.58
5.3.230.3930.03314.45
5.3.220.3830.04014.65
5.3.210.3970.04314.65
5.3.200.3870.03714.61
5.3.190.3600.03714.51
5.3.180.3870.04314.58
5.3.170.4770.05014.50
5.3.160.3730.03714.54
5.3.150.3830.04314.42
5.3.140.3970.03314.40
5.3.130.0070.05014.38
5.3.120.0030.07014.38
5.3.110.4570.04014.63
5.3.100.4230.04013.89
5.3.90.3900.03313.85
5.3.80.3700.03313.87
5.3.70.4200.03714.04
5.3.60.3830.04313.90
5.3.50.4000.03314.03
5.3.40.3930.04313.79
5.3.30.4100.03013.81
5.3.20.3800.03013.53
5.3.10.3870.04013.68
5.3.00.3830.03713.54
5.2.170.3100.03010.99
5.2.160.3100.03011.08
5.2.150.3370.03311.16
5.2.140.3300.02311.19
5.2.130.2930.03011.26
5.2.120.3070.02310.99
5.2.110.2800.03010.94
5.2.100.2330.03711.15
5.2.90.3030.02711.12
5.2.80.2270.03311.14
5.2.70.2630.03310.95
5.2.60.3130.02710.89
5.2.50.2470.02010.86
5.2.40.2570.02710.88
5.2.30.2700.03710.82
5.2.20.2800.02710.79
5.2.10.2600.03010.96
5.2.00.2770.03010.61
5.1.60.2770.0239.88
5.1.50.2770.02710.00
5.1.40.2470.02310.02
5.1.30.2470.02710.33
5.1.20.2770.02710.34
5.1.10.2370.02710.11
5.1.00.2900.02710.04
5.0.50.1370.0239.73
5.0.40.1430.0239.73
5.0.30.1200.0309.73
5.0.20.1630.0209.73
5.0.10.1470.0209.73
5.0.00.1570.0279.73
4.4.90.1400.0179.73
4.4.80.1430.0139.73
4.4.70.1500.0179.73
4.4.60.1570.0139.73
4.4.50.1500.0179.73
4.4.40.1430.0279.73
4.4.30.1430.0139.73
4.4.20.1430.0139.73
4.4.10.1530.0179.73
4.4.00.1370.0239.73
4.3.110.1400.0209.73
4.3.100.1500.0209.73
4.3.90.1530.0209.73
4.3.80.1170.0339.73
4.3.70.1530.0139.73
4.3.60.1330.0209.73
4.3.50.1500.0179.73
4.3.40.1370.0239.73
4.3.30.0700.0179.73
4.3.20.0800.0239.73
4.3.10.0800.0239.73
4.3.00.0800.0239.73

preferences:
35.21 ms | 401 KiB | 5 Q