3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pass = '123456'; $hash = crypt($pass); var_dump(crypt($pass, $hash) == $hash);

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.0070.01416.50
8.3.60.0110.00618.18
8.3.50.0120.00922.05
8.3.40.0150.00018.71
8.3.30.0130.00020.22
8.3.20.0070.00019.98
8.3.10.0040.00422.09
8.3.00.0040.00422.46
8.2.190.0130.00616.58
8.2.180.0090.00616.38
8.2.170.0100.01022.96
8.2.160.0110.00422.26
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0110.00726.16
8.2.120.0080.00019.54
8.2.110.0060.00322.25
8.2.100.0080.00817.72
8.2.90.0020.00519.21
8.2.80.0000.00719.09
8.2.70.0100.00017.50
8.2.60.0070.00317.80
8.2.50.0040.00418.07
8.2.40.0040.00418.21
8.2.30.0040.00417.98
8.2.20.0020.00517.55
8.2.10.0000.00817.79
8.2.00.0120.00017.77
8.1.280.0100.00725.92
8.1.270.0020.00524.66
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0090.00023.75
8.1.230.0080.00419.15
8.1.220.0020.00517.74
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0050.00317.53
8.1.180.0040.00419.01
8.1.170.0040.00418.46
8.1.160.0100.00022.06
8.1.150.0040.00418.55
8.1.140.0030.00617.25
8.1.130.0000.00817.77
8.1.120.0040.00417.46
8.1.110.0040.00417.43
8.1.100.0000.00717.46
8.1.90.0070.00017.38
8.1.80.0040.00417.30
8.1.70.0030.00317.33
8.1.60.0050.00317.55
8.1.50.0000.00817.38
8.1.40.0080.00017.46
8.1.30.0030.00517.62
8.1.20.0040.00417.61
8.1.10.0030.00617.59
8.1.00.0000.00817.46
8.0.300.0050.00218.77
8.0.290.0000.00717.18
8.0.280.0000.00718.43
8.0.270.0030.00317.17
8.0.260.0040.00416.92
8.0.250.0000.00716.93
8.0.240.0030.00616.95
8.0.230.0000.00716.88
8.0.220.0030.00316.76
8.0.210.0040.00416.88
8.0.200.0030.00316.98
8.0.190.0000.00716.83
8.0.180.0040.00416.80
8.0.170.0000.00816.84
8.0.160.0000.00816.86
8.0.150.0000.00716.89
8.0.140.0080.00016.73
8.0.130.0000.00513.27
8.0.120.0090.00016.84
8.0.110.0040.00416.71
8.0.100.0020.00516.88
8.0.90.0000.00716.69
8.0.80.0060.01316.82
8.0.70.0080.00016.68
8.0.60.0000.00716.84
8.0.50.0040.00416.75
8.0.30.0120.00716.97
8.0.20.0110.01517.40
8.0.10.0000.00716.80
8.0.00.0090.00716.66
7.4.330.0050.00215.00
7.4.320.0000.00716.59
7.4.300.0060.00016.59
7.4.290.0070.00016.45
7.4.280.0030.00316.50
7.4.270.0000.00716.51
7.4.260.0080.00016.54
7.4.250.0070.00016.34
7.4.240.0080.00016.54
7.4.230.0050.00216.39
7.4.220.0060.01316.68
7.4.210.0080.00716.59
7.4.200.0040.00416.33
7.4.190.0040.00416.65
7.4.160.0100.00716.56
7.4.150.0100.00717.40
7.4.140.0070.01117.86
7.4.130.0080.00916.45
7.4.120.0090.00816.54
7.4.110.0060.01116.44
7.4.100.0130.00716.27
7.4.90.0090.01216.61
7.4.80.0140.00519.39
7.4.70.0140.00816.36
7.4.60.0060.01016.58
7.4.50.0030.00616.29
7.4.40.0040.01122.77
7.4.30.0130.00316.54
7.4.00.0030.01314.76
7.3.330.0030.00313.00
7.3.320.0030.00313.09
7.3.310.0030.00316.32
7.3.300.0080.00016.25
7.3.290.0000.01616.21
7.3.280.0060.01016.22
7.3.270.0090.00917.40
7.3.260.0130.00716.40
7.3.250.0110.01016.39
7.3.240.0100.01316.37
7.3.230.0100.00616.39
7.3.210.0100.00616.26
7.3.200.0070.01719.39
7.3.190.0080.01516.36
7.3.180.0140.00716.19
7.3.170.0130.00316.27
7.3.160.0090.00616.46
7.3.120.0090.00614.99
7.2.330.0060.01316.57
7.2.320.0200.00316.51
7.2.310.0180.00416.38
7.2.300.0070.01016.49
7.2.290.0110.00616.67
7.2.00.0040.01119.47
7.1.100.0220.00918.09
7.1.70.0030.00617.25
7.1.60.0100.00317.21
7.1.50.0090.01517.00
7.1.00.0000.03722.30
7.0.200.0060.01216.82
7.0.140.0030.07022.09
7.0.70.3500.03720.01
7.0.60.0000.04319.93
7.0.50.0000.04317.85
7.0.40.0030.08720.04
7.0.30.0500.04320.04
7.0.20.0270.08720.30
7.0.10.0270.04020.30
7.0.00.0170.07720.19
5.6.280.0130.06321.09
5.6.210.0130.05720.73
5.6.200.0000.06718.08
5.6.190.0070.04020.41
5.6.180.0170.08320.24
5.6.170.0270.08320.38
5.6.160.0100.07320.49
5.6.150.0030.07718.23
5.6.140.0130.07318.16
5.6.130.0030.05718.21
5.6.120.0100.09021.14
5.6.110.0070.07020.85
5.6.100.0000.09021.10
5.6.90.0030.05320.99
5.6.80.0070.06720.36
5.6.70.0170.07020.37
5.5.350.0030.07320.43
5.5.340.0070.06017.89
5.5.330.0130.07720.07
5.5.320.0030.05320.23
5.5.310.0200.03720.20
5.5.300.0100.07717.98
5.5.290.0130.07317.97
5.5.280.0030.07320.67
5.5.270.0100.08020.96
5.5.260.0000.05020.86
5.5.250.0070.05020.48
5.5.240.0070.03320.18
5.4.450.0070.06319.46
5.4.440.0770.05319.55
5.4.430.0130.06019.41
5.4.420.0330.08019.41
5.4.410.0700.05019.48
5.4.400.0030.06018.78
5.4.390.0900.05319.12
5.4.380.0100.05318.69
5.4.370.0130.03018.64
5.4.360.0030.04018.68
5.4.350.0060.03611.98
5.4.340.0050.03911.97
5.4.320.0100.03712.46
5.4.310.0030.04112.46
5.4.300.0080.04712.46
5.4.290.0030.04212.45
5.4.280.0020.04012.35
5.4.270.0070.04312.36
5.4.260.0060.03812.35
5.4.250.0040.05712.36
5.4.240.0130.07318.83
5.4.230.0170.07318.86
5.4.220.0200.06318.98
5.4.210.0100.05718.84
5.4.200.0100.05318.83
5.4.190.0100.04718.87
5.4.180.0130.04719.01
5.4.170.0070.05318.73
5.4.160.0100.05718.86
5.4.150.0070.05318.88
5.4.140.0100.04716.24
5.4.130.0100.04316.30
5.4.120.0130.04716.36
5.4.110.0030.05316.29
5.4.100.0130.04316.42
5.4.90.0200.03716.42
5.4.80.0000.05316.39
5.4.70.0070.04716.48
5.4.60.0070.05316.44
5.4.50.0130.04316.38
5.4.40.0130.04716.31
5.4.30.0100.04716.30
5.4.20.0100.04316.31
5.4.10.0130.04316.39
5.4.00.0000.05315.95
5.3.290.0040.04212.80
5.3.280.0030.08014.46
5.3.270.0070.06014.30
5.3.260.0070.05714.30
5.3.250.0070.05014.61
5.3.240.0070.05014.44
5.3.230.0100.04714.51
5.3.220.0070.06014.57
5.3.210.0070.07314.61
5.3.200.0170.05014.43
5.3.190.0070.05714.71
5.3.180.0100.04714.26
5.3.170.0070.05014.26
5.3.160.0100.05014.71
5.3.150.0170.04014.57
5.3.140.0030.05314.32
5.3.130.0100.04714.40
5.3.120.0030.05714.48
5.3.110.0100.05714.55
5.3.100.0100.04713.91
5.3.90.0000.05714.01
5.3.80.0070.04713.91
5.3.70.0000.05713.90
5.3.60.0070.04713.77
5.3.50.0000.05313.79
5.3.40.0070.04713.83
5.3.30.0030.05013.92
5.3.20.0030.05013.69
5.3.10.0030.05013.69
5.3.00.0030.05313.49
5.2.170.0070.03711.15
5.2.160.0030.04010.90
5.2.150.0030.06010.98
5.2.140.0030.04311.25
5.2.130.0070.03711.11
5.2.120.0100.03711.12
5.2.110.0070.03711.11
5.2.100.0030.05311.10
5.2.90.0100.03311.02
5.2.80.0100.04311.09
5.2.70.0000.04310.97
5.2.60.0100.04010.88
5.2.50.0000.04711.02
5.2.40.0130.03011.00
5.2.30.0070.04310.73
5.2.20.0030.04010.71
5.2.10.0030.05010.62
5.2.00.0100.03310.79
5.1.60.0030.03310.05
5.1.50.0000.0379.93
5.1.40.0000.05010.05
5.1.30.0130.02710.37
5.1.20.0070.03710.11
5.1.10.0170.03710.11
5.1.00.0030.0379.98
5.0.50.0070.0278.59
5.0.40.0000.0308.64
5.0.30.0000.0578.45
5.0.20.0070.0238.28
5.0.10.0000.0308.20
5.0.00.0030.0438.21
4.4.90.0000.0235.78
4.4.80.0000.0305.79
4.4.70.0000.0235.78
4.4.60.0070.0175.77
4.4.50.0070.0175.75
4.4.40.0030.0335.80
4.4.30.0000.0275.78
4.4.20.0100.0235.86
4.4.10.0030.0275.84
4.4.00.0030.0335.86
4.3.110.0000.0235.72
4.3.100.0030.0305.61
4.3.90.0000.0235.70
4.3.80.0030.0335.80
4.3.70.0030.0205.73
4.3.60.0030.0205.69
4.3.50.0030.0205.66
4.3.40.0070.0275.64
4.3.30.0000.0234.76
4.3.20.0030.0204.76
4.3.10.0000.0234.76
4.3.00.0070.0337.38

preferences:
36.23 ms | 401 KiB | 5 Q