3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = 'test'; // hash generated with PHP 5.3.7+ $hash = '$2y$14$MTIzNDU2Nzg5MDEyMzQ1NeWUUefVlefsTbFhsbqKFv/vPSZBrSFVm'; $result = crypt($password, $hash); printf("Result hash %s (length %d)\n", $result, strlen($result)); if ($result === $hash) { printf("Ok, verified.\n"); } else { printf("Not verified.\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)
8.3.70.0101.51818.05
8.3.60.0171.48816.50
8.3.50.0151.50816.43
8.3.40.0031.49518.76
8.3.30.0101.49218.66
8.3.20.0070.79818.75
8.3.10.0030.80220.52
8.3.00.0030.80319.25
8.2.180.0031.50316.63
8.2.170.0101.49022.96
8.2.160.0031.53721.07
8.2.150.0030.80224.18
8.2.140.0070.80424.66
8.2.130.0030.80226.16
8.2.120.0000.80619.36
8.2.110.0030.81320.94
8.2.100.0070.90617.37
8.2.90.0030.93819.13
8.2.80.0030.90319.09
8.2.70.0030.90217.50
8.2.60.0000.90717.91
8.2.50.0070.96718.07
8.2.40.0030.90418.03
8.2.30.0030.90318.00
8.2.20.0070.90117.60
8.2.10.0000.90517.76
8.2.00.0000.90717.69
8.1.280.0171.52725.92
8.1.270.0000.80424.66
8.1.260.0070.79826.35
8.1.250.0130.80928.09
8.1.240.0070.82123.86
8.1.230.0100.90420.94
8.1.220.0030.90917.74
8.1.210.0030.90318.90
8.1.200.0100.90717.23
8.1.190.0070.89917.39
8.1.180.0000.90918.10
8.1.170.0000.90818.78
8.1.160.0030.90518.88
8.1.150.0030.90818.59
8.1.140.0070.96317.36
8.1.130.0070.89717.75
8.1.120.0130.89117.45
8.1.110.0060.90117.36
8.1.100.0030.90217.42
8.1.90.0000.90617.46
8.1.80.0070.90017.37
8.1.70.0030.90717.40
8.1.60.0100.89717.53
8.1.50.0070.90017.31
8.1.40.0070.90217.50
8.1.30.0030.90517.58
8.1.20.0070.90217.55
8.1.10.0030.90317.51
8.1.00.0071.00217.46
8.0.300.0070.92819.98
8.0.290.0030.90216.75
8.0.280.0030.90318.39
8.0.270.0070.89817.13
8.0.260.0030.90116.72
8.0.250.0070.89816.79
8.0.240.0070.97116.85
8.0.230.0000.90416.82
8.0.220.0030.92216.85
8.0.210.0070.90216.84
8.0.200.0130.89316.79
8.0.190.0100.89816.92
8.0.180.0100.89616.86
8.0.170.0030.90816.76
8.0.160.0030.90216.75
8.0.150.0030.91516.81
8.0.140.0070.92016.75
8.0.130.0000.90713.35
8.0.120.0000.91216.70
8.0.110.0070.90016.82
8.0.100.0230.92616.78
8.0.90.0070.90516.79
8.0.80.0091.40116.79
8.0.70.0070.89716.87
8.0.60.0070.90216.95
8.0.50.0030.90216.70
8.0.30.0181.27516.86
8.0.20.0191.31217.06
8.0.10.0070.90517.02
8.0.00.0181.31816.63
7.4.330.0000.90312.90
7.4.320.0000.90816.62
7.4.300.0000.91016.46
7.4.290.0030.90316.51
7.4.280.0070.94716.46
7.4.270.0100.90616.53
7.4.260.0070.90213.32
7.4.250.0100.92416.37
7.4.240.0030.90316.62
7.4.230.0000.91116.70
7.4.220.0351.60516.57
7.4.210.0161.38616.50
7.4.200.0070.89916.63
7.4.190.0070.90216.58
7.4.160.0301.32016.59
7.4.150.0131.27716.53
7.4.140.0111.28416.55
7.4.130.0141.34316.41
7.4.120.0111.29316.53
7.4.110.0161.31016.44
7.4.100.0191.28316.59
7.4.90.0231.28916.51
7.4.80.0071.30519.39
7.4.70.0101.28716.71
7.4.60.0221.28416.59
7.4.50.0070.67816.25
7.4.40.0000.94716.21
7.4.30.0131.27916.49
7.4.10.0030.99414.84
7.4.00.0060.97915.03
7.3.330.0070.91513.04
7.3.320.0030.90013.04
7.3.310.0030.90416.28
7.3.300.0000.90316.07
7.3.290.0161.39716.23
7.3.280.0071.39016.21
7.3.270.0131.28016.24
7.3.260.0031.29916.37
7.3.250.0291.27616.53
7.3.240.0101.32416.42
7.3.230.0091.31416.45
7.3.210.0131.27316.34
7.3.200.0231.29416.28
7.3.190.0131.31316.39
7.3.180.0101.28816.46
7.3.170.0161.29316.21
7.3.160.0031.29616.30
7.3.130.0070.96714.86
7.3.120.0100.97814.62
7.3.110.0081.01414.80
7.3.100.0031.00814.79
7.3.90.0030.98414.68
7.3.80.0051.00714.77
7.3.70.0050.98114.81
7.3.60.0080.97414.82
7.3.50.0030.99814.78
7.3.40.0020.97414.73
7.3.30.0030.98014.51
7.3.20.0020.97316.61
7.3.10.0050.97816.48
7.3.00.0020.97916.61
7.2.330.0201.30916.67
7.2.320.0101.28216.39
7.2.310.0091.36316.40
7.2.300.0031.27616.40
7.2.290.0161.32616.35
7.2.260.0071.01514.99
7.2.250.0030.99714.77
7.2.240.0051.01114.89
7.2.230.0120.97814.99
7.2.220.0100.98814.96
7.2.210.0050.99414.75
7.2.200.0050.98514.84
7.2.190.0030.97615.04
7.2.180.0030.99714.84
7.2.170.0030.99114.92
7.2.160.0030.96014.87
7.2.150.0000.97916.68
7.2.140.0100.99216.77
7.2.130.0030.99816.80
7.2.120.0030.99016.73
7.2.110.0000.99916.82
7.2.100.0030.97816.80
7.2.90.0030.99216.80
7.2.80.0070.96917.03
7.2.70.0030.99616.88
7.2.60.0070.97316.80
7.2.50.0070.96616.88
7.2.40.0070.99916.96
7.2.30.0070.96716.63
7.2.20.0001.00216.84
7.2.10.0030.99216.84
7.2.00.0030.97218.24
7.1.330.0050.99815.55
7.1.320.0070.97615.88
7.1.310.0050.99515.85
7.1.300.0050.98515.71
7.1.290.0050.98115.64
7.1.280.0001.00115.76
7.1.270.0070.99215.73
7.1.260.0050.97615.71
7.1.250.0030.99415.83
7.1.240.0070.99915.95
7.1.230.0070.99915.66
7.1.220.0030.99015.54
7.1.210.0030.99615.79
7.1.200.0001.00315.98
7.1.190.0030.97715.82
7.1.180.0100.96715.73
7.1.170.0031.00415.98
7.1.160.0001.00015.84
7.1.150.0031.00615.48
7.1.140.0060.98015.75
7.1.130.0070.98615.62
7.1.120.0030.99815.66
7.1.110.0000.99815.91
7.1.100.0070.98515.93
7.1.90.0070.99315.71
7.1.80.0030.99116.01
7.1.70.0060.96716.44
7.1.60.0051.02517.66
7.1.50.0020.99416.49
7.1.40.0071.00415.62
7.1.30.0070.99715.87
7.1.20.0070.95615.71
7.1.10.0001.00315.90
7.1.00.0070.97718.95
7.0.330.0030.98315.36
7.0.320.0070.98715.41
7.0.310.0000.97715.64
7.0.300.0001.00115.55
7.0.290.0000.99615.64
7.0.280.0031.00115.13
7.0.270.0030.98315.45
7.0.260.0100.99015.41
7.0.250.0000.97315.29
7.0.240.0100.96715.25
7.0.230.0070.98915.42
7.0.220.0100.99115.32
7.0.210.0070.99015.41
7.0.200.0030.97215.74
7.0.190.0070.98415.31
7.0.180.0001.00015.19
7.0.170.0000.98915.41
7.0.160.0030.99615.34
7.0.150.0030.98715.28
7.0.140.0050.98418.62
7.0.130.0070.99215.20
7.0.120.0020.99618.84
7.0.110.0070.96915.24
7.0.100.0080.90817.67
7.0.90.0021.01217.57
7.0.80.0080.96917.56
7.0.70.0120.99017.65
7.0.60.0101.01517.66
7.0.50.0081.00917.84
7.0.40.0030.94516.82
7.0.30.0050.99816.82
7.0.20.0101.00416.82
7.0.10.0050.99616.83
7.0.00.0051.04016.72
5.6.400.0001.00014.02
5.6.390.0030.99714.17
5.6.380.0030.98314.20
5.6.370.0070.96414.04
5.6.360.0000.99814.29
5.6.350.0070.98914.47
5.6.340.0030.99214.42
5.6.330.0030.99614.18
5.6.320.0070.99214.49
5.6.310.0070.96314.49
5.6.300.0000.99014.05
5.6.290.0030.96513.98
5.6.280.0030.97714.21
5.6.270.0070.98614.21
5.6.260.0000.99713.91
5.6.250.0021.00617.35
5.6.240.0070.97317.54
5.6.230.0070.98517.45
5.6.220.0031.01017.50
5.6.210.0070.94017.39
5.6.200.0070.97117.57
5.6.190.0071.01117.50
5.6.180.0100.93817.72
5.6.170.0021.00717.54
5.6.160.0100.92617.69
5.6.150.0620.92317.63
5.6.140.0070.96817.62
5.6.130.0050.93017.53
5.6.120.0050.96717.69
5.6.110.0100.95517.68
5.6.100.0030.91217.61
5.6.90.0020.92417.54
5.6.80.0050.94417.33
5.6.70.0030.94717.51
5.6.60.0101.02217.37
5.6.50.0121.02917.30
5.6.40.0020.96117.28
5.6.30.0071.01317.22
5.6.20.0020.94317.20
5.6.10.0081.03417.27
5.6.00.0101.00017.36
5.5.380.0020.90617.41
5.5.370.0031.02417.35
5.5.360.0900.90817.32
5.5.350.0080.92817.35
5.5.340.0051.01417.49
5.5.330.0031.01617.53
5.5.320.0630.91817.49
5.5.310.0050.97017.43
5.5.300.0081.02317.46
5.5.290.0071.04417.56
5.5.280.0030.93217.34
5.5.270.0030.90817.25
5.5.260.0030.91917.48
5.5.250.0000.95317.49
5.5.240.0031.03717.07
5.5.230.0750.92417.16
5.5.220.0030.92116.97
5.5.210.0081.00616.90
5.5.200.0050.93117.03
5.5.190.0031.03817.13
5.5.180.0450.93517.21
5.5.170.0030.97714.18
5.5.160.0070.91317.13
5.5.150.0070.93417.17
5.5.140.0100.97716.99
5.5.130.0050.96917.16
5.5.120.0070.96917.10
5.5.110.0021.01317.15
5.5.100.0050.91616.88
5.5.90.0070.97117.12
5.5.80.0020.92017.14
5.5.70.0050.95417.02
5.5.60.0030.92316.98
5.5.50.0021.05117.05
5.5.40.0051.02917.07
5.5.30.0050.95217.14
5.5.20.0020.94916.97
5.5.10.0020.97517.10
5.5.00.0051.02417.11
5.4.450.0030.92815.04
5.4.440.0070.90315.13
5.4.430.0020.95415.02
5.4.420.0020.92315.19
5.4.410.0070.95715.02
5.4.400.0071.01414.84
5.4.390.0050.96314.96
5.4.380.0051.02615.04
5.4.370.0030.91315.11
5.4.360.0021.00315.03
5.4.350.0030.92714.80
5.4.340.0121.01414.98
5.4.330.0030.99610.98
5.4.320.0071.03214.77
5.4.310.0050.93914.79
5.4.300.0021.02514.90
5.4.290.0030.92515.05
5.4.280.0020.91714.89
5.4.270.0031.01914.92
5.4.260.0001.00314.85
5.4.250.0030.94114.92
5.4.240.0030.97414.89
5.4.230.0021.02914.84
5.4.220.0030.93214.93
5.4.210.0031.02014.86
5.4.200.0030.93514.88
5.4.190.0100.91515.12
5.4.180.0050.92714.99
5.4.170.0050.91514.90
5.4.160.0030.95515.03
5.4.150.0051.01814.97
5.4.140.0020.92213.73
5.4.130.0031.00713.57
5.4.120.0080.98113.65
5.4.110.0021.01713.43
5.4.100.0031.00113.65
5.4.90.0071.03713.56
5.4.80.0070.98713.58
5.4.70.0020.91613.69
5.4.60.0070.92313.56
5.4.50.0071.02113.57
5.4.40.0031.00013.59
5.4.30.0070.92613.56
5.4.20.0100.97113.71
5.4.10.0020.99813.61
5.4.00.0071.02013.41
5.3.290.0031.00812.58
5.3.280.0051.00312.46
5.3.270.0030.91912.40
5.3.260.0051.03712.55
5.3.250.0051.00412.45
5.3.240.0020.93712.46
5.3.230.0051.02412.49
5.3.220.0081.01012.46
5.3.210.0070.99212.34
5.3.200.0500.91812.42
5.3.190.0050.93612.42
5.3.180.0020.92712.45
5.3.170.0081.00312.49
5.3.160.0020.92412.47
5.3.150.0670.90712.39
5.3.140.0580.90512.42
5.3.130.0050.91412.45
5.3.120.0071.00512.40
5.3.110.0020.92712.38
5.3.100.0021.03212.24
5.3.90.0070.95612.13
5.3.80.0070.98712.12
5.3.70.0030.98011.98
5.3.60.0050.02812.26
5.3.50.0020.02012.10
5.3.40.0030.01812.13
5.3.30.0080.02812.11
5.3.20.0070.02811.95
5.3.10.0020.03511.97
5.3.00.0030.04411.85
5.2.170.0030.03311.07
5.2.160.0030.02711.09
5.2.150.0030.02711.07
5.2.140.0070.06010.89
5.2.130.0030.05010.83
5.2.120.0100.05711.04
5.2.110.0070.05710.90
5.2.100.0130.02311.04
5.2.90.0000.05710.96
5.2.80.0030.06311.09
5.2.70.0030.06311.01
5.2.60.0070.04310.91
5.2.50.0070.02310.95
5.2.40.0070.05710.82
5.2.30.0100.05010.93
5.2.20.0030.06010.82
5.2.10.0030.05710.86
5.2.00.0030.02710.64
5.1.60.0070.05310.05
5.1.50.0030.0279.95
5.1.40.0030.05310.04
5.1.30.0000.03010.36
5.1.20.0000.04710.31
5.1.10.0000.03010.07
5.1.00.0030.04010.04
5.0.50.0000.0478.57
5.0.40.0000.0208.34
5.0.30.0000.0338.07
5.0.20.0000.0308.17
5.0.10.0030.0338.27
5.0.00.0030.0308.22
4.4.90.0030.0177.88
4.4.80.0030.0137.88
4.4.70.0030.0137.88
4.4.60.0030.0237.88
4.4.50.0000.0177.88
4.4.40.0000.0377.88
4.4.30.0030.0337.88
4.4.20.0000.0377.88
4.4.10.0100.0237.88
4.4.00.0000.0407.88
4.3.110.0030.0137.88
4.3.100.0030.0177.88
4.3.90.0000.0337.88
4.3.80.0030.0437.88
4.3.70.0100.0107.88
4.3.60.0030.0137.88
4.3.50.0000.0177.88
4.3.40.0030.0507.88
4.3.30.0030.0137.88
4.3.20.0000.0177.88
4.3.10.0000.0307.88
4.3.00.0000.0137.88

preferences:
46.68 ms | 401 KiB | 5 Q