3v4l.org

run code in 300+ PHP versions simultaneously
<?php printf("%u\n",0xffffffffffffffff ); // 0 printf("%d\n",0xffffffffffffffff ); // 0 printf("%f\n", hexdec("0xffffffffffffffff")); // max integer that can be stored as floating pt value (2 ** 53) -1: var_dump( 0x001fffffffffffff ); // float 9.007199254741E+15 var_dump( (int) 0x001fffffffffffff); // int -1

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.00316.75
8.3.50.0160.00616.50
8.3.40.0070.01318.82
8.3.30.0110.00418.70
8.3.20.0060.01218.77
8.3.10.0030.00520.53
8.3.00.0050.00317.50
8.2.180.0040.01116.50
8.2.170.0140.00722.96
8.2.160.0100.00322.21
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00419.41
8.2.110.0000.01022.33
8.2.100.0040.00817.72
8.2.90.0000.00819.08
8.2.80.0040.00417.97
8.2.70.0050.00317.50
8.2.60.0000.00818.04
8.2.50.0050.00318.07
8.2.40.0040.00418.03
8.2.30.0000.00718.07
8.2.20.0040.00417.68
8.2.10.0030.00617.77
8.2.00.0030.00617.68
8.1.280.0100.01025.92
8.1.270.0000.00823.99
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0060.00322.12
8.1.230.0070.00417.42
8.1.220.0030.00517.74
8.1.210.0080.00018.77
8.1.200.0000.00917.23
8.1.190.0000.00917.41
8.1.180.0090.00318.10
8.1.170.0040.00418.97
8.1.160.0040.00418.91
8.1.150.0000.00818.63
8.1.140.0000.00717.33
8.1.130.0000.00717.89
8.1.120.0000.00717.45
8.1.110.0060.00317.45
8.1.100.0030.00617.42
8.1.90.0050.00317.48
8.1.80.0000.00717.48
8.1.70.0000.00717.39
8.1.60.0030.00617.47
8.1.50.0000.00817.40
8.1.40.0000.00717.58
8.1.30.0040.00417.55
8.1.20.0050.00517.60
8.1.10.0000.00717.50
8.1.00.0020.00517.43
8.0.300.0030.00618.77
8.0.290.0000.00716.75
8.0.280.0030.00318.31
8.0.270.0000.00716.91
8.0.260.0000.00616.88
8.0.250.0040.00416.93
8.0.240.0070.00317.03
8.0.230.0000.00716.93
8.0.220.0030.00317.01
8.0.210.0000.00716.90
8.0.200.0030.00316.95
8.0.190.0040.00416.93
8.0.180.0000.00716.93
8.0.170.0030.00516.98
8.0.160.0000.00717.00
8.0.150.0040.00416.91
8.0.140.0040.00416.75
8.0.130.0000.00513.34
8.0.120.0020.00516.78
8.0.110.0040.00416.80
8.0.100.0070.00016.90
8.0.90.0040.00417.00
8.0.80.0100.00617.01
8.0.70.0000.00816.98
8.0.60.0070.00016.78
8.0.50.0000.00816.84
8.0.30.0100.01017.06
8.0.20.0100.01017.16
8.0.10.0000.00717.01
8.0.00.0130.00516.78
7.4.330.0030.00314.79
7.4.320.0060.00016.59
7.4.300.0060.00016.57
7.4.290.0020.00516.55
7.4.280.0060.00316.47
7.4.270.0030.00316.60
7.4.260.0000.00513.22
7.4.250.0030.00516.44
7.4.240.0080.00016.47
7.4.230.0000.00716.57
7.4.220.0170.00916.53
7.4.210.0070.00816.56
7.4.200.0000.00716.60
7.4.190.0030.00316.54
7.4.160.0130.00316.41
7.4.150.0120.00617.07
7.4.140.0140.00417.24
7.4.130.0060.01016.46
7.4.120.0090.00816.52
7.4.110.0140.00516.50
7.4.100.0140.00416.30
7.4.90.0100.01316.32
7.4.80.0150.00218.80
7.4.70.0100.01316.20
7.4.60.0070.01016.32
7.4.50.0000.00716.61
7.4.40.0090.00922.27
7.4.30.0050.01116.38
7.4.00.0060.00914.86
7.3.330.0000.00613.27
7.3.320.0050.00013.17
7.3.310.0030.00616.15
7.3.300.0000.00716.20
7.3.290.0070.00716.27
7.3.280.0110.00516.30
7.3.270.0130.01017.07
7.3.260.0110.00818.24
7.3.250.0120.00816.39
7.3.240.0070.01016.47
7.3.230.0170.00316.39
7.3.210.0080.00816.42
7.3.200.0040.01419.39
7.3.190.0100.00716.48
7.3.180.0090.00616.51
7.3.170.0030.01316.27
7.3.160.0110.00416.17
7.3.120.0100.00714.85
7.3.10.0080.00416.71
7.3.00.0030.01016.66
7.2.330.0080.00916.70
7.2.320.0060.01016.74
7.2.310.0080.01516.63
7.2.300.0100.01016.63
7.2.290.0100.00616.35
7.2.130.0000.01416.76
7.2.120.0130.00016.84
7.2.110.0040.01116.78
7.2.100.0070.00316.85
7.2.90.0060.00616.83
7.2.80.0110.00416.93
7.2.70.0080.00417.02
7.2.60.0040.01116.89
7.2.50.0100.00316.85
7.2.40.0090.00317.04
7.2.30.0000.01417.01
7.2.20.0060.00316.82
7.2.10.0090.00316.84
7.2.00.0070.00716.96
7.1.250.0030.00615.77
7.1.200.0100.00315.87
7.1.70.0040.00417.19
7.1.60.0110.01419.40
7.1.50.0150.00617.02
7.1.00.0000.08022.66
7.0.200.0030.00516.52
7.0.140.0070.07022.23
7.0.60.0030.08020.03
7.0.50.0070.07718.07
7.0.40.0130.04720.27
7.0.30.0370.06720.23
7.0.20.0300.08320.15
7.0.10.0430.07320.33
7.0.00.0070.07020.44
5.6.280.0000.07721.23
5.6.210.0070.03720.70
5.6.200.0000.05318.18
5.6.190.0100.05320.73
5.6.180.0300.06020.39
5.6.170.0130.04020.48
5.6.160.0000.07320.43
5.6.150.0100.07718.22
5.6.140.0030.08018.21
5.6.130.0070.08318.27
5.6.120.0100.06721.20
5.6.110.0130.08721.09
5.6.100.0100.08021.28
5.6.90.0100.08021.13
5.6.80.0000.04020.63
5.6.70.4730.04320.48
5.5.350.0270.07720.64
5.5.340.0070.08018.11
5.5.330.0070.04320.53
5.5.320.0130.05020.63
5.5.310.0130.04720.63
5.5.300.0070.04018.09
5.5.290.0170.06317.98
5.5.280.0070.04720.82
5.5.270.0070.05021.03
5.5.260.0230.07020.89
5.5.250.0070.06320.73
5.5.240.0070.08720.28
5.4.450.0200.06719.11
5.4.440.0070.03719.26
5.4.430.0170.07719.40
5.4.420.0000.05319.50
5.4.410.0070.04719.31
5.4.400.0170.07019.09
5.4.390.0100.06318.92
5.4.380.0100.04018.91
5.4.370.0170.06718.81
5.4.360.0030.04318.79
5.4.350.0070.03719.17
5.4.340.0130.06319.18
5.4.320.0070.08019.18
5.4.310.0100.08018.79
5.4.300.0170.06719.20
5.4.290.0070.07719.15
5.4.280.0030.04019.17
5.4.270.0000.05019.00
5.4.260.0100.07318.82
5.4.250.0130.07019.07
5.4.240.0100.06019.00
5.4.230.0030.04719.14
5.4.220.0070.07318.91
5.4.210.0070.07319.00
5.4.200.0100.06718.91
5.4.190.0030.03718.91
5.4.180.0000.04018.99
5.4.170.0030.03719.14
5.4.160.0030.03718.94
5.4.150.0000.04019.05
5.4.140.0070.03016.25
5.4.130.0000.03716.28
5.4.120.0030.03316.19
5.4.110.0030.03716.43
5.4.100.0000.03716.60
5.4.90.0030.03716.39
5.4.80.0030.03316.23
5.4.70.0070.03016.40
5.4.60.0070.03016.13
5.4.50.0030.03316.36
5.4.40.0000.04016.35
5.4.30.0000.03716.12
5.4.20.0030.03316.22
5.4.10.0030.03316.21
5.4.00.0030.03315.93
5.3.290.0130.05714.63
5.3.280.0000.08014.53
5.3.270.0070.03714.61
5.3.260.0030.04314.57
5.3.250.0070.03314.52
5.3.240.0130.02714.53
5.3.230.0030.04014.38
5.3.220.0070.03314.35
5.3.210.0030.03714.44
5.3.200.0100.03014.54
5.3.190.0070.03314.35
5.3.180.0070.03314.48
5.3.170.0000.04014.49
5.3.160.0000.03714.54
5.3.150.0000.04014.45
5.3.140.0000.03714.43
5.3.130.0000.04014.63
5.3.120.0070.04014.49
5.3.110.0030.03714.41
5.3.100.0030.03713.96
5.3.90.0070.03013.94
5.3.80.0030.03713.94
5.3.70.0000.03713.96
5.3.60.0030.03314.10
5.3.50.0000.04013.96
5.3.40.0000.03713.89
5.3.30.0000.03714.00
5.3.20.0030.04013.62
5.3.10.0000.03713.67
5.3.00.0100.02713.45
5.2.170.0000.03011.12
5.2.160.0030.02711.14
5.2.150.0070.02311.09
5.2.140.0070.03311.09
5.2.130.0030.02711.09
5.2.120.0030.02711.07
5.2.110.0000.03011.04
5.2.100.0000.03011.18
5.2.90.0000.03011.00
5.2.80.0000.03010.97
5.2.70.0130.03311.02
5.2.60.0000.05710.92
5.2.50.0030.05311.00
5.2.40.0000.03010.92
5.2.30.0000.03710.92
5.2.20.0000.03310.86
5.2.10.0000.04710.81
5.2.00.0030.05710.80
5.1.60.0070.04710.01
5.1.50.0000.0579.98
5.1.40.0000.03310.06
5.1.30.0070.03710.29
5.1.20.0000.06310.41
5.1.10.0070.02310.14
5.1.00.0030.0339.97
5.0.50.0000.0508.68
5.0.40.0100.0408.37
5.0.30.0000.0708.21
5.0.20.0030.0378.17
5.0.10.0070.0308.16
5.0.00.0030.0708.13
4.4.90.0030.0237.85
4.4.80.0030.0137.85
4.4.70.0030.0177.85
4.4.60.0000.0477.85
4.4.50.0000.0377.85
4.4.40.0000.0507.85
4.4.30.0030.0207.85
4.4.20.0000.0337.85
4.4.10.0030.0337.85
4.4.00.0000.0537.85
4.3.110.0100.0307.85
4.3.100.0070.0337.85
4.3.90.0000.0237.85
4.3.80.0100.0337.85
4.3.70.0030.0237.85
4.3.60.0030.0277.85
4.3.50.0030.0337.85
4.3.40.0070.0337.85
4.3.30.0070.0307.85
4.3.20.0000.0437.85
4.3.10.0000.0377.85
4.3.00.0000.0307.85

preferences:
42.05 ms | 401 KiB | 5 Q