3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = "test"; echo "$password \n"; #$hashToStoreInDb = password_hash($password, PASSWORD_DEFAULT); $hashToStoreInDb = '$2rcByx51ejoMffgdgd'; 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.60.0160.00316.50
8.3.50.0130.00822.05
8.3.40.0130.00618.67
8.3.30.0140.00019.06
8.3.20.0080.00020.17
8.3.10.0080.00023.47
8.3.00.0050.00519.25
8.2.180.0140.00418.18
8.2.170.0110.00422.96
8.2.160.0100.00320.39
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0030.01326.16
8.2.120.0100.00722.14
8.2.110.0040.00422.00
8.2.100.0040.00818.22
8.2.90.0040.00419.28
8.2.80.0040.00417.97
8.2.70.0070.00317.50
8.2.60.0000.00818.03
8.2.50.0000.01018.07
8.2.40.0040.00419.65
8.2.30.0050.00218.12
8.2.20.0040.00417.73
8.2.10.0040.00418.19
8.2.00.0050.00317.60
8.1.280.0100.00325.92
8.1.270.0100.01023.96
8.1.260.0050.00326.35
8.1.250.0070.00028.09
8.1.240.0070.00421.86
8.1.230.0000.01119.08
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0000.00917.22
8.1.190.0040.00417.22
8.1.180.0050.00518.10
8.1.170.0000.00918.51
8.1.160.0000.00721.91
8.1.150.0040.00418.49
8.1.140.0050.00317.43
8.1.130.0000.00717.90
8.1.120.0050.00217.40
8.1.110.0050.00317.29
8.1.100.0030.00617.29
8.1.90.0040.00417.33
8.1.80.0000.00717.36
8.1.70.0000.00717.34
8.1.60.0060.00317.50
8.1.50.0030.00517.41
8.1.40.0060.00317.34
8.1.30.0030.00517.50
8.1.20.0050.00217.55
8.1.10.0040.00417.39
8.1.00.0030.00517.41
8.0.300.0000.00718.77
8.0.290.0040.00417.18
8.0.280.0040.00418.44
8.0.270.0040.00417.16
8.0.260.0030.00317.25
8.0.250.0030.00316.89
8.0.240.0080.00016.94
8.0.230.0030.00316.86
8.0.220.0060.00016.84
8.0.210.0000.00716.75
8.0.200.0070.00016.91
8.0.190.0000.00816.96
8.0.180.0000.00816.87
8.0.170.0000.00716.87
8.0.160.0040.00416.92
8.0.150.0030.00716.82
8.0.140.0030.00616.87
8.0.130.0040.00413.41
8.0.120.0070.00016.89
8.0.110.0050.00316.95
8.0.100.0040.00416.78
8.0.90.0050.00316.87
8.0.80.0060.01016.84
8.0.70.0070.00016.89
8.0.60.0040.00416.79
8.0.50.0040.00416.79
8.0.30.0120.00616.82
8.0.20.0120.00817.40
8.0.10.0070.00016.93
8.0.00.0090.01316.72
7.4.330.0000.00515.20
7.4.320.0000.00616.57
7.4.300.0030.00316.52
7.4.290.0000.00916.59
7.4.280.0040.00416.52
7.4.270.0070.00016.38
7.4.260.0030.00316.62
7.4.250.0050.00216.48
7.4.240.0020.00616.63
7.4.230.0040.00416.36
7.4.220.0060.01216.61
7.4.210.0070.00916.57
7.4.200.0020.00516.45
7.4.190.0000.00716.56
7.4.160.0060.01216.67
7.4.150.0130.00717.40
7.4.140.0120.01117.86
7.4.130.0030.01516.47
7.4.120.0090.00916.59
7.4.110.0110.00616.48
7.4.100.0150.00916.56
7.4.90.0110.00716.55
7.4.80.0090.00919.39
7.4.70.0160.00316.52
7.4.60.0100.00716.48
7.4.50.0000.00816.63
7.4.40.0110.00616.61
7.4.30.0170.00016.55
7.4.00.0000.01414.84
7.3.330.0060.00013.23
7.3.320.0000.00513.30
7.3.310.0040.00416.49
7.3.300.0000.00816.25
7.3.290.0140.00016.41
7.3.280.0080.01116.37
7.3.270.0120.00617.40
7.3.260.0030.01716.50
7.3.250.0100.00816.42
7.3.240.0090.00916.71
7.3.230.0150.00816.59
7.3.210.0050.01416.33
7.3.200.0100.01319.39
7.3.190.0130.01316.60
7.3.180.0040.01216.39
7.3.170.0030.01316.57
7.3.160.0120.00416.42
7.3.120.0060.00914.88
7.2.330.0040.01416.72
7.2.320.0070.01016.67
7.2.310.0090.01216.77
7.2.300.0090.01316.59
7.2.290.0070.01416.66
7.2.60.0000.01416.81
7.2.00.0060.00919.44
7.1.200.0110.00015.87
7.1.100.0040.00718.14
7.1.70.0050.00317.30
7.1.60.0110.01519.46
7.1.50.0060.01917.10
7.1.00.0070.07022.60
7.0.200.0000.01016.58
7.0.140.0030.07722.00
7.0.60.0030.04320.09
7.0.50.0070.03717.94
7.0.40.0070.04720.37
7.0.30.0530.07720.28
7.0.20.0300.08020.15
7.0.10.0170.04320.08
7.0.00.0200.06720.39
5.6.280.0000.07720.93
5.6.210.0030.07320.53
5.6.200.0030.04018.22
5.6.190.0100.05020.74
5.6.180.0170.05020.83
5.6.170.0230.04720.44
5.6.160.0100.05020.57
5.6.150.0070.08018.17
5.6.140.0030.04318.21
5.6.130.0000.04318.28
5.6.120.0130.07320.93
5.6.110.0100.06020.92
5.6.100.0070.09321.13
5.6.90.0130.07321.02
5.6.80.0030.06320.40
5.5.350.0000.09020.46
5.5.340.0100.07317.99
5.5.330.0130.04020.14
5.5.320.0200.04720.57
5.5.310.0270.03320.19
5.5.300.0070.07017.93
5.5.290.0070.08318.14
5.5.280.0070.06720.99
5.5.270.0100.08020.79
5.5.260.0030.04020.89
5.5.250.0100.07020.61
5.5.240.0030.07020.26
5.4.450.0430.06019.21
5.4.440.0530.05319.61
5.4.430.0230.05319.53
5.4.420.0200.06719.33
5.4.410.0200.05319.03
5.4.400.0170.05319.36
5.4.390.0030.06019.28
5.4.380.0400.07718.70
5.4.370.0300.05318.62
5.4.360.0570.04718.78
5.4.350.0430.04718.67
5.4.340.0470.04718.65
5.4.320.0080.03512.51
5.4.310.0090.03512.51
5.4.300.0030.04312.51
5.4.290.0110.06212.49
5.4.280.0100.05012.39
5.4.270.0060.03812.39
5.4.260.0060.05412.39
5.4.250.0130.04712.39
5.4.240.0100.03512.39
5.4.230.0060.04012.38
5.4.220.0030.04212.38
5.4.210.0040.04112.38
5.4.200.0130.06312.38
5.4.190.0140.04112.38
5.4.180.0080.04112.38
5.4.170.0130.05712.39
5.4.160.0110.04012.39
5.4.150.0070.03812.38
5.4.140.0050.04012.07
5.4.130.0050.03712.05
5.4.120.0050.03712.01
5.4.110.0100.03312.01
5.4.100.0120.04512.01
5.4.90.0090.05112.01
5.4.80.0070.04812.01
5.4.70.0030.03912.00
5.4.60.0100.04212.01
5.4.50.0070.04012.00
5.4.40.0100.04111.99
5.4.30.0080.05011.99
5.4.20.0090.03411.99
5.4.10.0080.04411.99
5.4.00.0110.05411.48
5.3.290.0060.03912.80
5.3.280.0170.05812.71
5.3.270.0130.05912.73
5.3.260.0080.06212.72
5.3.250.0100.05412.72
5.3.240.0090.05812.72
5.3.230.0080.06112.71
5.3.220.0130.07612.68
5.3.210.0120.05712.68
5.3.200.0140.04912.68
5.3.190.0130.05512.68
5.3.180.0200.06212.67
5.3.170.0120.05112.67
5.3.160.0070.06312.67
5.3.150.0080.05612.68
5.3.140.0120.05512.66
5.3.130.0110.05512.66
5.3.120.0110.05712.66
5.3.110.0090.05612.66
5.3.100.0180.05912.14
5.3.90.0140.06312.13
5.3.80.0070.03812.11
5.3.70.0070.04212.11
5.3.60.0080.04112.10
5.3.50.0060.04512.04
5.3.40.0100.05212.04
5.3.30.0100.03912.01
5.3.20.0050.04911.79
5.3.10.0090.04011.75
5.3.00.0070.03711.74
5.2.170.0100.0289.32
5.2.160.0060.0319.32
5.2.150.0070.0349.32
5.2.140.0120.0279.31
5.2.130.0110.0269.28
5.2.120.0110.0289.27
5.2.110.0120.0349.28
5.2.100.0080.0359.27
5.2.90.0130.0369.27
5.2.80.0070.0349.27
5.2.70.0050.0339.27
5.2.60.0050.0369.22
5.2.50.0070.0379.19
5.2.40.0120.0579.17
5.2.30.0160.0409.15
5.2.20.0080.0389.14
5.2.10.0070.0389.06
5.2.00.0100.0378.92
5.1.60.0090.0428.20
5.1.50.0090.0348.20
5.1.40.0100.0358.18
5.1.30.0090.0298.52
5.1.20.0090.0358.55
5.1.10.0050.0268.28
5.1.00.0020.0368.28
5.0.50.0070.0286.75
5.0.40.0060.0306.62
5.0.30.0070.0356.43
5.0.20.0030.0296.40
5.0.10.0060.0286.38
5.0.00.0070.0436.37
4.4.90.0080.0204.79
4.4.80.0040.0204.78
4.4.70.0050.0204.77
4.4.60.0050.0174.77
4.4.50.0040.0184.79
4.4.40.0050.0284.78
4.4.30.0070.0214.78
4.4.20.0060.0244.85
4.4.10.0090.0284.85
4.4.00.0020.0364.80
4.3.110.0090.0444.72
4.3.100.0110.0274.71
4.3.90.0070.0414.69
4.3.80.0050.0584.70
4.3.70.0090.0254.69
4.3.60.0080.0334.69
4.3.50.0080.0344.68
4.3.40.0090.0564.64
4.3.30.0050.0243.45
4.3.20.0120.0413.43
4.3.10.0070.0353.38
4.3.00.0100.0207.29

preferences:
41.33 ms | 401 KiB | 5 Q