3v4l.org

run code in 300+ PHP versions simultaneously
<?php function __int32($numeric_value){ $x = (float)$numeric_value; $y = pow(2,32); if ($x > $y) { $x = pow(2,31)-1; } elseif ($x >= pow(2,31)) { $x -= $y; } return (int)$x; } function crc32int($string) { return __int32(hexdec(hash("crc32b", $string))); } echo crc32int('http://evil.com');

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.0100.01018.68
8.3.50.0080.01022.05
8.3.40.0150.00318.84
8.3.30.0140.00019.04
8.3.20.0050.00320.34
8.3.10.0030.00621.97
8.3.00.0080.00022.52
8.2.180.0210.00016.63
8.2.170.0000.01922.96
8.2.160.0110.00320.77
8.2.150.0000.00824.18
8.2.140.0050.00324.66
8.2.130.0060.01226.16
8.2.120.0070.00317.50
8.2.110.0000.00822.23
8.2.100.0080.00419.50
8.2.90.0050.00319.21
8.2.80.0000.00818.05
8.2.70.0060.00317.50
8.2.60.0080.00018.05
8.2.50.0050.00318.07
8.2.40.0040.00418.28
8.2.30.0040.00417.95
8.2.20.0040.00417.65
8.2.10.0040.00417.66
8.2.00.0090.00017.49
8.1.280.0070.00725.92
8.1.270.0060.00322.13
8.1.260.0100.01026.35
8.1.250.0070.01128.09
8.1.240.0060.00323.83
8.1.230.0080.00319.02
8.1.220.0000.00817.76
8.1.210.0030.00618.77
8.1.200.0090.00017.35
8.1.190.0000.00817.53
8.1.180.0030.00618.56
8.1.170.0040.00418.51
8.1.160.0000.00722.02
8.1.150.0080.00018.70
8.1.140.0000.00717.50
8.1.130.0030.00317.73
8.1.120.0000.00717.39
8.1.110.0030.00517.41
8.1.100.0040.00417.48
8.1.90.0040.00417.48
8.1.80.0040.00417.43
8.1.70.0000.00717.45
8.1.60.0070.00317.56
8.1.50.0030.00617.53
8.1.40.0040.00417.53
8.1.30.0000.00817.71
8.1.20.0050.00317.64
8.1.10.0030.00517.61
8.1.00.0050.00217.56
8.0.300.0000.00718.77
8.0.290.0000.00717.15
8.0.280.0030.00718.49
8.0.270.0000.00717.13
8.0.260.0000.00616.99
8.0.250.0000.00717.05
8.0.240.0040.00416.96
8.0.230.0000.00716.98
8.0.220.0060.00016.91
8.0.210.0000.00716.88
8.0.200.0030.00316.89
8.0.190.0000.00716.93
8.0.180.0030.00316.88
8.0.170.0000.00716.91
8.0.160.0030.00516.89
8.0.150.0000.00716.93
8.0.140.0000.00716.87
8.0.130.0000.00513.27
8.0.120.0000.00816.75
8.0.110.0000.00816.88
8.0.100.0030.00316.92
8.0.90.0040.00417.01
8.0.80.0100.01016.85
8.0.70.0000.00716.86
8.0.60.0050.00316.91
8.0.50.0040.00416.85
8.0.30.0090.01117.19
8.0.20.0080.01017.43
8.0.10.0000.00716.85
8.0.00.0110.00816.71
7.4.330.0020.00215.10
7.4.320.0000.00616.66
7.4.300.0060.00016.70
7.4.290.0040.00416.56
7.4.280.0030.00316.64
7.4.270.0030.00316.66
7.4.260.0080.00016.69
7.4.250.0070.00016.54
7.4.240.0010.00616.51
7.4.230.0000.00716.46
7.4.220.0070.01116.69
7.4.210.0110.00616.73
7.4.200.0070.00016.59
7.4.190.0000.00816.56
7.4.160.0000.01616.55
7.4.150.0000.01617.40
7.4.140.0110.01117.86
7.4.130.0080.00916.54
7.4.120.0060.01116.53
7.4.110.0100.01316.45
7.4.100.0220.00016.55
7.4.90.0090.00916.51
7.4.80.0150.01219.39
7.4.70.0070.01016.56
7.4.60.0090.00916.50
7.4.50.0000.00516.46
7.4.40.0080.00322.77
7.4.30.0090.00616.40
7.4.00.0000.01414.84
7.3.330.0060.00013.29
7.3.320.0000.00513.27
7.3.310.0000.00716.14
7.3.300.0030.00316.15
7.3.290.0140.00016.27
7.3.280.0080.00916.28
7.3.270.0140.00417.40
7.3.260.0210.02716.59
7.3.250.0090.00916.42
7.3.240.0090.00916.77
7.3.230.0120.00616.47
7.3.210.0090.00916.46
7.3.200.0150.00519.39
7.3.190.0130.00716.56
7.3.180.0110.00616.59
7.3.170.0070.01016.38
7.3.160.0160.00016.64
7.3.120.0030.01114.68
7.3.10.0000.00916.70
7.3.00.0030.00816.62
7.2.330.0120.01216.80
7.2.320.0130.01016.74
7.2.310.0100.00716.63
7.2.300.0060.00916.46
7.2.290.0060.01016.80
7.2.130.0080.00416.91
7.2.120.0100.00316.83
7.2.110.0040.00716.83
7.2.100.0030.01016.75
7.2.90.0040.00816.79
7.2.80.0070.00317.04
7.2.70.0000.01216.93
7.2.60.0030.00916.90
7.2.50.0100.00016.55
7.2.40.0060.00517.00
7.2.30.0060.00616.71
7.2.20.0030.01316.98
7.2.10.0040.01116.99
7.2.00.0100.01017.86
7.1.250.0040.00715.77
7.1.100.0070.00418.13
7.1.70.0000.00816.93
7.1.60.0030.00919.82
7.1.50.0140.01017.15
7.1.00.0100.07022.29
7.0.200.0090.00316.77
7.0.140.0100.06722.05
7.0.60.0000.09019.94
7.0.50.0130.07317.86
7.0.40.0070.06720.02
7.0.30.0370.07020.07
7.0.20.0270.08320.05
7.0.10.0300.05020.12
7.0.00.0030.07320.06
5.6.280.0000.07321.03
5.6.210.0070.05320.72
5.6.200.0030.08018.15
5.6.190.0070.05320.61
5.6.180.3200.04020.63
5.6.170.0400.08020.56
5.6.160.0100.05720.57
5.6.150.0030.08718.29
5.6.140.0000.05318.25
5.6.130.0030.05718.28
5.6.120.0070.08321.02
5.6.110.0130.06721.05
5.6.100.0130.04720.98
5.6.90.0230.07320.97
5.6.80.0070.08320.45
5.6.70.0270.05320.44
5.5.350.0030.05320.30
5.5.340.0000.06018.03
5.5.330.0000.04720.40
5.5.320.0200.04020.28
5.5.310.0270.08020.32
5.5.300.0070.08018.07
5.5.290.0100.07317.98
5.5.280.0070.04020.90
5.5.270.0030.04320.86
5.5.260.0070.09720.76
5.5.250.0170.07320.70
5.5.240.0070.04320.27
5.4.450.0130.04319.20
5.4.440.0200.04019.48
5.4.430.0200.03719.16
5.4.420.0200.03719.32
5.4.410.0200.08019.42
5.4.400.0170.03719.07
5.4.390.0170.03718.98
5.4.380.0170.04019.18
5.4.370.0230.03319.22
5.4.360.0100.04719.09
5.4.350.0200.03318.84
5.4.340.0200.03318.95
5.4.320.0270.05318.83
5.4.310.0130.04019.24
5.4.300.0130.04018.87
5.4.290.0130.04318.84
5.4.280.0170.03718.88
5.4.270.0130.04019.13
5.4.260.0170.03718.84
5.4.250.0100.04319.31
5.4.240.0100.06019.01
5.4.230.0200.03318.95
5.4.220.0200.03319.14
5.4.210.0170.03719.16
5.4.200.0230.03019.22
5.4.190.0170.03719.21
5.4.180.0200.03318.83
5.4.170.0170.03718.91
5.4.160.0200.03718.98
5.4.150.0200.04019.18
5.4.140.0230.04016.50
5.4.130.0130.03716.37
5.4.120.0130.04016.40
5.4.110.0200.03716.24
5.4.100.0230.05016.61
5.4.90.0270.03716.51
5.4.80.0270.05316.62
5.4.70.0200.05716.23
5.4.60.0170.03716.25
5.4.50.0270.03016.24
5.4.40.0130.04016.43
5.4.30.0130.04716.53
5.4.20.0200.03316.51
5.4.10.0170.03716.16
5.4.00.0200.03315.83
5.3.290.0230.04314.89
5.3.280.0270.04014.50
5.3.270.0270.05014.68
5.3.260.0200.03714.66
5.3.250.0130.03714.58
5.3.240.0070.04014.60
5.3.230.0170.04314.60
5.3.220.0300.06014.58
5.3.210.0230.05314.47
5.3.200.0200.04314.54
5.3.190.0170.06714.68
5.3.180.0070.05014.64
5.3.170.0170.07014.57
5.3.160.0200.04314.47
5.3.150.0170.04314.68
5.3.140.0370.02714.48
5.3.130.0100.06014.47
5.3.120.0170.04014.52
5.3.110.0170.03714.56
5.3.100.0230.07013.96
5.3.90.0170.04314.14
5.3.80.0170.06714.07
5.3.70.0170.03714.05
5.3.60.0200.05314.08
5.3.50.0300.06713.88
5.3.40.0170.04713.96
5.3.30.0170.05314.14
5.3.20.0200.03313.63
5.3.10.0230.03713.57
5.3.00.0170.03313.57
5.2.170.0130.03011.02
5.2.160.0270.02311.16
5.2.150.0170.03711.24
5.2.140.0200.04311.05
5.2.130.0200.03311.04
5.2.120.0130.03311.19
5.2.110.0270.04711.22
5.2.100.0170.02711.33
5.2.90.0130.06011.25
5.2.80.0200.06011.00
5.2.70.0130.03011.11
5.2.60.0070.03710.96
5.2.50.0170.04011.00
5.2.40.0170.05311.08
5.2.30.0130.04710.89
5.2.20.0200.03310.88
5.2.10.0070.03710.82
5.2.00.0200.05010.73
5.1.60.0130.02710.23
5.1.50.0170.05310.15
5.1.40.0200.0479.96
5.1.30.0000.04710.56
5.1.20.0170.03310.43
5.1.10.0130.0539.96
5.1.00.0130.02310.23
5.0.50.0070.0238.53
5.0.40.0070.0208.31
5.0.30.0130.0538.16
5.0.20.0030.0208.18
5.0.10.0070.0238.16
5.0.00.0070.0538.16
4.4.90.0070.0378.16
4.4.80.0030.0308.16
4.4.70.0070.0208.16
4.4.60.0070.0308.16
4.4.50.0070.0178.16
4.4.40.0070.0478.16
4.4.30.0070.0308.16
4.4.20.0030.0208.16
4.4.10.0070.0308.16
4.4.00.0100.0238.16
4.3.110.0130.0238.16
4.3.100.0070.0178.16
4.3.90.0100.0308.16
4.3.80.0100.0538.16
4.3.70.0000.0378.16
4.3.60.0070.0238.16
4.3.50.0070.0378.16
4.3.40.0070.0338.16
4.3.30.0070.0208.16
4.3.20.0030.0178.16
4.3.10.0070.0378.16
4.3.00.0030.0278.16

preferences:
43.98 ms | 401 KiB | 5 Q