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, $m&$t); $t2 = bindec('010'); $r = (($m & $t2) == $t2) ? true : false; var_dump($r,$m&$t2);

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.0130.00618.30
8.3.50.0080.01021.99
8.3.40.0070.00718.35
8.3.30.0100.00318.67
8.3.20.0080.00018.42
8.3.10.0040.00420.80
8.3.00.0040.00421.82
8.2.180.0000.01416.38
8.2.170.0140.00722.96
8.2.160.0090.00620.38
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0080.00020.94
8.2.110.0030.00620.39
8.2.100.0060.00617.72
8.2.90.0030.00619.22
8.2.80.0040.00417.97
8.2.70.0080.00017.46
8.2.60.0040.00417.91
8.2.50.0040.00418.07
8.2.40.0030.00618.16
8.2.30.0000.00719.43
8.2.20.0040.00417.45
8.2.10.0040.00417.64
8.2.00.0030.00717.59
8.1.280.0170.00325.92
8.1.270.0070.00023.99
8.1.260.0040.00426.35
8.1.250.0000.00928.09
8.1.240.0080.00322.38
8.1.230.0070.00420.95
8.1.220.0030.00618.77
8.1.210.0040.00418.81
8.1.200.0040.00417.10
8.1.190.0040.00417.18
8.1.180.0030.00518.10
8.1.170.0050.00318.48
8.1.160.0000.00718.88
8.1.150.0070.00018.68
8.1.140.0000.00717.49
8.1.130.0070.00017.77
8.1.120.0030.00617.45
8.1.110.0000.00817.46
8.1.100.0040.00417.43
8.1.90.0070.00017.38
8.1.80.0030.00317.46
8.1.70.0030.00317.41
8.1.60.0030.00517.55
8.1.50.0050.00317.36
8.1.40.0040.00417.57
8.1.30.0040.00417.63
8.1.20.0000.00817.54
8.1.10.0000.00817.47
8.1.00.0000.00917.36
8.0.300.0040.00419.85
8.0.290.0080.00017.05
8.0.280.0000.00718.38
8.0.270.0000.00817.17
8.0.260.0070.00016.76
8.0.250.0040.00416.89
8.0.240.0000.00816.88
8.0.230.0020.00516.89
8.0.220.0040.00416.86
8.0.210.0070.00016.81
8.0.200.0030.00316.85
8.0.190.0040.00416.84
8.0.180.0030.00316.80
8.0.170.0040.00416.71
8.0.160.0000.00716.75
8.0.150.0040.00416.77
8.0.140.0070.00416.81
8.0.130.0050.00013.17
8.0.120.0000.00716.80
8.0.110.0000.00716.73
8.0.100.0000.00716.60
8.0.90.0050.00216.69
8.0.80.0120.00316.82
8.0.70.0040.00416.73
8.0.60.0040.00416.82
8.0.50.0040.00416.80
8.0.30.0160.00616.80
8.0.20.0080.01217.40
8.0.10.0070.00017.05
8.0.00.0090.00916.76
7.4.330.0030.00316.77
7.4.320.0030.00316.59
7.4.300.0000.00616.58
7.4.290.0070.00016.62
7.4.280.0000.00716.49
7.4.270.0000.00716.65
7.4.260.0020.00213.27
7.4.250.0030.00516.51
7.4.240.0030.00516.50
7.4.230.0030.00316.34
7.4.220.0100.01016.60
7.4.210.0080.00916.58
7.4.200.0070.00016.57
7.4.190.0000.00716.31
7.4.160.0160.00616.35
7.4.150.0030.01517.40
7.4.140.0070.01417.86
7.4.130.0100.00916.67
7.4.120.0080.00816.55
7.4.110.0100.00716.48
7.4.100.0000.01616.56
7.4.90.0140.00316.51
7.4.80.0090.00919.39
7.4.70.0100.00716.32
7.4.60.0140.00516.48
7.4.50.0030.00516.27
7.4.40.0040.01222.77
7.4.30.0040.01216.45
7.4.00.0130.00314.84
7.3.330.0050.00013.04
7.3.320.0050.00013.00
7.3.310.0040.00416.15
7.3.300.0060.00316.19
7.3.290.0080.01316.18
7.3.280.0030.01116.21
7.3.270.0120.01217.40
7.3.260.0100.00918.24
7.3.250.0120.00516.26
7.3.240.0030.01316.39
7.3.230.0060.01516.39
7.3.210.0100.00616.41
7.3.200.0090.01219.39
7.3.190.0080.01516.52
7.3.180.0030.01316.11
7.3.170.0120.00316.36
7.3.160.0050.01016.22
7.3.120.0070.01314.37
7.3.110.0070.01114.52
7.3.100.0000.01514.78
7.3.90.0090.00614.59
7.3.80.0040.00814.89
7.3.70.0040.00414.86
7.3.60.0070.00314.66
7.3.50.0090.00014.67
7.3.40.0060.00914.80
7.3.30.0070.00714.79
7.3.20.0090.00316.80
7.3.10.0040.01116.62
7.3.00.0000.01716.37
7.2.330.0120.00816.66
7.2.320.0090.00916.56
7.2.310.0030.01516.41
7.2.300.0120.00516.20
7.2.290.0130.01016.20
7.2.250.0080.01114.82
7.2.240.0070.01414.98
7.2.230.0100.00715.11
7.2.220.0060.00614.83
7.2.210.0030.01315.02
7.2.200.0040.01114.75
7.2.190.0080.00814.79
7.2.180.0080.00414.62
7.2.170.0060.00815.02
7.2.160.0060.00914.80
7.2.150.0100.00316.63
7.2.140.0030.00616.84
7.2.130.0080.00416.88
7.2.120.0060.00316.79
7.2.110.0030.01016.61
7.2.100.0040.01116.92
7.2.90.0060.00316.52
7.2.80.0060.00316.89
7.2.70.0060.00916.75
7.2.60.0070.00716.93
7.2.50.0040.01116.52
7.2.40.0000.01616.91
7.2.30.0000.01616.90
7.2.20.0030.01416.97
7.2.10.0000.01316.82
7.2.00.0030.01117.77
7.1.330.0040.01115.80
7.1.320.0000.01515.47
7.1.310.0110.00415.91
7.1.300.0030.00715.59
7.1.290.0080.00615.51
7.1.280.0090.00615.87
7.1.270.0000.01415.70
7.1.260.0070.00715.72
7.1.250.0000.01415.93
7.1.100.0040.01118.10
7.1.70.0120.00017.04
7.1.60.0090.01219.17
7.1.50.0070.01716.91
7.1.00.0030.03722.30
7.0.200.0000.01016.88
7.0.140.0000.07721.99
7.0.70.0030.07321.70
7.0.60.0070.03721.68
7.0.50.0000.04322.16
7.0.40.0000.04320.00
7.0.30.0000.04320.11
7.0.20.0030.04020.16
7.0.10.0070.03720.09
7.0.00.0030.04020.10
5.6.280.0070.07021.06
5.6.220.0030.06020.55
5.6.210.0070.03720.75
5.6.200.0030.03720.95
5.6.190.0070.06721.01
5.6.180.0070.03721.08
5.6.170.0130.02721.09
5.6.160.0070.03721.07
5.6.150.0070.03721.10
5.6.140.0000.04321.02
5.6.130.0000.04721.16
5.6.120.0000.04321.00
5.6.110.0000.04321.07
5.6.100.0030.04020.99
5.6.90.0070.04021.02
5.6.80.0100.08020.33
5.6.70.0070.06720.48
5.6.60.0030.05320.37
5.6.50.0070.08020.46
5.6.40.0100.08020.40
5.6.30.0130.07320.30
5.6.20.0100.07320.29
5.6.10.0030.07320.43
5.6.00.0100.08020.38
5.5.360.0130.03320.40
5.5.350.0130.03720.42
5.5.340.0030.04020.86
5.5.330.0000.04320.75
5.5.320.0000.04720.88
5.5.310.0000.04720.79
5.5.300.0030.04020.77
5.5.290.0030.04020.86
5.5.280.0030.04020.63
5.5.270.0000.04720.75
5.5.260.0030.07020.77
5.5.250.0070.03720.70
5.5.240.0100.05020.28
5.5.230.0070.08020.25
5.5.220.0030.05720.17
5.5.210.0070.04320.27
5.5.200.0130.06320.25
5.5.190.0000.05020.22
5.5.180.0000.05320.13
5.5.160.0030.04020.11
5.5.150.0070.06320.26
5.5.140.0070.07719.98
5.5.130.0070.08020.17
5.5.120.0000.05720.16
5.5.110.0030.04720.21
5.5.100.0100.06320.04
5.5.90.0030.08320.14
5.5.80.0030.07720.15
5.5.70.0070.05320.15
5.5.60.0070.05720.14
5.5.50.0000.07320.02
5.5.40.0030.08320.04
5.5.30.0070.05719.99
5.5.20.0070.08019.92
5.5.10.0030.04320.03
5.5.00.0100.06019.94
5.4.450.0070.03319.14
5.4.440.0030.03319.22
5.4.430.0030.03719.35
5.4.420.0100.03719.43
5.4.410.0030.03019.17
5.4.400.0030.03718.96
5.4.390.0130.07319.05
5.4.380.0030.07718.98
5.4.370.0030.08318.81
5.4.360.0070.06019.13
5.4.350.0130.06718.98
5.4.340.0130.07019.04
5.4.320.0100.03318.97
5.4.310.0070.08019.14
5.4.300.0000.06019.07
5.4.290.0030.08019.00
5.4.280.0100.08019.14
5.4.270.0000.06019.05
5.4.260.0070.03318.97
5.4.250.0030.05718.82
5.4.240.0100.05018.96
5.4.230.0100.05018.75
5.4.220.0030.08319.02
5.4.210.0000.08319.05
5.4.200.0030.04018.78
5.4.190.0070.08319.02
5.4.180.0100.04318.89
5.4.170.0130.07019.03
5.4.160.0030.07319.10
5.4.150.0100.07019.00
5.4.140.0070.07716.39
5.4.130.0130.06316.35
5.4.120.0070.04716.28
5.4.110.0030.07716.36
5.4.100.0030.05316.43
5.4.90.0030.07316.21
5.4.80.0100.07316.34
5.4.70.0130.06716.22
5.4.60.0070.08016.23
5.4.50.0070.07716.40
5.4.40.0070.07016.24
5.4.30.0070.06316.39
5.4.20.0000.07716.39
5.4.10.0030.08016.23
5.4.00.0130.06015.80
5.3.290.0130.07014.61
5.3.280.0070.08314.54
5.3.270.0130.07314.56
5.3.260.0030.07014.57
5.3.250.0070.06014.46
5.3.240.0130.05314.61
5.3.230.0030.08314.45
5.3.220.0030.05014.43
5.3.210.0100.03714.54
5.3.200.0070.06314.57
5.3.190.0070.08014.55
5.3.180.0000.07314.52
5.3.170.0170.07014.55
5.3.160.0130.06714.52
5.3.150.0030.06714.55
5.3.140.0070.05314.41
5.3.130.0030.08314.36
5.3.120.0030.05014.51
5.3.110.0070.08014.48
5.3.100.0100.07313.90
5.3.90.0100.07313.98
5.3.80.0100.07714.00
5.3.70.0100.07313.95
5.3.60.0100.07013.99
5.3.50.0030.07313.90
5.3.40.0070.07313.93
5.3.30.0070.06713.89
5.3.20.0070.07313.69
5.3.10.0000.08313.65
5.3.00.0000.08013.63
5.2.170.0030.06312.23
5.2.160.0070.06312.23
5.2.150.0000.05012.23
5.2.140.0030.04312.23
5.2.130.0070.06012.23
5.2.120.0070.05712.23
5.2.110.0070.05012.23
5.2.100.0000.04012.23
5.2.90.0230.04012.23
5.2.80.0100.05712.23
5.2.70.0070.05312.23
5.2.60.0030.04312.23
5.2.50.0030.06712.23
5.2.40.0030.06312.23
5.2.30.0030.04312.23
5.2.20.0000.06712.23
5.2.10.0070.04312.23
5.2.00.0070.03712.23
5.1.60.0030.05312.23
5.1.50.0030.05712.23
5.1.40.0000.05312.23
5.1.30.0030.05712.23
5.1.20.0000.05312.23
5.1.10.0070.04312.23
5.1.00.0030.04012.23
5.0.50.0000.02712.23
5.0.40.0030.04312.23
5.0.30.0030.06712.23
5.0.20.0000.04312.23
5.0.10.0030.04312.23
5.0.00.0000.05012.23
4.4.90.0000.03312.23
4.4.80.0070.02312.23
4.4.70.0030.03312.23
4.4.60.0000.02312.23
4.4.50.0070.02312.23
4.4.40.0000.03712.23
4.4.30.0000.03712.23
4.4.20.0030.02712.23
4.4.10.0030.02012.23
4.4.00.0000.05712.23
4.3.110.0030.03312.23
4.3.100.0000.03712.23
4.3.90.0000.03712.23
4.3.80.0000.04312.23
4.3.70.0000.02312.23
4.3.60.0030.02712.23
4.3.50.0000.03312.23
4.3.40.0030.05012.23
4.3.30.0030.02312.23
4.3.20.0000.04012.23
4.3.10.0000.03312.23
4.3.00.0030.03312.23

preferences:
48.75 ms | 401 KiB | 5 Q