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://staging.megafon.ru/ext/');

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.40.0030.01318.67
8.3.30.0190.00318.80
8.3.20.0040.00418.50
8.3.10.0000.00820.50
8.3.00.0100.00017.50
8.2.170.0120.00322.96
8.2.160.0120.00621.96
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0050.00319.89
8.2.110.0040.00721.18
8.2.100.0040.00817.78
8.2.90.0040.00419.22
8.2.80.0050.00318.02
8.2.70.0040.00417.63
8.2.60.0030.00518.05
8.2.50.0000.00718.07
8.2.40.0040.00418.16
8.2.30.0000.00819.72
8.2.20.0040.00417.68
8.2.10.0000.00817.55
8.2.00.0000.00817.75
8.1.270.0080.00023.99
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0030.00722.53
8.1.230.0080.00421.03
8.1.220.0060.00318.77
8.1.210.0080.00019.03
8.1.200.0030.00617.23
8.1.190.0000.00717.51
8.1.180.0080.00018.10
8.1.170.0000.00818.61
8.1.160.0000.00718.80
8.1.150.0050.00218.53
8.1.140.0000.00917.37
8.1.130.0070.00017.82
8.1.120.0000.00717.48
8.1.110.0040.00417.48
8.1.100.0060.00317.48
8.1.90.0000.00817.50
8.1.80.0020.00517.42
8.1.70.0040.00417.51
8.1.60.0030.00517.64
8.1.50.0000.00817.57
8.1.40.0080.00017.49
8.1.30.0030.00517.73
8.1.20.0050.00317.64
8.1.10.0030.00517.58
8.1.00.0040.00417.38
8.0.300.0000.00719.90
8.0.290.0040.00416.63
8.0.280.0030.00318.43
8.0.270.0000.00717.26
8.0.260.0000.00716.80
8.0.250.0050.00217.04
8.0.240.0090.00017.00
8.0.230.0020.00516.99
8.0.220.0000.00716.89
8.0.210.0030.00316.76
8.0.200.0030.00316.90
8.0.190.0000.00817.00
8.0.180.0000.00716.72
8.0.170.0000.00816.91
8.0.160.0040.00416.87
8.0.150.0080.00016.88
8.0.140.0040.00816.83
8.0.130.0000.00613.30
8.0.120.0040.00416.89
8.0.110.0000.00816.95
8.0.100.0000.00716.80
8.0.90.0000.00716.94
8.0.80.0130.00316.88
8.0.70.0080.00016.88
8.0.60.0070.00016.86
8.0.50.0050.00216.73
8.0.30.0070.01216.99
8.0.20.0130.00717.40
8.0.10.0000.00716.97
8.0.00.0150.00916.96
7.4.330.0060.00014.90
7.4.320.0000.00616.49
7.4.300.0030.00316.57
7.4.290.0100.00016.50
7.4.280.0060.00316.59
7.4.270.0000.00716.68
7.4.260.0000.00513.34
7.4.250.0050.00316.58
7.4.240.0030.00516.60
7.4.230.0000.00716.64
7.4.220.0120.00616.46
7.4.210.0090.00816.63
7.4.200.0000.00716.66
7.4.190.0040.00416.79
7.4.160.0070.01016.53
7.4.150.0060.01217.40
7.4.140.0090.00817.15
7.4.130.0120.00616.54
7.4.120.0060.01116.62
7.4.110.0120.00816.46
7.4.100.0040.01416.43
7.4.90.0100.00716.47
7.4.80.0030.01419.03
7.4.70.0130.00716.64
7.4.60.0070.01016.55
7.4.50.0040.00416.45
7.4.40.0000.01922.27
7.4.30.0090.00616.66
7.4.00.0050.01014.98
7.3.330.0000.00713.10
7.3.320.0000.00613.25
7.3.310.0000.00716.31
7.3.300.0030.00516.17
7.3.290.0090.00616.29
7.3.280.0020.01416.25
7.3.270.0110.00617.40
7.3.260.0080.00918.24
7.3.250.0120.00616.48
7.3.240.0160.00316.46
7.3.230.0090.01316.63
7.3.210.0090.00916.48
7.3.200.0170.00316.58
7.3.190.0120.00616.31
7.3.180.0040.01116.54
7.3.170.0160.00816.52
7.3.160.0060.00916.53
7.3.120.0060.00914.88
7.3.110.0070.01014.92
7.3.100.0030.01214.70
7.3.90.0030.00614.84
7.3.80.0000.01314.97
7.3.70.0100.00014.88
7.3.60.0060.01014.77
7.3.50.0060.00614.86
7.3.40.0070.00714.68
7.3.30.0080.00414.81
7.3.20.0000.01216.78
7.3.10.0070.00716.41
7.3.00.0070.01116.85
7.2.330.0060.01216.69
7.2.320.0090.00916.69
7.2.310.0190.00616.84
7.2.300.0150.00316.49
7.2.290.0110.00516.64
7.2.250.0030.01415.23
7.2.240.0160.00315.03
7.2.230.0060.01014.98
7.2.220.0000.01415.04
7.2.210.0060.00315.13
7.2.200.0060.00915.10
7.2.190.0090.00015.15
7.2.180.0080.00614.90
7.2.170.0110.00314.85
7.2.60.0100.00616.94
7.2.00.0000.01319.60
7.1.330.0030.01315.65
7.1.320.0060.00815.94
7.1.310.0040.00715.78
7.1.300.0030.00915.55
7.1.290.0040.01115.84
7.1.280.0060.00615.92
7.1.270.0060.00615.48
7.1.260.0060.00615.61
7.1.200.0030.00715.87
7.1.100.0000.01718.18
7.1.70.0110.00317.25
7.1.60.0070.01719.40
7.1.50.0030.01716.98
7.1.00.0100.03722.40
7.0.200.0070.00714.80
7.0.140.0000.07721.95
7.0.60.0070.03719.98
7.0.50.0030.07317.85
7.0.40.0130.07317.77
7.0.30.0000.05017.76
7.0.20.0030.04717.74
7.0.10.0070.05317.72
7.0.00.0070.05317.76
5.6.280.0030.07320.82
5.6.210.0100.05720.52
5.6.200.0000.05318.23
5.6.190.0130.07318.27
5.6.180.0030.07318.21
5.6.170.0030.05018.18
5.6.160.0070.05318.12
5.6.150.0070.03718.30
5.6.140.0070.06318.19
5.6.130.0070.05718.21
5.6.120.0100.07718.14
5.6.110.0070.07018.11
5.6.100.0100.04718.18
5.6.90.0070.08318.15
5.6.80.0000.04317.53
5.6.70.0030.04017.52
5.6.60.0130.07017.61
5.6.50.0030.05017.61
5.6.40.0070.07717.64
5.6.30.0070.07717.54
5.6.20.0100.03317.50
5.6.10.0030.05017.50
5.6.00.0100.06717.52
5.5.350.3930.04320.41
5.5.340.0070.04717.96
5.5.330.0070.07718.07
5.5.320.0030.04318.01
5.5.310.0100.04018.07
5.5.300.0100.04718.08
5.5.290.0070.05317.96
5.5.280.0030.07317.99
5.5.270.0100.07317.97
5.5.260.0030.07017.97
5.5.250.0030.05317.90
5.5.240.0030.05017.36
5.5.230.0000.05017.33
5.5.220.0130.04717.41
5.5.210.0100.09717.40
5.5.200.0030.06317.34
5.5.190.0070.08317.39
5.5.180.0000.06317.30
5.5.160.0170.06717.34
5.5.150.0000.06017.30
5.5.140.0100.07017.44
5.5.130.0100.04317.30
5.5.120.0070.06317.43
5.5.110.0000.09017.29
5.5.100.0000.08317.25
5.5.90.0100.07317.20
5.5.80.0030.07017.32
5.5.70.0070.03717.23
5.5.60.0030.04317.32
5.5.50.0030.04017.32
5.5.40.0100.05317.21
5.5.30.0070.06317.22
5.5.20.0100.04017.18
5.5.10.0130.04717.21
5.5.00.0170.04317.21
5.4.450.0100.08019.45
5.4.440.0100.06319.34
5.4.430.0030.05319.42
5.4.420.0100.04019.33
5.4.410.0030.08719.15
5.4.400.0130.04019.06
5.4.390.0030.04319.14
5.4.380.0000.04718.89
5.4.370.0100.04319.02
5.4.360.0030.06319.05
5.4.350.0070.07318.97
5.4.340.0030.04719.13
5.4.320.0100.06319.13
5.4.310.0170.07319.02
5.4.300.0100.05019.01
5.4.290.0070.07018.89
5.4.280.0100.07719.12
5.4.270.0130.05719.05
5.4.260.0030.08019.27
5.4.250.0030.06019.09
5.4.240.0070.04719.03
5.4.230.0070.04019.26
5.4.220.0100.03719.17
5.4.210.0030.04319.09
5.4.200.0100.05718.88
5.4.190.0070.08019.14
5.4.180.0030.04019.00
5.4.170.0100.06319.26
5.4.160.0070.04719.25
5.4.150.0030.06018.96
5.4.140.0000.04316.48
5.4.130.0100.04016.34
5.4.120.0030.03716.35
5.4.110.0070.04316.55
5.4.100.0030.03716.46
5.4.90.0000.04016.43
5.4.80.0030.06016.56
5.4.70.0030.04316.44
5.4.60.0070.03316.41
5.4.50.0000.05316.32
5.4.40.0130.03316.41
5.4.30.0030.03316.56
5.4.20.0030.04016.39
5.4.10.0100.03716.38
5.4.00.0000.05315.73
5.3.290.0070.04714.72
5.3.280.0100.03714.64
5.3.270.0030.05014.83
5.3.260.0130.07314.67
5.3.250.0030.07314.66
5.3.240.0100.03014.72
5.3.230.0030.05714.63
5.3.220.0100.07314.62
5.3.210.0100.07714.60
5.3.200.0030.04014.64
5.3.190.0030.08314.57
5.3.180.0030.08014.61
5.3.170.0100.03014.61
5.3.160.0070.03314.61
5.3.150.0000.04714.78
5.3.140.0070.04014.52
5.3.130.0070.04014.63
5.3.120.0030.03714.55
5.3.110.0000.05714.59
5.3.100.0100.05314.09
5.3.90.0070.05314.04
5.3.80.0030.07314.07
5.3.70.0100.07014.00
5.3.60.0070.07013.98
5.3.50.0070.07313.95
5.3.40.0070.04013.96
5.3.30.0070.07014.02
5.3.20.0070.06713.69
5.3.10.0070.07013.71
5.3.00.0100.06713.68
5.2.170.0070.05711.15
5.2.160.0030.06311.36
5.2.150.0030.03711.11
5.2.140.0000.05311.05
5.2.130.0030.05311.00
5.2.120.0000.04311.20
5.2.110.0070.04711.01
5.2.100.0070.06711.15
5.2.90.0130.02711.00
5.2.80.0170.05711.00
5.2.70.0070.03311.31
5.2.60.0030.07011.07
5.2.50.0030.06011.01
5.2.40.0000.05011.21
5.2.30.0070.04311.01
5.2.20.0000.05011.17
5.2.10.0070.05010.90
5.2.00.0070.04710.71
5.1.60.0070.05310.01
5.1.50.0000.0509.91
5.1.40.0070.03710.07
5.1.30.0030.06010.38
5.1.20.0030.05710.35
5.1.10.0030.0439.99
5.1.00.0070.02710.12
5.0.50.0030.0278.64
5.0.40.0030.0178.35
5.0.30.0000.0408.20
5.0.20.0030.0408.22
5.0.10.0000.0278.13
5.0.00.0070.0378.13
4.4.90.0030.0338.13
4.4.80.0000.0378.13
4.4.70.0030.0378.13
4.4.60.0030.0308.13
4.4.50.0000.0338.13
4.4.40.0000.0538.13
4.4.30.0000.0238.13
4.4.20.0000.0408.13
4.4.10.0030.0138.13
4.4.00.0000.0308.13
4.3.110.0000.0238.13
4.3.100.0000.0178.13
4.3.90.0000.0238.13
4.3.80.0030.0378.13
4.3.70.0030.0378.13
4.3.60.0030.0338.13
4.3.50.0000.0378.13
4.3.40.0030.0538.13
4.3.30.0000.0278.13
4.3.20.0030.0338.13
4.3.10.0070.0338.13
4.3.00.0000.0308.13

preferences:
34.92 ms | 400 KiB | 5 Q