3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = "test"; echo "$password \n"; #$hashToStoreInDb = password_hash($password, PASSWORD_DEFAULT); $hashToStoreInDb = '$2rcByx51ejo'; 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.40.0070.01118.67
8.3.30.0070.00718.96
8.3.20.0050.00320.14
8.3.10.0000.00823.63
8.3.00.0030.00717.63
8.2.170.0110.00322.96
8.2.160.0030.01020.41
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0040.00422.16
8.2.110.0040.00422.02
8.2.100.0080.00419.43
8.2.90.0000.00719.24
8.2.80.0050.00317.97
8.2.70.0000.00917.63
8.2.60.0040.00417.93
8.2.50.0120.00018.07
8.2.40.0000.00819.75
8.2.30.0000.00717.97
8.2.20.0080.00017.75
8.2.10.0040.00418.17
8.2.00.0040.00417.67
8.1.270.0060.00324.02
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0000.01023.91
8.1.230.0000.01119.06
8.1.220.0040.00417.74
8.1.210.0090.00018.77
8.1.200.0050.00517.35
8.1.190.0060.00317.23
8.1.180.0100.00018.10
8.1.170.0030.00518.59
8.1.160.0040.00421.96
8.1.150.0050.00318.54
8.1.140.0000.00717.35
8.1.130.0000.00717.86
8.1.120.0000.00717.39
8.1.110.0000.00817.41
8.1.100.0040.00417.27
8.1.90.0000.00717.29
8.1.80.0000.00817.42
8.1.70.0000.00717.31
8.1.60.0030.00617.59
8.1.50.0000.00817.49
8.1.40.0000.00817.42
8.1.30.0040.00417.47
8.1.20.0000.00717.59
8.1.10.0000.00717.48
8.1.00.0040.00417.50
8.0.300.0000.00718.77
8.0.290.0030.00317.18
8.0.280.0030.00318.45
8.0.270.0040.00417.31
8.0.260.0070.00017.21
8.0.250.0030.00316.82
8.0.240.0040.00416.96
8.0.230.0040.00417.02
8.0.220.0030.00316.82
8.0.210.0030.00316.77
8.0.200.0030.00316.91
8.0.190.0040.00416.95
8.0.180.0080.00016.84
8.0.170.0040.00416.90
8.0.160.0040.00416.91
8.0.150.0040.00416.75
8.0.140.0040.00716.75
8.0.130.0020.00713.31
8.0.120.0040.00416.87
8.0.110.0040.00416.80
8.0.100.0040.00416.96
8.0.90.0000.00716.84
8.0.80.0070.01416.83
8.0.70.0000.00716.83
8.0.60.0070.00016.70
8.0.50.0000.00716.67
8.0.30.0090.01016.93
8.0.20.0080.01217.40
8.0.10.0040.00416.97
8.0.00.0110.01116.68
7.4.330.0000.00515.16
7.4.320.0080.00016.50
7.4.300.0000.00616.60
7.4.290.0030.00316.47
7.4.280.0000.00816.39
7.4.270.0000.00716.58
7.4.260.0000.00716.56
7.4.250.0070.00016.37
7.4.240.0030.00416.57
7.4.230.0000.00816.63
7.4.220.0160.01016.67
7.4.210.0110.00816.62
7.4.200.0040.00416.53
7.4.190.0000.00716.66
7.4.160.0070.01016.48
7.4.150.0090.00917.40
7.4.140.0110.01117.86
7.4.130.0110.00616.48
7.4.120.0100.00716.48
7.4.110.0070.01016.56
7.4.100.0120.00916.64
7.4.90.0120.00616.65
7.4.80.0080.00819.39
7.4.70.0070.01016.57
7.4.60.0140.00716.44
7.4.50.0050.00316.59
7.4.40.0100.00716.46
7.4.30.0060.01216.45
7.4.10.0120.00614.70
7.4.00.0070.00914.93
7.3.330.0000.00513.31
7.3.320.0030.00313.23
7.3.310.0040.00416.48
7.3.300.0070.00016.38
7.3.290.0100.00316.44
7.3.280.0070.01016.37
7.3.270.0120.00617.40
7.3.260.0180.00416.35
7.3.250.0090.00816.40
7.3.240.0160.00716.50
7.3.230.0110.01416.39
7.3.210.0100.00716.40
7.3.200.0150.00719.39
7.3.190.0140.00616.64
7.3.180.0040.01216.35
7.3.170.0050.01116.35
7.3.160.0190.00416.57
7.3.130.0070.01314.88
7.3.120.0080.00814.93
7.3.110.0100.01014.71
7.3.100.0070.00714.80
7.3.90.0070.00315.07
7.3.80.0000.01315.01
7.3.70.0050.00514.98
7.3.60.0000.01514.71
7.3.50.0040.01214.92
7.3.40.0040.00414.92
7.3.30.0040.01114.98
7.3.20.0040.01816.71
7.3.10.0030.00916.75
7.3.00.0080.00816.71
7.2.330.0060.01216.85
7.2.320.0040.01316.79
7.2.310.0150.00816.84
7.2.300.0140.00316.27
7.2.290.0040.01316.41
7.2.260.0070.01114.95
7.2.250.0030.01015.15
7.2.240.0070.00715.10
7.2.230.0060.00615.01
7.2.220.0150.00015.01
7.2.210.0060.00814.92
7.2.200.0030.00614.95
7.2.190.0120.00414.83
7.2.180.0060.01014.83
7.2.170.0000.01515.05
7.2.160.0140.00715.14
7.2.150.0030.01016.87
7.2.140.0070.00716.77
7.2.130.0030.00716.98
7.2.120.0040.00716.89
7.2.110.0030.01016.91
7.2.100.0150.00616.83
7.2.90.0100.00716.98
7.2.80.0060.00916.92
7.2.70.0030.01316.87
7.2.60.0120.00716.94
7.2.50.0030.01016.80
7.2.40.0040.01416.80
7.2.30.0030.01316.90
7.2.20.0110.00716.70
7.2.10.0040.01116.89
7.2.00.0000.01617.06
7.1.330.0000.01516.03
7.1.320.0000.00915.85
7.1.310.0110.00415.95
7.1.300.0070.00715.92
7.1.290.0040.00415.90
7.1.280.0000.01815.56
7.1.270.0090.00615.87
7.1.260.0140.00015.71
7.1.250.0060.00915.57
7.1.240.0030.00715.97
7.1.230.0110.00415.88
7.1.220.0090.00615.54
7.1.210.0110.00015.95
7.1.200.0040.00715.73
7.1.190.0000.00915.79
7.1.180.0080.00415.56
7.1.170.0090.00615.93
7.1.160.0110.00415.91
7.1.150.0070.00715.94
7.1.140.0030.00715.86
7.1.130.0070.00316.01
7.1.120.0040.01115.93
7.1.110.0110.00316.06
7.1.100.0020.01116.92
7.1.90.0040.01215.96
7.1.80.0030.01315.83
7.1.70.0020.00916.45
7.1.60.0100.01017.76
7.1.50.0090.00816.37
7.1.40.0030.01215.83
7.1.30.0060.00615.53
7.1.20.0060.00615.68
7.1.10.0030.01316.02
7.1.00.0090.04019.04
7.0.330.0060.00615.57
7.0.320.0050.00315.35
7.0.310.0030.00715.63
7.0.300.0110.00415.61
7.0.290.0030.00915.12
7.0.280.0060.00915.34
7.0.270.0030.00915.36
7.0.260.0070.00715.64
7.0.250.0040.00715.57
7.0.240.0000.01115.75
7.0.230.0040.01115.48
7.0.220.0000.01215.64
7.0.210.0110.00315.44
7.0.200.0050.00515.90
7.0.190.0060.00915.47
7.0.180.0040.00815.36
7.0.170.0060.00815.60
7.0.160.0060.00315.48
7.0.150.0000.01315.46
7.0.140.0000.04418.71
7.0.130.0000.01115.41
7.0.120.0070.01015.49
7.0.110.0000.01615.24
7.0.100.0070.00715.52
7.0.90.0060.00315.43
7.0.80.0030.00915.58
7.0.70.0030.00915.55
7.0.60.0030.03317.63
7.0.50.0050.03616.77
7.0.40.0130.04116.95
7.0.30.0320.03816.83
7.0.20.0120.02416.79
7.0.10.0110.02416.89
7.0.00.0090.04316.70
5.6.400.0090.00614.20
5.6.390.0060.00914.47
5.6.380.0030.00714.35
5.6.370.0080.00014.54
5.6.360.0030.01014.52
5.6.350.0040.00714.23
5.6.340.0100.00714.33
5.6.330.0030.01414.37
5.6.320.0040.01114.30
5.6.310.0030.01014.55
5.6.300.0000.01214.37
5.6.290.0070.00714.42
5.6.280.0060.03817.50
5.6.270.0060.01014.69
5.6.260.0080.00614.48
5.6.250.0060.00614.32
5.6.240.0090.00614.60
5.6.230.0000.01114.09
5.6.220.0100.00314.43
5.6.210.0030.04317.64
5.6.200.0020.02516.12
5.6.190.0220.02517.46
5.6.180.0120.02417.32
5.6.170.0200.03017.41
5.6.160.0080.03817.38
5.6.150.0120.03616.43
5.6.140.0020.03116.13
5.6.130.0070.04316.31
5.6.120.0120.03517.64
5.6.110.0130.04217.65
5.6.100.0080.04017.61
5.6.90.0100.02117.67
5.6.80.0100.03217.23
5.6.70.2100.02817.41
5.6.60.0030.00914.30
5.6.50.0000.00914.17
5.6.40.0000.01214.35
5.6.30.0000.00814.16
5.6.20.0030.01213.99
5.6.10.0120.00613.95
5.6.00.0060.00914.62
5.5.380.0130.00314.20
5.5.370.0060.00914.05
5.5.360.0060.00314.18
5.5.350.0080.03017.39
5.5.340.0080.04016.15
5.5.330.0020.03217.18
5.5.320.0130.04517.28
5.5.310.0080.02517.40
5.5.300.0030.02616.06
5.5.290.0060.04516.11
5.5.280.0080.02217.58
5.5.270.0040.03217.60
5.5.260.0060.02017.33
5.5.250.0070.04717.26
5.5.240.0050.02817.31
5.5.230.0040.01114.35
5.5.220.0100.00313.89
5.5.210.0090.00314.20
5.5.200.0000.01314.30
5.5.190.0000.00914.17
5.5.180.0000.01514.20
5.5.170.0070.01014.29
5.5.160.0070.00313.99
5.5.150.0040.00814.10
5.5.140.0040.01114.29
5.5.130.0030.01014.44
5.5.120.0060.00914.11
5.5.110.0060.00314.29
5.5.100.0000.00913.94
5.5.90.0110.00414.05
5.5.80.0040.01614.34
5.5.70.0100.00714.05
5.5.60.0130.00314.09
5.5.50.0110.00314.48
5.5.40.0130.00314.18
5.5.30.0090.00914.50
5.5.20.0060.00914.05
5.5.10.0070.00713.89
5.5.00.0030.01413.81
5.4.450.0230.03015.95
5.4.440.0350.02815.72
5.4.430.0420.02315.94
5.4.420.0050.03215.79
5.4.410.0270.03015.71
5.4.400.0370.03015.66
5.4.390.0150.03015.61
5.4.380.0260.03015.43
5.4.370.0150.03015.52
5.4.360.0110.03315.39
5.4.350.0170.02815.49
5.4.340.0220.02315.49
5.4.330.0080.00512.25
5.4.320.0030.02212.38
5.4.310.0080.02112.38
5.4.300.0070.02112.38
5.4.290.0040.02412.37
5.4.280.0030.02312.32
5.4.270.0050.02212.32
5.4.260.0020.02312.32
5.4.250.0060.02012.32
5.4.240.0050.02112.32
5.4.230.0050.02312.31
5.4.220.0050.02112.31
5.4.210.0070.02012.31
5.4.200.0020.02512.31
5.4.190.0060.03012.31
5.4.180.0040.03312.31
5.4.170.0040.02312.32
5.4.160.0040.02212.31
5.4.150.0040.02212.31
5.4.140.0050.02312.15
5.4.130.0060.02312.15
5.4.120.0040.02312.13
5.4.110.0070.02012.13
5.4.100.0070.02012.13
5.4.90.0040.02212.13
5.4.80.0020.02312.13
5.4.70.0080.02812.13
5.4.60.0070.02612.13
5.4.50.0040.02512.13
5.4.40.0040.02712.12
5.4.30.0070.02712.12
5.4.20.0070.02712.12
5.4.10.0110.02512.12
5.4.00.0100.03111.86
5.3.290.0050.02212.52
5.3.280.0080.02612.48
5.3.270.0100.02512.49
5.3.260.0020.02412.48
5.3.250.0040.02312.48
5.3.240.0060.02412.48
5.3.230.0040.02612.48
5.3.220.0080.02112.46
5.3.210.0070.02412.46
5.3.200.0040.02412.46
5.3.190.0070.02712.46
5.3.180.0040.02512.46
5.3.170.0050.02112.46
5.3.160.0040.02612.46
5.3.150.0050.02912.46
5.3.140.0040.03212.45
5.3.130.0100.04312.45
5.3.120.0120.04112.45
5.3.110.0110.04512.45
5.3.100.0050.03212.19
5.3.90.0070.02912.18
5.3.80.0090.02712.18
5.3.70.0070.02812.18
5.3.60.0090.02912.17
5.3.50.0080.02112.14
5.3.40.0050.02612.14
5.3.30.0040.02512.13
5.3.20.0030.02112.01
5.3.10.0040.02512.00
5.3.00.0070.02111.99
5.2.170.0040.0339.32
5.2.160.0060.0299.32
5.2.150.0050.0329.32
5.2.140.0060.0319.32
5.2.130.0060.0299.28
5.2.120.0060.0299.27
5.2.110.0050.0309.28
5.2.100.0090.0269.27
5.2.90.0050.0309.27
5.2.80.0060.0309.27
5.2.70.0070.0289.27
5.2.60.0030.0329.22
5.2.50.0070.0289.19
5.2.40.0050.0289.17
5.2.30.0070.0289.14
5.2.20.0060.0279.14
5.2.10.0030.0299.06
5.2.00.0030.0308.92
5.1.60.0050.0238.20
5.1.50.0090.0218.20
5.1.40.0060.0238.18
5.1.30.0080.0248.52
5.1.20.0070.0258.55
5.1.10.0030.0288.28
5.1.00.0060.0258.27
5.0.50.0060.0196.76
5.0.40.0060.0176.61
5.0.30.0050.0326.43
5.0.20.0050.0226.40
5.0.10.0040.0206.38
5.0.00.0030.0326.37
4.4.90.0050.0144.79
4.4.80.0040.0154.77
4.4.70.0050.0144.77
4.4.60.0040.0164.78
4.4.50.0040.0214.79
4.4.40.0040.0254.78
4.4.30.0020.0174.78
4.4.20.0030.0174.85
4.4.10.0040.0164.85
4.4.00.0040.0244.81
4.3.110.0040.0154.72
4.3.100.0020.0174.71
4.3.90.0050.0154.70
4.3.80.0050.0234.69
4.3.70.0040.0204.69
4.3.60.0040.0184.69
4.3.50.0050.0224.68
4.3.40.0050.0234.64
4.3.30.0020.0183.45
4.3.20.0040.0173.43
4.3.10.0040.0163.38
4.3.00.0070.0237.29

preferences:
61.32 ms | 400 KiB | 5 Q