3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! $m = bindec('101'); $t = bindec('100'); $r = ((($m & $t) == $t) ? true : false); var_dump($r); $t2 = bindec('010'); $r = ((($m & $t2) == $t2) ? true : false); var_dump($r);

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.0110.00416.38
8.3.50.0120.00516.46
8.3.40.0090.00918.48
8.3.30.0070.00718.46
8.3.20.0080.00018.54
8.3.10.0030.00618.63
8.3.00.0000.00919.13
8.2.180.0120.00316.50
8.2.170.0120.00322.96
8.2.160.0090.00618.62
8.2.150.0090.00024.18
8.2.140.0000.00824.66
8.2.130.0050.00326.16
8.2.120.0070.00020.64
8.2.110.0060.00320.35
8.2.100.0090.00317.78
8.2.90.0000.00817.50
8.2.80.0040.00418.62
8.2.70.0050.00317.50
8.2.60.0080.00017.91
8.2.50.0080.00018.07
8.2.40.0000.00717.97
8.2.30.0040.00418.05
8.2.20.0030.00617.63
8.2.10.0000.00717.45
8.2.00.0000.00817.60
8.1.280.0090.01225.92
8.1.270.0000.00723.99
8.1.260.0000.00726.35
8.1.250.0080.00028.09
8.1.240.0070.01020.79
8.1.230.0080.00417.64
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0030.00817.23
8.1.190.0000.00817.25
8.1.180.0090.00018.10
8.1.170.0080.00018.84
8.1.160.0040.00418.84
8.1.150.0060.00318.68
8.1.140.0000.00717.54
8.1.130.0000.00717.50
8.1.120.0040.00417.44
8.1.110.0070.00017.44
8.1.100.0080.00017.39
8.1.90.0030.00317.44
8.1.80.0000.00717.48
8.1.70.0030.00617.38
8.1.60.0080.00017.56
8.1.50.0000.00717.44
8.1.40.0040.00417.55
8.1.30.0000.00817.56
8.1.20.0060.00617.53
8.1.10.0000.00717.46
8.1.00.0070.00017.38
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0070.00018.27
8.0.270.0030.00318.04
8.0.260.0030.00316.65
8.0.250.0040.00416.78
8.0.240.0000.00716.88
8.0.230.0070.00016.89
8.0.220.0000.00716.86
8.0.210.0030.00316.82
8.0.200.0040.00416.91
8.0.190.0030.00316.86
8.0.180.0030.00816.84
8.0.170.0040.00416.64
8.0.160.0070.00016.83
8.0.150.0040.00416.63
8.0.140.0060.00316.77
8.0.130.0030.00313.30
8.0.120.0050.00516.65
8.0.110.0000.00716.69
8.0.100.0040.00416.80
8.0.90.0070.00016.77
8.0.80.0110.01116.86
8.0.70.0050.00516.77
8.0.60.0000.00816.70
8.0.50.0040.00416.81
8.0.30.0140.00616.66
8.0.20.0100.01016.79
8.0.10.0050.00317.04
8.0.00.0140.00416.81
7.4.330.0000.00612.91
7.4.320.0080.00016.61
7.4.300.0070.00016.57
7.4.290.0040.00416.38
7.4.280.0040.00416.56
7.4.270.0040.00316.39
7.4.260.0000.00513.18
7.4.250.0080.00016.55
7.4.240.0040.00416.59
7.4.230.0040.00416.32
7.4.220.0070.01116.58
7.4.210.0160.00016.61
7.4.200.0080.00016.69
7.4.190.0070.00016.45
7.4.160.0100.01316.47
7.4.150.0140.00316.50
7.4.140.0090.00916.47
7.4.130.0060.01216.39
7.4.120.0190.00316.63
7.4.110.0170.00716.37
7.4.100.0070.01016.47
7.4.90.0200.00316.50
7.4.80.0140.00319.39
7.4.70.0060.01616.43
7.4.60.0100.00616.45
7.4.50.0020.00216.46
7.4.40.0070.01116.34
7.4.30.0100.00716.65
7.4.00.0080.00914.67
7.3.330.0050.00012.92
7.3.320.0000.00513.09
7.3.310.0070.00016.05
7.3.300.0030.00316.12
7.3.290.0080.00816.18
7.3.280.0090.00916.17
7.3.270.0080.01416.20
7.3.260.0050.01116.13
7.3.250.0100.01216.33
7.3.240.0170.00016.18
7.3.230.0030.01416.49
7.3.210.0070.01016.30
7.3.200.0060.01016.22
7.3.190.0070.01416.19
7.3.180.0120.00316.58
7.3.170.0030.01316.23
7.3.160.0060.00916.14
7.3.120.0130.00514.80
7.3.110.0090.00614.73
7.3.100.0050.01114.51
7.3.90.0060.00814.60
7.3.80.0050.00815.00
7.3.70.0040.00914.69
7.3.60.0060.00514.40
7.3.50.0060.00814.63
7.3.40.0010.01014.62
7.3.30.0040.00914.66
7.3.20.0060.00916.58
7.3.10.0020.01216.67
7.3.00.0030.00816.58
7.2.330.0050.01416.46
7.2.320.0080.00816.35
7.2.310.0040.01516.72
7.2.300.0030.01216.32
7.2.290.0040.01416.57
7.2.250.0120.00614.99
7.2.240.0060.01114.94
7.2.230.0100.00514.94
7.2.220.0050.00814.97
7.2.210.0080.00914.80
7.2.200.0070.01014.83
7.2.190.0050.00814.78
7.2.180.0050.01214.85
7.2.170.0070.00714.85
7.2.160.0000.01415.12
7.2.150.0030.00716.84
7.2.140.0030.00716.71
7.2.130.0130.00016.88
7.2.120.0040.01116.66
7.2.110.0040.01216.76
7.2.100.0070.00716.78
7.2.90.0100.00016.62
7.2.80.0030.00816.56
7.2.70.0030.00516.95
7.2.60.0080.00416.53
7.2.50.0000.01316.83
7.2.40.0120.00316.57
7.2.30.0120.00316.80
7.2.20.0030.01016.96
7.2.10.0070.00716.76
7.2.00.0040.01217.96
7.1.330.0110.00415.71
7.1.320.0030.01015.68
7.1.310.0040.00915.84
7.1.300.0060.00315.47
7.1.290.0030.01015.66
7.1.280.0030.00915.76
7.1.270.0040.00715.62
7.1.260.0040.00715.71
7.1.250.0060.00315.61
7.1.100.0040.01118.25
7.1.70.0040.00717.32
7.1.60.0060.01919.30
7.1.50.0100.00016.79
7.1.00.0000.07322.54
7.0.200.0000.01016.81
7.0.140.0100.06721.98
7.0.120.0030.03322.03
7.0.60.0070.08319.87
7.0.50.0070.08017.85
7.0.40.0030.08320.04
7.0.30.0370.08720.16
7.0.20.0330.07020.33
7.0.10.0100.06020.15
7.0.00.0030.04720.17
5.6.280.0070.06721.09
5.6.210.0130.05320.66
5.6.200.0000.04318.15
5.6.190.0070.04320.60
5.6.180.0470.08020.36
5.6.170.0430.07720.54
5.6.160.0070.07020.38
5.6.150.0070.04018.16
5.6.140.0070.08018.09
5.6.130.0100.07718.13
5.6.120.0200.06320.98
5.6.110.0100.08020.98
5.6.100.0130.07721.13
5.6.90.0170.06721.09
5.6.80.0030.05320.39
5.5.350.0200.09020.43
5.5.340.0030.07318.02
5.5.330.0100.08020.12
5.5.320.0230.04020.50
5.5.310.0230.08020.27
5.5.300.0070.08017.91
5.5.290.0100.08318.01
5.5.280.0100.08320.79
5.5.270.0030.08720.93
5.5.260.0030.04020.78
5.5.250.0170.07720.45
5.5.240.0030.07720.17
5.4.450.0100.07719.12
5.4.440.0100.04719.10
5.4.430.0030.05719.47
5.4.420.0100.03319.50
5.4.410.0100.03018.98
5.4.400.0100.07019.08
5.4.390.0130.04718.78
5.4.380.0100.05319.08
5.4.370.0030.04019.17
5.4.360.0030.08319.18
5.4.350.0000.04019.18
5.4.340.0070.04018.92
5.4.320.0100.05719.00
5.4.310.0030.03719.08
5.4.300.0030.04019.11
5.4.290.0100.04319.15
5.4.280.0100.07018.78
5.4.270.0130.03719.10
5.4.260.0030.05719.08
5.4.250.0070.07319.16
5.4.240.0030.08319.15
5.4.230.0100.05018.77
5.4.220.0130.07019.07
5.4.210.0070.03719.17
5.4.200.0070.07318.90
5.4.190.0070.04719.06
5.4.180.0130.04718.78
5.4.170.0030.05719.16
5.4.160.0070.06719.12
5.4.150.0170.03718.90
5.4.140.0070.07316.29
5.4.130.0100.04016.35
5.4.120.0030.04716.19
5.4.110.0070.07316.26
5.4.100.0130.06716.23
5.4.90.0070.04316.26
5.4.80.0000.08016.14
5.4.70.0130.06716.39
5.4.60.0130.04716.13
5.4.50.0070.07316.34
5.4.40.0100.03716.25
5.4.30.0130.07016.30
5.4.20.0100.07316.21
5.4.10.0130.06316.26
5.4.00.0100.05715.73
5.3.290.0030.04714.61
5.3.280.0030.08014.68
5.3.270.0170.07014.39
5.3.260.0030.06014.53
5.3.250.0030.04014.53
5.3.240.0070.06714.55
5.3.230.0170.05714.69
5.3.220.0070.03714.50
5.3.210.0070.03714.54
5.3.200.0000.08314.40
5.3.190.0030.05014.54
5.3.180.0100.07314.46
5.3.170.0030.06014.44
5.3.160.0000.08014.44
5.3.150.0070.04314.51
5.3.140.0030.07714.48
5.3.130.0030.04714.34
5.3.120.0030.04314.50
5.3.110.0030.07714.58
5.3.100.0070.07313.96
5.3.90.0130.06713.95
5.3.80.0100.06713.95
5.3.70.0100.06313.95
5.3.60.0070.05713.94
5.3.50.0070.05713.87
5.3.40.0030.06713.90
5.3.30.0030.07713.86
5.3.20.0070.04313.61
5.3.10.0070.04013.58
5.3.00.0100.07013.60
5.2.170.0070.06311.09
5.2.160.0030.05711.13
5.2.150.0030.05011.04
5.2.140.0030.05711.14
5.2.130.0070.03311.03
5.2.120.0000.03310.92
5.2.110.0070.02711.01
5.2.100.0030.05011.11
5.2.90.0000.03311.00
5.2.80.0000.05311.06
5.2.70.0000.05011.06
5.2.60.0070.05710.97
5.2.50.0030.04710.91
5.2.40.0000.05711.07
5.2.30.0030.06010.89
5.2.20.0000.05310.89
5.2.10.0030.04710.71
5.2.00.0030.06310.76
5.1.60.0070.05310.07
5.1.50.0030.03710.03
5.1.40.0000.0539.88
5.1.30.0030.04710.33
5.1.20.0070.04010.43
5.1.10.0000.05010.04
5.1.00.0030.03310.06
5.0.50.0000.0308.91
5.0.40.0000.0478.91
5.0.30.0000.0708.91
5.0.20.0030.0278.91
5.0.10.0000.0238.91
5.0.00.0130.0578.91
4.4.90.0030.0278.91
4.4.80.0000.0238.91
4.4.70.0000.0208.91
4.4.60.0070.0138.91
4.4.50.0000.0238.91
4.4.40.0030.0538.91
4.4.30.0000.0338.91
4.4.20.0070.0308.91
4.4.10.0000.0208.91
4.4.00.0000.0578.91
4.3.110.0070.0338.91
4.3.100.0070.0308.91
4.3.90.0070.0208.91
4.3.80.0030.0378.91
4.3.70.0070.0308.91
4.3.60.0000.0378.91
4.3.50.0070.0308.91
4.3.40.0070.0208.91
4.3.30.0030.0338.91
4.3.20.0000.0408.91
4.3.10.0000.0378.91
4.3.00.0030.0378.91

preferences:
53.23 ms | 401 KiB | 5 Q