3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = ''; $hashes = array(); do { $str .= '0'; $hashes[] = crypt($str, '$2y$04$1234567890123456789012'); if (count(array_unique($hashes)) === count($hashes)) $allUnique = true; else $allUnique = false; } while($allUnique); echo "Stopped at " . strlen($str) . " characters before truncation was detected...\n\n"; $lst = array_pop($hashes); $stl = array_pop($hashes); echo "$stl\n$lst";

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.0170.15018.03
8.3.50.0170.13221.21
8.3.40.0100.13518.63
8.3.30.0070.12920.17
8.3.20.0100.06420.18
8.3.10.0000.07321.91
8.3.00.0030.07022.41
8.2.180.0070.14716.50
8.2.170.0030.13422.96
8.2.160.0030.13322.27
8.2.150.0100.06424.18
8.2.140.0030.07524.66
8.2.130.0130.09026.16
8.2.120.0030.07020.88
8.2.110.0070.06922.19
8.2.100.0070.07817.84
8.2.90.0070.07519.35
8.2.80.0000.08219.16
8.2.70.0030.08917.63
8.2.60.0030.08218.05
8.2.50.0070.07618.07
8.2.40.0000.08418.22
8.2.30.0060.07519.37
8.2.20.0100.07617.63
8.2.10.0000.08117.75
8.2.00.0030.07817.75
8.1.280.0070.13125.92
8.1.270.0070.06723.99
8.1.260.0070.06726.35
8.1.250.0030.07028.09
8.1.240.0100.06623.91
8.1.230.0060.08019.08
8.1.220.0070.07517.74
8.1.210.0030.08018.77
8.1.200.0070.07817.36
8.1.190.0070.07517.41
8.1.180.0070.07618.10
8.1.170.0070.07918.63
8.1.160.0030.07918.92
8.1.150.0090.08318.58
8.1.140.0030.07817.46
8.1.130.0030.07917.83
8.1.120.0060.07517.46
8.1.110.0000.08217.48
8.1.100.0070.07517.45
8.1.90.0070.07417.33
8.1.80.0000.08117.45
8.1.70.0030.07717.44
8.1.60.0000.08317.52
8.1.50.0000.08117.59
8.1.40.0000.08117.52
8.1.30.0030.07817.64
8.1.20.0030.07917.70
8.1.10.0030.07917.54
8.1.00.0100.08317.47
8.0.300.0030.07818.77
8.0.290.0100.07517.04
8.0.280.0030.07718.38
8.0.270.0060.07517.27
8.0.260.0000.08116.76
8.0.250.0030.07717.00
8.0.240.0030.07916.85
8.0.230.0030.07816.93
8.0.220.0070.07516.80
8.0.210.0060.07516.77
8.0.200.0030.08716.94
8.0.190.0030.07916.98
8.0.180.0070.07516.81
8.0.170.0030.07916.83
8.0.160.0070.07516.96
8.0.150.0000.08216.89
8.0.140.0030.07916.88
8.0.130.0000.07913.30
8.0.120.0030.07916.77
8.0.110.0000.08116.88
8.0.100.0130.06816.76
8.0.90.0030.07716.86
8.0.80.0070.12416.87
8.0.70.0030.07816.98
8.0.60.0030.07816.79
8.0.50.0030.07816.95
8.0.30.0110.11317.22
8.0.20.0100.11617.42
8.0.10.0000.08216.92
8.0.00.0150.11616.72
7.4.330.0000.08515.00
7.4.320.0100.07116.67
7.4.300.0000.08016.61
7.4.290.0000.08016.50
7.4.280.0030.07716.50
7.4.270.0060.07516.64
7.4.260.0150.08213.36
7.4.250.0100.07116.49
7.4.240.0080.07416.57
7.4.230.0030.07816.48
7.4.220.0070.16216.55
7.4.210.0100.12116.55
7.4.200.0100.07116.71
7.4.190.0070.07416.38
7.4.160.0130.12616.31
7.4.150.0130.11217.40
7.4.140.0050.12517.86
7.4.130.0150.11016.50
7.4.120.0070.12216.58
7.4.110.0100.11216.64
7.4.100.0100.11216.62
7.4.90.0070.11716.45
7.4.80.0100.11419.39
7.4.70.0100.11916.65
7.4.60.0130.11516.54
7.4.50.0000.06916.45
7.4.40.0130.08122.77
7.4.30.0120.12216.33
7.4.00.0070.09415.09
7.3.330.0000.07913.23
7.3.320.0030.07513.23
7.3.310.0030.07816.31
7.3.300.0070.07416.39
7.3.290.0070.12116.30
7.3.280.0090.12416.35
7.3.270.0130.10917.40
7.3.260.0070.12016.26
7.3.250.0180.10816.45
7.3.240.0160.11416.46
7.3.230.0060.11616.39
7.3.210.0100.11316.21
7.3.200.0100.11219.39
7.3.190.0130.11516.73
7.3.180.0130.11316.47
7.3.170.0160.11616.39
7.3.160.0100.11116.49
7.3.120.0070.09014.82
7.3.110.0130.08814.77
7.3.100.0100.08514.79
7.3.90.0070.08914.66
7.3.80.0030.08714.72
7.3.70.0030.09014.81
7.3.60.0070.08614.89
7.3.50.0030.08914.87
7.3.40.0070.08614.70
7.3.30.0100.09414.89
7.3.20.0030.09816.71
7.3.10.0030.09016.32
7.3.00.0070.09016.40
7.2.330.0100.11216.53
7.2.320.0100.11416.73
7.2.310.0100.12016.79
7.2.300.0100.11116.51
7.2.290.0060.11516.53
7.2.250.0100.08915.01
7.2.240.0100.09315.04
7.2.230.0000.09515.20
7.2.220.0070.09614.82
7.2.210.0100.08414.99
7.2.200.0030.09015.26
7.2.190.0030.08814.83
7.2.180.0000.09314.91
7.2.170.0070.09515.19
7.2.60.0030.08616.89
7.2.00.0070.08819.38
7.1.330.0030.09115.45
7.1.320.0030.08915.75
7.1.310.0100.08015.87
7.1.300.0030.10216.02
7.1.290.0070.08515.89
7.1.280.0070.09515.75
7.1.270.0030.08916.00
7.1.260.0070.08915.78
7.1.200.0070.08515.93
7.1.100.0000.09318.15
7.1.70.0030.08417.29
7.1.60.0130.14519.32
7.1.50.0000.15716.68
7.1.00.0000.10722.28
7.0.200.0030.08516.78
7.0.140.0000.18321.99
7.0.100.0100.16020.01
7.0.90.0030.13020.08
7.0.80.0530.17019.93
7.0.70.0100.17720.05
7.0.60.0270.16020.07
7.0.50.0330.16020.37
7.0.40.0130.19020.05
7.0.30.0170.19019.96
7.0.20.0070.20020.13
7.0.10.0100.17020.04
7.0.00.0070.18019.91
5.6.280.0100.18021.14
5.6.250.0100.19020.63
5.6.240.0070.16020.66
5.6.230.0070.12720.50
5.6.220.0100.19720.48
5.6.210.0130.18020.45
5.6.200.0100.19321.01
5.6.190.0030.17020.96
5.6.180.0070.18020.95
5.6.170.0130.16021.01
5.6.160.0030.16321.01
5.6.150.0100.12721.07
5.6.140.0070.10721.05
5.6.130.0030.12721.12
5.6.120.0130.19021.00
5.6.110.0070.13720.94
5.6.100.0000.20021.06
5.6.90.0100.14021.04
5.6.80.0000.12320.32
5.6.70.0070.10720.43
5.6.60.0030.12020.38
5.6.50.0070.10720.52
5.6.40.0000.10720.43
5.6.30.0000.13320.38
5.6.20.0070.09720.41
5.6.10.0000.11020.32
5.6.00.0030.10020.30
5.5.380.0100.14720.37
5.5.370.0070.11720.45
5.5.360.0100.18320.35
5.5.350.0030.14320.34
5.5.340.0070.15320.88
5.5.330.0070.15020.80
5.5.320.0030.19020.73
5.5.310.0130.16720.82
5.5.300.0030.15020.76
5.5.290.0000.11320.73
5.5.280.0070.12020.93
5.5.270.0030.19320.72
5.5.260.0130.17020.79
5.5.250.0070.18720.70
5.5.240.0070.11720.26
5.5.230.0030.12720.23
5.5.220.0030.12720.29
5.5.210.0070.09720.18
5.5.200.0000.12720.18
5.5.190.0070.12320.23
5.5.180.0030.10020.18
5.5.160.0030.10319.97
5.5.150.0100.11720.25
5.5.140.0030.12320.17
5.5.130.0070.15319.98
5.5.120.0070.09719.99
5.5.110.0100.11320.17
5.5.100.0070.14720.07
5.5.90.0070.17019.95
5.5.80.0030.18020.14
5.5.70.0070.13720.09
5.5.60.0070.13320.14
5.5.50.0070.19020.13
5.5.40.0170.10020.13
5.5.30.0100.17020.05
5.5.20.0030.11020.07
5.5.10.0070.10320.00
5.5.00.0100.12720.12
5.4.450.0130.17019.45
5.4.440.0070.18719.23
5.4.430.0070.11719.27
5.4.420.0100.14319.13
5.4.410.0100.11319.27
5.4.400.0030.12019.06
5.4.390.0070.14718.98
5.4.380.0070.11718.98
5.4.370.0070.11719.10
5.4.360.0070.12019.02
5.4.350.0000.10719.14
5.4.340.0030.11019.12
5.4.320.0000.10019.11
5.4.310.0070.09318.82
5.4.300.0000.12318.98
5.4.290.0030.12319.04
5.4.280.0070.12018.78
5.4.270.0070.12019.23
5.4.260.0000.12318.81
5.4.250.0100.16718.88
5.4.240.0030.12319.05
5.4.230.0030.19019.03
5.4.220.0130.19019.11
5.4.210.0130.16719.11
5.4.200.0170.16318.78
5.4.190.0000.16019.05
5.4.180.0100.10018.78
5.4.170.0100.18719.05
5.4.160.0000.11019.09
5.4.150.0070.10719.02
5.4.140.0170.17316.33
5.4.130.0000.10316.32
5.4.120.0030.17716.32
5.4.110.0030.11316.28
5.4.100.0100.15016.46
5.4.90.0070.16316.43
5.4.80.0030.10716.37
5.4.70.0070.10016.35
5.4.60.0100.16316.43
5.4.50.0070.13016.42
5.4.40.0030.12316.52
5.4.30.0070.14316.21
5.4.20.0070.13716.42
5.4.10.0030.19016.42
5.4.00.0100.16315.66
5.3.290.0000.10714.65
5.3.280.0130.09714.58
5.3.270.0100.16014.63
5.3.260.0000.10714.62
5.3.250.0070.17014.62
5.3.240.0030.12314.62
5.3.230.0100.16714.57
5.3.220.0170.15314.59
5.3.210.0070.16714.41
5.3.200.0030.19314.53
5.3.190.0070.17314.56
5.3.180.0070.15714.41
5.3.170.0100.17314.41
5.3.160.0100.09714.55
5.3.150.0030.18314.58
5.3.140.0070.16314.58
5.3.130.0030.10714.52
5.3.120.0000.16014.49
5.3.110.0030.17314.55
5.3.100.0030.12714.06
5.3.90.0070.17314.05
5.3.80.0130.18714.02
5.3.70.0070.18714.05
5.3.60.0030.04014.00
5.3.50.0070.07713.95
5.3.40.0070.05013.77
5.3.30.0100.06713.72
5.3.20.0070.06013.66
5.3.10.0030.06013.66
5.3.00.0100.05013.71
5.2.170.0030.05712.31
5.2.160.0030.06012.31
5.2.150.0030.06312.31
5.2.140.0070.03712.31
5.2.130.0030.06012.31
5.2.120.0000.03712.31
5.2.110.0070.05312.31
5.2.100.0100.05712.31
5.2.90.0030.06312.31
5.2.80.0030.06012.31
5.2.70.0030.06712.31
5.2.60.0000.06012.31
5.2.50.0170.03312.31
5.2.40.0070.03012.31
5.2.30.0070.03712.31
5.2.20.0030.05312.31
5.2.10.0030.04012.31
5.2.00.0070.05712.31
5.1.60.0030.05012.31
5.1.50.0030.04712.31
5.1.40.0000.05012.31
5.1.30.0000.05012.31
5.1.20.0070.04712.31
5.1.10.0000.05712.31
5.1.00.0030.05712.31
5.0.50.0030.04312.31
5.0.40.0030.04712.31
5.0.30.0000.06312.31
5.0.20.0000.04312.31
5.0.10.0000.04712.31
5.0.00.0030.06012.31
4.4.90.0030.03012.31
4.4.80.0030.03312.31
4.4.70.0030.03312.31
4.4.60.0000.03712.31
4.4.50.0000.03012.31
4.4.40.0070.05012.31
4.4.30.0030.03312.31
4.4.20.0000.02312.31
4.4.10.0070.01312.31
4.4.00.0030.05012.31
4.3.110.0070.03012.31
4.3.100.0030.03312.31
4.3.90.0100.02712.31
4.3.80.0070.05012.31
4.3.70.0000.02012.31
4.3.60.0070.02012.31
4.3.50.0030.03312.31
4.3.40.0030.04012.31
4.3.30.0000.03712.31
4.3.20.0070.03312.31
4.3.10.0000.03012.31
4.3.00.0000.02312.31

preferences:
46.48 ms | 401 KiB | 5 Q