3v4l.org

run code in 300+ PHP versions simultaneously
<?php phpversion() >= "7.0.0beta1" or die(); $two_pow_64 = pow(2,64); echo "(int) INF: ",(int) INF,"\n"; echo "(int) $two_pow64", (int) $two_pow_64,"\n";

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)
7.4.00.0080.00915.11
7.3.120.0080.01114.80
7.3.110.0060.01014.95
7.3.100.0050.01114.86
7.3.90.0040.00915.11
7.3.80.0070.01015.05
7.3.70.0070.00514.95
7.3.60.0030.01214.91
7.3.50.0060.00714.89
7.3.40.0060.00714.97
7.3.30.0060.00615.06
7.3.20.0050.00816.56
7.3.10.0050.00916.78
7.3.00.0030.00916.62
7.2.250.0070.01115.29
7.2.240.0070.01215.03
7.2.230.0080.00815.04
7.2.220.0050.00715.20
7.2.210.0070.00815.23
7.2.200.0030.00914.94
7.2.190.0040.00815.05
7.2.180.0070.00614.98
7.2.170.0060.00815.03
7.2.160.0120.00314.88
7.2.150.0030.01217.08
7.2.140.0130.00016.65
7.2.130.0060.00916.96
7.2.120.0100.00317.04
7.2.110.0070.01016.98
7.2.100.0060.00916.68
7.2.90.0100.00716.99
7.2.80.0110.00316.84
7.2.70.0030.01017.25
7.2.60.0110.00416.89
7.2.50.0000.00916.70
7.2.40.0030.01016.95
7.2.30.0100.00317.02
7.2.20.0040.00717.19
7.2.10.0080.00417.02
7.2.00.0040.00918.25
7.1.330.0040.01115.92
7.1.320.0040.00815.82
7.1.310.0070.00715.87
7.1.300.0040.00815.88
7.1.290.0050.01015.87
7.1.280.0060.00415.86
7.1.270.0050.00516.03
7.1.260.0050.00815.92
7.1.250.0060.00615.96
7.1.240.0030.00615.77
7.1.230.0090.00316.09
7.1.220.0050.00515.74
7.1.210.0070.00715.80
7.1.200.0030.00915.68
7.1.190.0060.00615.72
7.1.180.0110.00416.05
7.1.170.0030.00615.85
7.1.160.0030.00716.00
7.1.150.0040.00815.98
7.1.140.0040.00816.01
7.1.130.0000.01115.95
7.1.120.0030.00915.79
7.1.110.0130.00016.00
7.1.100.0060.00517.06
7.1.90.0030.01115.90
7.1.80.0000.00915.93
7.1.70.0080.00516.69
7.1.60.0090.01017.46
7.1.50.0050.00916.37
7.1.40.0030.00916.07
7.1.30.0030.01015.92
7.1.20.0030.01315.91
7.1.10.0070.00315.67
7.1.00.0050.04119.21
7.0.330.0040.00815.60
7.0.320.0000.01215.55
7.0.310.0030.00615.28
7.0.300.0070.00715.52
7.0.290.0030.00615.57
7.0.280.0000.01115.29
7.0.270.0040.00815.57
7.0.260.0080.00315.41
7.0.250.0060.01015.58
7.0.240.0070.01015.63
7.0.230.0070.00415.66
7.0.220.0080.00315.35
7.0.210.0000.01415.52
7.0.200.0020.00716.22
7.0.190.0060.00315.59
7.0.180.0060.00615.50
7.0.170.0030.00615.29
7.0.160.0030.00915.59
7.0.150.0030.01015.71
7.0.140.0040.00815.43
7.0.130.0040.00915.70
7.0.120.0000.01415.49
7.0.110.0040.00415.66
7.0.100.0090.00015.60
7.0.90.0030.00915.62
7.0.80.0040.01115.57
7.0.70.0110.00415.52
7.0.60.0030.04717.76
7.0.50.0060.03116.73
7.0.40.0070.04516.91
7.0.30.0110.03017.14
7.0.20.0150.02916.92
7.0.10.0020.04216.81
7.0.00.0050.02516.82
5.6.400.0100.00313.99
5.6.390.0060.00614.39
5.6.380.0030.00914.24
5.6.370.0100.00314.42
5.6.360.0060.00614.29
5.6.350.0070.00714.03
5.6.340.0070.01014.38
5.6.330.0030.01014.27
5.6.320.0060.00614.40
5.6.310.0130.00314.18
5.6.300.0030.00514.11
5.6.290.0000.01214.16
5.6.280.0030.02317.64
5.6.270.0060.01014.03
5.6.260.0040.00814.10
5.6.250.0030.00714.32
5.6.240.0100.00314.23
5.6.230.0030.01014.03
5.6.220.0030.00614.34
5.6.210.0050.03317.36
5.6.200.0050.03916.19
5.6.190.0080.03317.38
5.6.180.0250.02417.46
5.6.170.0110.02717.31
5.6.160.0020.02817.19
5.6.150.0050.02216.16
5.6.140.0100.04016.16
5.6.130.0050.04916.38
5.6.120.0130.03817.71
5.6.110.0070.04817.66
5.6.100.0070.04417.55
5.6.90.0090.02217.71
5.6.80.0030.03317.34
5.6.70.0030.00914.21
5.6.60.0000.00914.13
5.6.50.0090.00614.04
5.6.40.0060.00314.42
5.6.30.0000.01213.97
5.6.20.0030.01014.24
5.6.10.0110.00314.19
5.6.00.0090.00614.19
5.5.380.0030.00913.92
5.5.370.0060.00614.06
5.5.360.0080.00414.21
5.5.350.0050.03517.38
5.5.340.0080.03715.95
5.5.330.0020.02817.22
5.5.320.0120.02317.18
5.5.310.0100.03917.17
5.5.300.0070.03316.11
5.5.290.0120.04116.06
5.5.280.0070.04117.52
5.5.270.0150.04317.44
5.5.260.0080.04117.48
5.5.250.0090.04517.29
5.5.240.0100.03817.08
5.5.230.0110.00414.07
5.5.220.0100.00614.13
5.5.210.0040.01113.87
5.5.200.0040.00714.06
5.5.190.0000.01514.25
5.5.180.0030.01314.01
5.5.170.0120.00614.08
5.5.160.0030.01114.03
5.5.150.0000.01514.01
5.5.140.0060.00914.08
5.5.130.0060.00914.16
5.5.120.0030.01213.94
5.5.110.0030.00714.13
5.5.100.0080.00614.05
5.5.90.0030.01014.09
5.5.80.0060.00314.18
5.5.70.0120.00314.13
5.5.60.0090.00613.88
5.5.50.0040.01113.78
5.5.40.0030.01014.01
5.5.30.0100.01014.05
5.5.20.0000.01114.05
5.5.10.0070.01314.02
5.5.00.0080.00813.86

preferences:
38.44 ms | 401 KiB | 5 Q