3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = "test"; echo "$password \n"; #$hashToStoreInDb = password_hash($password, PASSWORD_DEFAULT); $hashToStoreInDb = '$2cByx5jo'; echo " $hashToStoreInDb \n"; # $isPasswordCorrect = password_verify($password, $hashToStoreInDb); # echo "$isPasswordCorrect \n"; $hash_crypt = crypt($password, $hashToStoreInDb); echo " $hash_crypt \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.0040.01916.34
8.3.60.0070.00716.63
8.3.50.0140.00821.97
8.3.40.0100.01018.67
8.3.30.0140.00018.92
8.3.20.0000.00720.38
8.3.10.0050.00323.61
8.3.00.0040.00717.35
8.2.180.0120.00618.13
8.2.170.0060.00922.96
8.2.160.0070.01020.39
8.2.150.0000.00824.18
8.2.140.0150.00324.66
8.2.130.0070.00026.16
8.2.120.0070.00022.13
8.2.110.0080.00022.25
8.2.100.0170.00019.40
8.2.90.0040.00419.17
8.2.80.0000.00817.97
8.2.70.0030.00617.50
8.2.60.0040.00417.92
8.2.50.0000.00918.07
8.2.40.0050.00319.76
8.2.30.0000.00818.07
8.2.20.0050.00317.67
8.2.10.0000.00718.10
8.2.00.0000.00717.75
8.1.280.0160.00025.92
8.1.270.0000.00923.82
8.1.260.0030.00526.35
8.1.250.0070.00028.09
8.1.240.0030.00624.02
8.1.230.0070.00419.22
8.1.220.0040.00417.79
8.1.210.0040.00418.77
8.1.200.0000.00917.23
8.1.190.0000.00917.10
8.1.180.0060.00319.09
8.1.170.0040.00718.47
8.1.160.0000.00821.92
8.1.150.0000.00818.49
8.1.140.0070.00017.41
8.1.130.0000.00717.87
8.1.120.0040.00417.43
8.1.110.0040.00417.46
8.1.100.0030.00617.38
8.1.90.0000.00717.26
8.1.80.0040.00417.44
8.1.70.0070.00017.36
8.1.60.0030.00717.59
8.1.50.0030.00517.45
8.1.40.0000.00717.52
8.1.30.0000.00917.48
8.1.20.0050.00317.52
8.1.10.0000.00817.51
8.1.00.0000.00717.46
8.0.300.0000.00718.77
8.0.290.0040.00417.04
8.0.280.0030.00318.32
8.0.270.0070.00017.25
8.0.260.0030.00317.25
8.0.250.0030.00316.87
8.0.240.0000.00816.87
8.0.230.0040.00416.84
8.0.220.0070.00016.88
8.0.210.0040.00416.93
8.0.200.0040.00417.02
8.0.190.0030.00616.91
8.0.180.0040.00416.90
8.0.170.0040.00416.81
8.0.160.0000.00716.88
8.0.150.0040.00416.73
8.0.140.0000.00816.75
8.0.130.0080.00013.28
8.0.120.0040.00416.88
8.0.110.0050.00216.75
8.0.100.0040.00416.80
8.0.90.0070.00016.93
8.0.80.0100.01016.84
8.0.70.0040.00416.78
8.0.60.0000.00716.92
8.0.50.0040.00416.92
8.0.30.0110.00917.12
8.0.20.0100.00817.40
8.0.10.0030.00316.91
8.0.00.0060.01416.75
7.4.330.0000.00515.14
7.4.320.0030.00316.57
7.4.300.0030.00316.58
7.4.290.0080.00016.56
7.4.280.0030.00316.62
7.4.270.0040.00416.44
7.4.260.0000.00716.63
7.4.250.0000.00816.61
7.4.240.0020.00516.56
7.4.230.0000.00716.42
7.4.220.0120.00616.45
7.4.210.0080.00816.51
7.4.200.0000.00716.48
7.4.190.0040.00416.45
7.4.160.0040.01316.36
7.4.150.0070.01117.40
7.4.140.0130.00317.86
7.4.130.0070.00916.56
7.4.120.0100.00816.52
7.4.110.0090.00916.43
7.4.100.0130.00716.50
7.4.90.0090.00916.50
7.4.80.0000.02019.39
7.4.70.0060.01116.49
7.4.60.0060.01116.29
7.4.50.0040.00416.55
7.4.40.0100.00616.34
7.4.30.0090.00916.64
7.4.00.0000.01814.96
7.3.330.0050.00013.23
7.3.320.0030.00313.23
7.3.310.0040.00416.42
7.3.300.0040.00416.38
7.3.290.0060.01216.41
7.3.280.0080.01016.40
7.3.270.0090.00917.40
7.3.260.0060.01216.35
7.3.250.0080.01216.47
7.3.240.0100.01416.40
7.3.230.0180.00016.41
7.3.210.0180.00916.50
7.3.200.0090.00919.39
7.3.190.0150.00916.42
7.3.180.0100.00616.39
7.3.170.0090.00616.50
7.3.160.0070.01016.59
7.3.120.0090.00614.98
7.2.330.0100.01316.61
7.2.320.0110.01116.33
7.2.310.0170.00716.46
7.2.300.0030.01416.78
7.2.290.0070.01016.29
7.2.60.0060.00617.05
7.2.00.0000.01319.32
7.1.200.0000.01215.56
7.1.100.0040.00718.18
7.1.70.0000.01617.19
7.1.60.0160.01019.46
7.1.50.0140.01016.94
7.1.00.0030.07722.43
7.0.200.0000.00916.58
7.0.140.0030.07722.10
7.0.60.0030.07719.92
7.0.50.0200.04017.95
7.0.40.0130.07720.10
7.0.30.0300.08320.23
7.0.20.0430.06720.29
7.0.10.0030.04320.26
7.0.00.0100.06020.14
5.6.280.0100.06720.94
5.6.210.0030.08320.72
5.6.200.0030.04718.27
5.6.190.0070.07320.50
5.6.180.0270.03720.71
5.6.170.0270.07320.46
5.6.160.0070.08020.77
5.6.150.0030.05018.30
5.6.140.0100.07018.27
5.6.130.0070.07318.14
5.6.120.0130.05021.05
5.6.110.0130.05021.01
5.6.100.0100.08021.13
5.6.90.0030.08020.91
5.6.80.0030.04020.45
5.5.350.4270.04020.36
5.5.340.0070.08317.96
5.5.330.0130.08320.07
5.5.320.0300.04320.28
5.5.310.0330.06020.47
5.5.300.0130.07318.02
5.5.290.0170.06318.03
5.5.280.0070.07320.90
5.5.270.0000.04720.79
5.5.260.0100.08320.92
5.5.250.0070.05020.68
5.5.240.0100.05720.18
5.4.450.0200.05019.65
5.4.440.0270.05319.64
5.4.430.0100.06719.69
5.4.420.0270.04019.66
5.4.410.0130.07319.25
5.4.400.0100.05318.84
5.4.390.0230.06319.37
5.4.380.0370.05318.79
5.4.370.0230.06718.80
5.4.360.0370.05318.55
5.4.350.0430.05318.68
5.4.340.0300.05718.55
5.4.320.0110.03112.51
5.4.310.0080.03812.50
5.4.300.0040.03912.51
5.4.290.0080.04312.49
5.4.280.0070.03812.39
5.4.270.0100.03612.39
5.4.260.0050.04112.39
5.4.250.0080.03812.39
5.4.240.0100.03312.39
5.4.230.0080.03812.38
5.4.220.0080.03512.38
5.4.210.0070.03612.38
5.4.200.0060.05812.38
5.4.190.0090.04812.38
5.4.180.0090.05512.38
5.4.170.0090.04012.39
5.4.160.0110.04712.39
5.4.150.0070.03712.38
5.4.140.0060.03912.06
5.4.130.0060.03712.05
5.4.120.0050.03712.01
5.4.110.0060.03712.01
5.4.100.0100.04612.01
5.4.90.0060.04512.01
5.4.80.0070.04112.01
5.4.70.0090.03712.00
5.4.60.0070.03712.00
5.4.50.0110.03512.00
5.4.40.0070.03711.99
5.4.30.0060.05211.99
5.4.20.0100.05011.99
5.4.10.0070.04011.98
5.4.00.0090.04611.48
5.3.290.0060.03912.80
5.3.280.0090.03912.71
5.3.270.0100.05912.73
5.3.260.0100.04312.72
5.3.250.0090.04112.72
5.3.240.0140.05812.72
5.3.230.0090.05412.71
5.3.220.0110.05412.68
5.3.210.0080.05612.68
5.3.200.0060.04912.68
5.3.190.0080.03712.68
5.3.180.0090.03512.67
5.3.170.0080.03812.67
5.3.160.0070.03612.67
5.3.150.0110.03612.67
5.3.140.0060.04112.66
5.3.130.0090.03912.65
5.3.120.0060.03912.65
5.3.110.0060.04112.66
5.3.100.0100.03612.14
5.3.90.0050.04312.12
5.3.80.0060.03712.11
5.3.70.0050.04112.11
5.3.60.0100.04212.10
5.3.50.0050.04012.05
5.3.40.0080.03712.05
5.3.30.0070.05612.01
5.3.20.0080.04311.79
5.3.10.0120.05211.75
5.3.00.0080.05811.74
5.2.170.0090.0439.32
5.2.160.0100.0349.32
5.2.150.0080.0359.32
5.2.140.0090.0319.31
5.2.130.0160.0449.27
5.2.120.0060.0309.28
5.2.110.0070.0309.27
5.2.100.0050.0319.27
5.2.90.0050.0329.28
5.2.80.0100.0289.27
5.2.70.0080.0289.27
5.2.60.0040.0309.23
5.2.50.0040.0329.19
5.2.40.0060.0399.17
5.2.30.0040.0329.14
5.2.20.0050.0329.14
5.2.10.0030.0339.06
5.2.00.0060.0448.92
5.1.60.0050.0388.20
5.1.50.0050.0358.20
5.1.40.0140.0568.18
5.1.30.0100.0398.53
5.1.20.0080.0408.55
5.1.10.0060.0298.27
5.1.00.0040.0368.28
5.0.50.0050.0226.76
5.0.40.0020.0216.62
5.0.30.0040.0326.43
5.0.20.0050.0196.40
5.0.10.0030.0216.38
5.0.00.0030.0316.37
4.4.90.0040.0154.80
4.4.80.0020.0194.78
4.4.70.0020.0174.77
4.4.60.0020.0194.78
4.4.50.0040.0184.79
4.4.40.0020.0324.78
4.4.30.0030.0164.78
4.4.20.0040.0174.84
4.4.10.0070.0194.85
4.4.00.0020.0304.81
4.3.110.0020.0184.72
4.3.100.0040.0174.71
4.3.90.0020.0174.69
4.3.80.0030.0264.69
4.3.70.0040.0144.68
4.3.60.0040.0144.70
4.3.50.0050.0144.68
4.3.40.0040.0244.64
4.3.30.0040.0153.45
4.3.20.0050.0143.43
4.3.10.0050.0163.38
4.3.00.0000.0237.29

preferences:
40.68 ms | 401 KiB | 5 Q