3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result=0; $bignum = 4946144450195624; for ($long = $bignum; $long > 0; $long >>= 5){ $result = (( $long & 31 | 64) % 95) + 32; echo chr($result); }

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.130.0000.00916.61
8.3.120.0000.00820.78
8.3.110.0080.00016.79
8.3.100.0060.00324.06
8.3.90.0000.00826.77
8.3.80.0060.00317.97
8.3.70.0140.00416.50
8.3.60.0040.01116.75
8.3.50.0100.00822.99
8.3.40.0090.00618.62
8.3.30.0110.00419.07
8.3.20.0040.00420.16
8.3.10.0000.00721.91
8.3.00.0040.00419.68
8.2.250.0070.00018.18
8.2.240.0100.01017.15
8.2.230.0150.00420.94
8.2.220.0100.00037.54
8.2.210.0060.00326.77
8.2.200.0090.00016.60
8.2.190.0090.00916.58
8.2.180.0110.00416.38
8.2.170.0140.00322.96
8.2.160.0050.00922.26
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0090.00026.16
8.2.120.0080.00019.48
8.2.110.0030.00621.00
8.2.100.0070.00417.91
8.2.90.0000.00817.97
8.2.80.0080.00018.16
8.2.70.0050.00317.75
8.2.60.0050.00317.63
8.2.50.0040.00417.93
8.2.40.0080.00019.35
8.2.30.0040.00419.32
8.2.20.0030.00517.80
8.2.10.0040.00418.16
8.2.00.0000.00817.79
8.1.300.0130.00618.50
8.1.290.0040.00430.84
8.1.280.0140.00025.92
8.1.270.0000.00922.05
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0000.00823.84
8.1.230.0070.00320.85
8.1.220.0040.00417.79
8.1.210.0040.00418.77
8.1.200.0000.00817.35
8.1.190.0030.00717.23
8.1.180.0080.00018.10
8.1.170.0080.00017.62
8.1.160.0000.00718.91
8.1.150.0080.00018.73
8.1.140.0070.00017.43
8.1.130.0050.00217.26
8.1.120.0070.00017.43
8.1.110.0000.00817.39
8.1.100.0030.00317.41
8.1.90.0050.00317.38
8.1.80.0050.00517.35
8.1.70.0090.00017.34
8.1.60.0050.00417.53
8.1.50.0040.00517.49
8.1.40.0060.00517.47
8.1.30.0050.01017.47
8.1.20.0080.00517.56
8.1.10.0090.00417.54
8.1.00.0110.00217.47
8.0.300.0000.00819.89
8.0.290.0000.00716.63
8.0.280.0000.00718.45
8.0.270.0030.00317.21
8.0.260.0070.00016.75
8.0.250.0030.00316.85
8.0.240.0040.00416.95
8.0.230.0030.00417.00
8.0.220.0030.00316.95
8.0.210.0090.00316.88
8.0.200.0050.00716.88
8.0.190.0050.00716.90
8.0.180.0080.00416.83
8.0.170.0080.00416.90
8.0.160.0110.00116.86
8.0.150.0070.00616.75
8.0.140.0080.00316.86
8.0.130.0080.00315.06
8.0.120.0070.00616.81
8.0.110.0060.00616.85
8.0.100.0040.00816.80
8.0.90.0070.00416.81
8.0.80.0060.01116.82
8.0.70.0050.00616.90
8.0.60.0090.00316.81
8.0.50.0090.00316.77
8.0.30.0090.01017.04
8.0.20.0100.00917.25
8.0.10.0080.00416.91
8.0.00.0100.00516.72
7.4.330.0000.00615.05
7.4.320.0000.00716.43
7.4.300.0060.00316.48
7.4.290.0110.00316.39
7.4.280.0090.00316.32
7.4.270.0100.00216.45
7.4.260.0080.00416.41
7.4.250.0050.00816.50
7.4.240.0070.00316.46
7.4.230.0060.00716.42
7.4.220.0130.00416.52
7.4.210.0070.00916.38
7.4.200.0050.00616.37
7.4.190.0150.00316.32
7.4.180.0090.00716.39
7.4.160.0090.00716.43
7.4.150.0080.00916.86
7.4.140.0100.00817.39
7.4.130.0140.00316.39
7.4.120.0060.00916.40
7.4.110.0110.00916.44
7.4.100.0140.00216.44
7.4.90.0030.00816.46
7.4.80.0100.00617.90
7.4.70.0070.00616.31
7.4.60.0020.01016.16
7.4.50.0030.00616.44
7.4.40.0090.00416.43
7.4.30.0050.00716.19
7.4.20.0040.00416.30
7.4.10.0120.00215.53
7.4.00.0050.00915.39
7.3.330.0090.00114.77
7.3.320.0090.00114.79
7.3.310.0050.00616.34
7.3.300.0050.00516.27
7.3.290.0110.00316.35
7.3.280.0110.00416.34
7.3.270.0100.00716.82
7.3.260.0130.00316.37
7.3.250.0080.00916.52
7.3.240.0110.00616.37
7.3.230.0110.00816.41
7.3.220.0160.00016.12
7.3.210.0160.00316.20
7.3.200.0110.00817.87
7.3.190.0060.00916.36
7.3.180.0030.01316.33
7.3.170.0090.00716.33
7.3.160.0100.01016.27
7.3.150.0080.00816.35
7.3.140.0110.00516.26
7.3.130.0130.00315.69
7.3.120.0070.00915.62
7.3.110.0070.01015.51
7.3.100.0060.00815.47
7.3.90.0090.00515.72
7.3.80.0080.00715.68
7.3.70.0090.00515.60
7.3.60.0110.00415.74
7.3.50.0050.01115.41
7.3.40.0080.00415.59
7.3.30.0080.00715.65
7.3.20.0080.00416.44
7.3.10.0080.00616.44
7.3.00.0110.00316.49
7.2.340.0080.00816.16
7.2.330.0150.00116.51
7.2.320.0090.00716.34
7.2.310.0100.00616.22
7.2.300.0060.00816.50
7.2.290.0060.01116.57
7.2.280.0140.00016.16
7.2.270.0080.00916.27
7.2.260.0100.00515.55
7.2.250.0060.01115.45
7.2.240.0070.00715.68
7.2.230.0080.00815.79
7.2.220.0110.00515.61
7.2.210.0090.00315.49
7.2.200.0110.00515.68
7.2.190.0120.00615.53
7.2.180.0100.00615.83
7.2.170.0070.00915.71
7.2.160.0080.00715.80
7.2.150.0100.00516.77
7.2.140.0090.00716.51
7.2.130.0150.00716.68
7.2.120.0100.00416.73
7.2.110.0100.00516.74
7.2.100.0100.00916.69
7.2.90.0100.00316.80
7.2.80.0070.00816.75
7.2.70.0100.00816.76
7.2.60.0070.00916.73
7.2.50.0120.00316.62
7.2.40.0080.00616.75
7.2.30.0120.00516.68
7.2.20.0130.00316.67
7.2.10.0090.00316.82
7.2.00.0070.00817.57
7.1.330.0080.00815.62
7.1.320.0090.00315.77
7.1.310.0070.00915.72
7.1.300.0100.00515.71
7.1.290.0070.00415.59
7.1.280.0100.00615.72
7.1.270.0090.00615.53
7.1.260.0110.00315.61
7.1.250.0130.00415.57
7.1.240.0080.00715.71
7.1.230.0080.00715.52
7.1.220.0090.00915.55
7.1.210.0080.00415.64
7.1.200.0080.00715.63
7.1.190.0100.00515.71
7.1.180.0090.00715.65
7.1.170.0120.00315.60
7.1.160.0080.00715.75
7.1.150.0070.00815.64
7.1.140.0070.00815.70
7.1.130.0080.00815.63
7.1.120.0120.00315.66
7.1.110.0090.00715.58
7.1.100.0030.01016.51
7.1.90.0120.00315.63
7.1.80.0060.00915.55
7.1.70.0060.01116.14
7.1.60.0110.00616.90
7.1.50.0080.00516.12
7.1.40.0080.00615.58
7.1.30.0280.00815.48
7.1.20.0110.00315.49
7.1.10.0050.00915.54
7.1.00.0070.02817.92
7.0.330.0110.00415.22
7.0.320.0110.00515.20
7.0.310.0080.00615.24
7.0.300.0060.00815.32
7.0.290.0090.00315.24
7.0.280.0070.00715.28
7.0.270.0060.00615.30
7.0.260.0110.00315.29
7.0.250.0130.00315.53
7.0.240.0070.00615.30
7.0.230.0090.00715.47
7.0.220.0080.00715.41
7.0.210.0040.01015.35
7.0.200.0060.00615.82
7.0.190.0090.00515.41
7.0.180.0060.00715.33
7.0.170.0090.00515.45
7.0.160.0070.00515.35
7.0.150.0190.00715.31
7.0.140.0070.03017.66
7.0.130.0060.00815.29
7.0.120.0090.00715.22
7.0.110.0070.00715.31
7.0.100.0080.00415.39
7.0.90.0070.00715.30
7.0.80.0070.00915.31
7.0.70.0090.00615.23
7.0.60.0090.03016.96
7.0.50.0070.02316.10
7.0.40.0070.03216.25
7.0.30.0130.01816.34
7.0.20.0120.02916.32
7.0.10.0120.03016.28
7.0.00.0080.03016.28
5.6.400.0070.00715.26
5.6.390.0090.00415.10
5.6.380.0050.01015.12
5.6.370.0070.00515.14
5.6.360.0070.00915.09
5.6.350.0080.00615.28
5.6.340.0060.01015.18
5.6.330.0060.00915.02
5.6.320.0000.01315.28
5.6.310.0090.00515.12
5.6.300.0040.01015.13
5.6.290.0070.00715.22
5.6.280.0040.03017.09
5.6.270.0110.00315.25
5.6.260.0110.00415.06
5.6.250.0090.00415.13
5.6.240.0110.00515.14
5.6.230.0070.00515.14
5.6.220.0050.01015.26
5.6.210.0090.02016.95
5.6.200.0120.02716.13
5.6.190.0070.03316.91
5.6.180.0130.01916.85
5.6.170.0130.02116.89
5.6.160.0040.02116.89
5.6.150.0060.02316.28
5.6.140.0070.01516.03
5.6.130.0070.03116.14
5.6.120.0090.02917.10
5.6.110.0080.02917.12
5.6.100.0130.02717.17
5.6.90.0100.03017.00
5.6.80.0070.02216.81
5.6.70.0360.02016.83
5.6.60.0050.01015.26
5.6.50.0090.00315.06
5.6.40.0060.00715.01
5.6.30.0070.00715.06
5.6.20.0110.00315.16
5.6.10.0130.00115.10
5.6.00.0030.01014.91
5.5.380.0030.00914.94
5.5.370.0150.00215.15
5.5.360.0080.00615.02
5.5.350.0140.02916.82
5.5.340.0090.01715.82
5.5.330.0070.02016.67
5.5.320.0190.02716.78
5.5.310.0160.02716.60
5.5.300.0040.03015.93
5.5.290.0100.01316.03
5.5.280.0060.03416.87
5.5.270.0070.02616.87
5.5.260.0060.02216.89
5.5.250.0070.03016.91
5.5.240.1440.01416.76
5.5.230.0070.00514.88
5.5.220.0090.00315.13
5.5.210.0070.00515.02
5.5.200.0040.01114.96
5.5.190.0100.00114.92
5.5.180.0060.00814.85
5.5.170.0060.00614.88
5.5.160.0080.00714.79
5.5.150.0070.00714.85
5.5.140.0050.00815.03
5.5.130.0040.00814.88
5.5.120.0070.00814.84
5.5.110.0050.00914.86
5.5.100.0060.00815.00
5.5.90.0130.00214.97
5.5.80.0070.00515.06
5.5.70.0070.00815.00
5.5.60.0070.00715.00
5.5.50.0050.00914.94
5.5.40.0070.00814.87
5.5.30.0060.00815.30
5.5.20.0110.00314.98
5.5.10.0100.00515.22
5.5.00.0030.01215.16
5.4.450.0220.01914.37
5.4.440.0080.01814.26
5.4.430.0370.01314.38
5.4.420.0050.02314.50
5.4.410.0070.02814.18
5.4.400.0120.01614.14
5.4.390.0090.02014.18
5.4.380.0070.02314.12
5.4.370.0060.02714.10
5.4.360.0070.02013.92
5.4.350.0050.01712.43
5.4.340.0040.01712.41
5.4.330.0060.00411.79
5.4.320.0060.01712.63
5.4.310.0070.01712.64
5.4.300.0090.01612.69
5.4.290.0070.01612.67
5.4.280.0070.01612.49
5.4.270.0090.01512.51
5.4.260.0110.01312.58
5.4.250.0070.01512.62
5.4.240.0050.01812.57
5.4.230.0050.02312.50
5.4.220.0060.01712.58
5.4.210.0090.01312.42
5.4.200.0110.01312.52
5.4.190.0080.01412.44
5.4.180.0030.01812.46
5.4.170.0060.01512.50
5.4.160.0080.01812.48
5.4.150.0060.01512.43
5.4.140.0050.01712.48
5.4.130.0040.01712.43
5.4.120.0060.01612.46
5.4.110.0070.01512.37
5.4.100.0080.01512.30
5.4.90.0060.02012.35
5.4.80.0090.01412.46
5.4.70.0090.01212.40
5.4.60.0060.01512.43
5.4.50.0060.01512.33
5.4.40.0040.01812.37
5.4.30.0090.01612.43
5.4.20.0080.01412.28
5.4.10.0070.01912.44
5.4.00.0110.02212.20

preferences:
28.65 ms | 403 KiB | 5 Q