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")); printf("%f\n",pow(2,64)-1); // 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.0040.01116.99
8.3.50.0150.00317.68
8.3.40.0070.00718.84
8.3.30.0070.00719.04
8.3.20.0080.00018.84
8.3.10.0040.00418.85
8.3.00.0040.00419.38
8.2.180.0000.01517.00
8.2.170.0100.00322.96
8.2.160.0130.00321.18
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0080.00020.63
8.2.110.0030.00719.61
8.2.100.0060.00617.84
8.2.90.0060.00319.45
8.2.80.0080.00019.46
8.2.70.0040.00417.88
8.2.60.0060.00317.93
8.2.50.0030.00518.07
8.2.40.0050.00318.28
8.2.30.0000.00718.16
8.2.20.0040.00417.76
8.2.10.0040.00417.91
8.2.00.0070.00317.73
8.1.280.0030.01825.92
8.1.270.0080.00024.66
8.1.260.0000.00826.35
8.1.250.0050.00228.09
8.1.240.0040.00422.67
8.1.230.0100.00021.14
8.1.220.0000.00817.78
8.1.210.0000.00919.10
8.1.200.0000.01017.47
8.1.190.0050.00317.64
8.1.180.0090.00018.10
8.1.170.0030.00619.00
8.1.160.0080.00019.07
8.1.150.0050.00218.69
8.1.140.0060.00317.45
8.1.130.0080.00017.96
8.1.120.0020.00517.62
8.1.110.0040.00417.43
8.1.100.0040.00417.63
8.1.90.0020.00517.52
8.1.80.0000.00717.57
8.1.70.0030.00317.48
8.1.60.0080.00017.63
8.1.50.0000.00817.53
8.1.40.0000.00817.67
8.1.30.0040.00417.72
8.1.20.0080.00017.68
8.1.10.0000.00717.60
8.1.00.0040.00417.64
8.0.300.0030.00320.06
8.0.290.0040.00416.75
8.0.280.0070.00018.56
8.0.270.0000.00717.37
8.0.260.0000.00717.04
8.0.250.0040.00417.07
8.0.240.0030.00417.05
8.0.230.0030.00317.07
8.0.220.0000.00717.14
8.0.210.0070.00016.98
8.0.200.0000.00817.13
8.0.190.0040.00417.07
8.0.180.0040.00417.03
8.0.170.0030.00617.14
8.0.160.0070.00017.11
8.0.150.0000.00917.04
8.0.140.0060.00316.86
8.0.130.0000.00613.42
8.0.120.0080.00016.97
8.0.110.0070.00017.04
8.0.100.0000.00716.98
8.0.90.0030.00517.04
8.0.80.0060.00917.07
8.0.70.0000.00716.94
8.0.60.0030.00617.14
8.0.50.0040.00417.00
8.0.30.0110.01017.05
8.0.20.0100.00817.06
8.0.10.0020.00517.08
8.0.00.0110.00816.91
7.4.330.0000.00513.08
7.4.320.0030.00316.76
7.4.300.0000.00616.61
7.4.290.0000.00716.66
7.4.280.0040.00416.73
7.4.270.0050.00316.72
7.4.260.0000.00613.36
7.4.250.0060.00316.59
7.4.240.0020.00516.70
7.4.230.0000.00616.76
7.4.220.0160.01716.61
7.4.210.0090.00716.66
7.4.200.0030.00316.78
7.4.190.0000.00716.82
7.4.160.0070.00716.20
7.4.150.0090.00916.50
7.4.140.0100.00916.49
7.4.130.0100.00616.59
7.4.120.0140.00316.59
7.4.110.0100.00616.58
7.4.100.0070.01116.47
7.4.90.0090.00916.53
7.4.80.0130.01019.39
7.4.70.0100.01016.75
7.4.60.0090.00916.36
7.4.50.0050.00316.39
7.4.40.0060.00616.49
7.4.30.0140.00316.55
7.4.00.0060.00914.88
7.3.330.0000.00713.41
7.3.320.0000.00513.29
7.3.310.0040.00416.34
7.3.300.0000.00716.50
7.3.290.0140.00016.39
7.3.280.0120.00416.46
7.3.270.0160.00616.30
7.3.260.0180.00016.53
7.3.250.0120.00916.38
7.3.240.0060.00916.69
7.3.230.0140.00516.50
7.3.210.0170.00016.54
7.3.200.0070.01016.60
7.3.190.0070.01016.79
7.3.180.0130.00316.44
7.3.170.0060.01116.50
7.3.160.0060.00916.38
7.3.120.0080.00414.74
7.3.110.0060.00914.80
7.3.100.0060.00614.97
7.3.90.0150.00015.00
7.3.80.0030.00714.57
7.3.70.0090.00314.62
7.3.60.0040.00414.78
7.3.50.0050.00514.70
7.3.40.0030.00914.75
7.3.30.0090.00614.53
7.3.20.0120.00316.46
7.3.10.0040.01116.55
7.3.00.0100.00516.68
7.2.330.0090.00916.79
7.2.320.0060.01316.46
7.2.310.0150.00416.51
7.2.300.0170.00016.44
7.2.290.0160.00816.57
7.2.240.0060.00615.23
7.2.230.0100.00615.00
7.2.220.0100.00314.88
7.2.210.0100.00714.93
7.2.200.0100.00314.95
7.2.190.0030.01214.89
7.2.180.0040.00814.89
7.2.170.0030.00915.20
7.2.160.0060.00614.82
7.2.150.0000.01116.93
7.2.140.0090.00316.92
7.2.130.0040.00816.95
7.2.120.0060.00816.96
7.2.110.0080.00317.00
7.2.100.0080.00717.07
7.2.90.0090.00516.83
7.2.80.0050.00716.94
7.2.70.0070.00516.74
7.2.60.0050.01116.86
7.2.50.0030.01016.67
7.2.40.0040.00916.75
7.2.30.0080.00517.14
7.2.20.0050.00717.02
7.2.10.0050.00716.83
7.2.00.0070.00917.33
7.1.330.0030.01215.78
7.1.320.0100.00315.82
7.1.310.0000.01515.82
7.1.300.0030.01015.75
7.1.290.0030.01015.70
7.1.280.0080.00815.71
7.1.270.0070.00715.48
7.1.260.0070.01015.84
7.1.250.0080.00415.88
7.1.100.0060.00918.34
7.1.70.0040.00417.16
7.1.60.0100.01419.40
7.1.50.0060.01516.91
7.1.00.0100.06022.41
7.0.200.0150.00614.94
7.0.140.0100.07022.10
7.0.120.0000.07722.14
7.0.60.0130.07320.23
7.0.50.0070.08317.86
7.0.40.0100.08320.14
7.0.30.0270.05020.16
7.0.20.0170.04020.08
7.0.10.0330.06720.25
7.0.00.0100.08320.15
5.6.210.0070.03720.64
5.6.200.0130.05018.30
5.6.190.0030.07320.51
5.6.180.0000.07720.64
5.6.170.0270.08020.54
5.6.160.0100.07320.48
5.6.150.0100.04018.21
5.6.140.0130.06018.25
5.6.130.0070.04318.21
5.6.120.0070.05721.10
5.6.110.0000.07321.09
5.6.100.0170.07021.13
5.6.90.0100.08321.06
5.6.80.0070.06720.44
5.6.70.0200.03720.66
5.5.350.0200.03020.53
5.5.340.0170.06317.99
5.5.330.0170.07320.31
5.5.320.0070.04720.14
5.5.310.0330.05720.25
5.5.300.0000.04718.14
5.5.290.0070.04318.14
5.5.280.0030.04320.89
5.5.270.0030.04320.93
5.5.260.0100.08320.80
5.5.250.0130.05320.70
5.5.240.0000.05720.41
5.4.450.0070.07719.42
5.4.440.0130.07319.31
5.4.430.0030.05019.57
5.4.420.0070.03319.31
5.4.410.0030.08019.45
5.4.400.0070.06719.26
5.4.390.0100.06719.09
5.4.380.0100.03319.28
5.4.370.0000.06019.08
5.4.360.0000.04319.05
5.4.350.0030.08019.06
5.4.340.0100.07318.91
5.4.320.0000.08318.79
5.4.310.0070.07318.88
5.4.300.0030.06018.80
5.4.290.0070.07019.25
5.4.280.0030.08019.13
5.4.270.0030.06319.21
5.4.260.0070.05019.09
5.4.250.0030.07319.07
5.4.240.0070.04319.08
5.4.230.0130.06019.04
5.4.220.0000.05019.30
5.4.210.0030.07319.08
5.4.200.0030.06019.05
5.4.190.0100.05319.23
5.4.180.0070.04719.30
5.4.170.0000.08019.30
5.4.160.0070.07718.78
5.4.150.0070.04719.19
5.4.140.0030.07716.41
5.4.130.0030.05016.30
5.4.120.0030.07316.35
5.4.110.0030.04716.16
5.4.100.0030.07016.44
5.4.90.0070.04316.47
5.4.80.0000.04016.49
5.4.70.0070.07016.27
5.4.60.0100.06716.52
5.4.50.0000.07716.45
5.4.40.0100.04316.52
5.4.30.0100.06316.33
5.4.20.0030.05716.48
5.4.10.0100.06716.48
5.4.00.0030.06715.74
5.3.290.0000.07314.56
5.3.280.0000.07714.54
5.3.270.0130.06314.57
5.3.260.0000.07314.55
5.3.250.0030.06714.52
5.3.240.0070.07314.49
5.3.230.0000.07714.57
5.3.220.0070.04714.51
5.3.210.0100.05714.52
5.3.200.0070.07014.44
5.3.190.0030.07714.44
5.3.180.0070.05014.51
5.3.170.0030.06714.50
5.3.160.0100.03714.46
5.3.150.0100.05714.40
5.3.140.0030.05714.41
5.3.130.0030.07714.40
5.3.120.0000.06714.42
5.3.110.0030.08014.52
5.3.100.0000.04714.02
5.3.90.0030.06313.91
5.3.80.0070.07314.06
5.3.70.0030.06713.95
5.3.60.0100.07014.05
5.3.50.0000.07013.88
5.3.40.0100.05013.72
5.3.30.0070.07013.78
5.3.20.0070.06313.62
5.3.10.0030.07313.60
5.3.00.0070.03313.57
5.2.170.0000.06711.84
5.2.160.0070.06011.84
5.2.150.0030.05711.84
5.2.140.0000.05711.84
5.2.130.0070.05011.84
5.2.120.0030.06011.84
5.2.110.0000.03311.84
5.2.100.0030.06011.84
5.2.90.0130.02311.84
5.2.80.0170.02011.84
5.2.70.0000.03711.84
5.2.60.0000.06711.84
5.2.50.0030.05711.84
5.2.40.0070.05711.84
5.2.30.0030.06011.84
5.2.20.0030.06311.84
5.2.10.0030.03711.84
5.2.00.0030.03711.84
5.1.60.0030.05311.84
5.1.50.0030.05011.84
5.1.40.0030.04011.84
5.1.30.0100.05011.84
5.1.20.0030.04311.84
5.1.10.0030.03711.84
5.1.00.0000.04711.84
5.0.50.0030.02711.84
5.0.40.0030.04311.84
5.0.30.0070.06011.84
5.0.20.0030.04711.84
5.0.10.0000.04711.84
5.0.00.0000.04311.84
4.4.90.0030.01711.84
4.4.80.0070.03311.84
4.4.70.0000.04011.84
4.4.60.0030.03311.84
4.4.50.0070.02311.84
4.4.40.0000.05711.84
4.4.30.0000.03711.84
4.4.20.0000.03011.84
4.4.10.0000.04011.84
4.4.00.0000.05711.84
4.3.110.0000.03711.84
4.3.100.0030.02311.84
4.3.90.0070.03011.84
4.3.80.0000.02311.84
4.3.70.0000.02011.84
4.3.60.0000.03311.84
4.3.50.0000.02011.84
4.3.40.0030.03011.84
4.3.30.0000.02311.84
4.3.20.0000.03711.84
4.3.10.0030.02311.84
4.3.00.0000.01711.84

preferences:
46.16 ms | 401 KiB | 5 Q