3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hash = '$2y$04$usesomesillystringfore7hnbRJHxXVLeakoG8K30oukPsA.ztMG'; $test = crypt("password", $hash); echo "$2y string: $test\n"; $pass = ($test == $hash); echo "$2y test status: " . ( $pass ? "Pass" : "Fail") . "\n"; $hash = '$2a$04$usesomesillystringfore7hnbRJHxXVLeakoG8K30oukPsA.ztMG'; $test = crypt("password", $hash); echo "$2a string: $test\n"; $pass = ($test == $hash); echo "$2a test status: " . ( $pass ? "Pass" : "Fail") . "\n"; $hash = '$2x$04$usesomesillystringfore7hnbRJHxXVLeakoG8K30oukPsA.ztMG'; $test = crypt("password", $hash); echo "$2x string: $test\n"; $pass = ($test == $hash); echo "$2x test status: " . ( $pass ? "Pass" : "Fail") . "\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.0130.00718.29
8.3.50.0130.01322.11
8.3.40.0030.01618.66
8.3.30.0090.00920.16
8.3.20.0000.01018.77
8.3.10.0030.00719.31
8.3.00.0080.00319.56
8.2.180.0090.01616.63
8.2.170.0100.01022.96
8.2.160.0100.01020.52
8.2.150.0030.00724.18
8.2.140.0030.00724.66
8.2.130.0080.00326.16
8.2.120.0000.01119.61
8.2.110.0100.01919.32
8.2.100.0090.00617.84
8.2.90.0040.00719.22
8.2.80.0000.01117.97
8.2.70.0050.00617.50
8.2.60.0080.01117.54
8.2.50.0110.00418.07
8.2.40.0050.00519.97
8.2.30.0030.00719.39
8.2.20.0060.00617.71
8.2.10.0000.01017.66
8.2.00.0030.00917.66
8.1.280.0100.01025.92
8.1.270.0030.00723.99
8.1.260.0100.01326.35
8.1.250.0040.00728.09
8.1.240.0080.00323.98
8.1.230.0040.01120.72
8.1.220.0040.00717.79
8.1.210.0000.01218.77
8.1.200.0030.01017.35
8.1.190.0000.01117.00
8.1.180.0000.01118.10
8.1.170.0000.01118.47
8.1.160.0070.00418.84
8.1.150.0030.00718.56
8.1.140.0030.00717.45
8.1.130.0070.00417.73
8.1.120.0030.01017.47
8.1.110.0030.00717.47
8.1.100.0060.00617.51
8.1.90.0030.00717.36
8.1.80.0000.01117.52
8.1.70.0070.00317.41
8.1.60.0000.01117.46
8.1.50.0000.01117.39
8.1.40.0080.00317.40
8.1.30.0000.01117.66
8.1.20.0000.01117.48
8.1.10.0000.01117.52
8.1.00.0090.00617.30
8.0.300.0040.00718.77
8.0.290.0030.00716.63
8.0.280.0040.00718.45
8.0.270.0000.01017.25
8.0.260.0000.00916.83
8.0.250.0040.00717.00
8.0.240.0030.00916.98
8.0.230.0030.00716.84
8.0.220.0000.01016.93
8.0.210.0000.01016.76
8.0.200.0030.00616.97
8.0.190.0000.01016.98
8.0.180.0050.00516.93
8.0.170.0040.00816.89
8.0.160.0030.00716.79
8.0.150.0070.00416.88
8.0.140.0030.00716.82
8.0.130.0000.00913.30
8.0.120.0000.01316.90
8.0.110.0080.00316.91
8.0.100.0000.01016.95
8.0.90.0030.00716.89
8.0.80.0090.01216.79
8.0.70.0070.00316.94
8.0.60.0000.01116.89
8.0.50.0000.01016.77
8.0.30.0110.01217.20
8.0.20.0170.01117.40
8.0.10.0050.00517.08
8.0.00.0110.01216.80
7.4.330.0030.00516.67
7.4.320.0060.00316.50
7.4.300.0060.00316.50
7.4.290.0030.00816.60
7.4.280.0000.01016.60
7.4.270.0070.00316.44
7.4.260.0040.00413.34
7.4.250.0040.00716.37
7.4.240.0070.00316.59
7.4.230.0000.01016.59
7.4.220.0090.01516.50
7.4.210.0060.01316.61
7.4.200.0000.01016.41
7.4.190.0050.00516.45
7.4.160.0090.01416.38
7.4.150.0100.01417.40
7.4.140.0130.01217.86
7.4.130.0110.01616.49
7.4.120.0140.01216.46
7.4.110.0110.01116.41
7.4.100.0030.01916.73
7.4.90.0140.00916.59
7.4.80.0060.01819.39
7.4.70.0120.01016.37
7.4.60.0110.01116.53
7.4.50.0000.01316.47
7.4.40.0040.01622.77
7.4.30.0090.01216.55
7.4.00.0060.01115.07
7.3.330.0040.00413.19
7.3.320.0000.00913.22
7.3.310.0040.00716.18
7.3.300.0060.00316.31
7.3.290.0040.01616.31
7.3.280.0120.01016.34
7.3.270.0130.01617.40
7.3.260.0120.01518.24
7.3.250.0060.01716.45
7.3.240.0130.00916.24
7.3.230.0150.01016.39
7.3.210.0120.00916.48
7.3.200.0160.00619.39
7.3.190.0090.01916.45
7.3.180.0080.01316.39
7.3.170.0070.02016.44
7.3.160.0060.01516.14
7.3.120.0050.01415.04
7.3.110.0100.01314.74
7.3.100.0100.00715.10
7.3.90.0120.00914.50
7.3.80.0070.01014.86
7.3.70.0090.01214.87
7.3.60.0000.01914.64
7.3.50.0030.01514.54
7.3.40.0080.01214.70
7.3.30.0090.00914.86
7.3.20.0070.01116.68
7.3.10.0080.01016.63
7.3.00.0030.01316.59
7.2.330.0040.01816.79
7.2.320.0090.01316.73
7.2.310.0130.01016.47
7.2.300.0100.01316.80
7.2.290.0100.01116.76
7.2.250.0000.02315.13
7.2.240.0100.01014.93
7.2.230.0100.00315.17
7.2.220.0000.02215.17
7.2.210.0100.00615.22
7.2.200.0060.01014.82
7.2.190.0070.01315.13
7.2.180.0100.01014.84
7.2.170.0030.01815.03
7.2.130.0100.00816.78
7.2.120.0030.01216.81
7.2.110.0060.01116.75
7.2.100.0060.01416.79
7.2.90.0090.01016.87
7.2.80.0050.00916.74
7.2.70.0130.00516.83
7.2.60.0050.01216.88
7.2.50.0110.00816.95
7.2.40.0120.00716.78
7.2.30.0060.01116.78
7.2.20.0070.01416.88
7.2.10.0050.01216.87
7.2.00.0100.01316.87
7.1.330.0070.01115.89
7.1.320.0070.00415.76
7.1.310.0100.01015.78
7.1.300.0030.01415.89
7.1.290.0000.01815.81
7.1.280.0000.01315.66
7.1.270.0000.01815.66
7.1.260.0040.01415.87
7.1.250.0070.00915.83
7.1.240.0110.00715.59
7.1.230.0100.01015.36
7.1.220.0130.00315.44
7.1.210.0030.01615.64
7.1.200.0120.00715.67
7.1.190.0060.01315.55
7.1.180.0060.01015.60
7.1.170.0150.00615.54
7.1.160.0070.01415.61
7.1.150.0130.00715.78
7.1.140.0140.00715.84
7.1.130.0110.01115.75
7.1.120.0070.01015.69
7.1.110.0130.00715.50
7.1.100.0130.00715.51
7.1.90.0030.01315.52
7.1.80.0070.01315.70
7.1.70.0070.00816.43
7.1.60.0070.01917.37
7.1.50.0070.01516.21
7.1.40.0070.01015.55
7.1.30.0100.01015.79
7.1.20.0110.00715.75
7.1.10.0140.00715.79
7.1.00.0040.02619.10
7.0.330.0060.01214.93
7.0.320.0070.01415.24
7.0.310.0060.01215.07
7.0.300.0070.01315.18
7.0.290.0040.01115.15
7.0.280.0140.00715.38
7.0.270.0110.01115.20
7.0.260.0090.00915.04
7.0.250.0070.01015.41
7.0.240.0070.01015.34
7.0.230.0060.01314.98
7.0.220.0060.00915.39
7.0.210.0090.00615.25
7.0.200.0030.01215.96
7.0.190.0070.01314.93
7.0.180.0040.01415.12
7.0.170.0070.01315.12
7.0.160.0070.01515.06
7.0.150.0090.01315.17
7.0.140.0050.04718.70
7.0.130.0110.00715.39
7.0.120.0130.00715.17
7.0.110.0120.04717.65
7.0.100.0080.04317.51
7.0.90.0110.04617.61
7.0.80.0170.02517.45
7.0.70.0080.02717.64
7.0.60.0130.04317.50
7.0.50.0110.04817.72
7.0.40.0080.04316.46
7.0.30.0080.04316.64
7.0.20.0100.04716.55
7.0.10.0100.04716.55
7.0.00.0080.04916.54
5.6.380.0090.00614.05
5.6.370.0070.01014.32
5.6.360.0000.01314.29
5.6.350.0070.01314.56
5.6.340.0040.01014.33
5.6.330.0050.00914.38
5.6.320.0090.00613.84
5.6.310.0060.00914.02
5.6.300.0030.01314.51
5.6.290.0070.01113.99
5.6.280.0020.04817.53
5.6.270.0060.00614.01
5.6.260.0090.04517.42
5.6.250.0070.05017.33
5.6.240.0080.02817.31
5.6.230.0100.05017.47
5.6.220.0060.05017.32
5.6.210.0070.04717.39
5.6.200.0070.05217.52
5.6.190.0080.04617.41
5.6.180.0090.04417.42
5.6.170.0050.04717.46
5.6.160.0050.03617.24
5.6.150.0030.04317.47
5.6.140.0090.05117.26
5.6.130.0040.05517.25
5.6.120.0060.05117.37
5.6.110.0100.03317.39
5.6.100.0080.04517.43
5.6.90.0080.04617.35
5.6.80.0070.04216.93
5.6.70.0070.03117.04
5.6.60.0110.04017.03
5.6.50.0050.03417.01
5.6.40.0090.02316.83
5.6.30.0070.04717.04
5.6.20.0070.05217.03
5.6.10.0080.05217.17
5.6.00.0050.05016.94
5.5.380.0070.04414.11
5.5.370.0030.02514.09
5.5.360.0020.03014.27
5.5.350.0050.04614.18
5.5.340.0070.04714.45
5.5.330.0020.04714.40
5.5.320.0070.05014.49
5.5.310.0060.02914.31
5.5.300.0080.04414.43
5.5.290.0100.04614.32
5.5.280.0100.02714.53
5.5.270.0070.04414.29
5.5.260.0070.05014.63
5.5.250.0110.04214.38
5.5.240.0030.04714.02
5.5.230.0050.04613.89
5.5.220.0030.04913.98
5.5.210.0080.04313.96
5.5.200.0110.04113.90
5.5.190.0050.04513.98
5.5.180.0030.04514.02
5.5.170.0060.00610.62
5.5.160.0050.03013.86
5.5.150.0100.04014.15
5.5.140.0100.04014.06
5.5.130.0080.04314.03
5.5.120.0100.04114.04
5.5.110.0080.02814.04
5.5.100.0050.04613.94
5.5.90.0050.03014.01
5.5.80.0050.04613.84
5.5.70.0090.04113.99
5.5.60.0060.04513.95
5.5.50.0100.04314.01
5.5.40.0020.05114.08
5.5.30.0030.04814.09
5.5.20.0050.04413.92
5.5.10.0090.04414.10
5.5.00.0080.04613.95
5.4.450.0220.03515.10
5.4.440.0080.03015.26
5.4.430.0070.04915.28
5.4.420.0050.05015.16
5.4.410.0080.04515.19
5.4.400.0130.04014.98
5.4.390.0030.03014.88
5.4.380.0050.03314.89
5.4.370.0100.04514.95
5.4.360.0050.02815.00
5.4.350.0050.03414.88
5.4.340.0060.04014.97
5.4.330.0000.01510.76
5.4.320.0070.04915.04
5.4.310.0020.03815.04
5.4.300.0060.02815.03
5.4.290.0050.04614.87
5.4.280.0040.04415.03
5.4.270.0070.04615.04
5.4.260.0060.04614.77
5.4.250.0080.04214.86
5.4.240.0100.03615.01
5.4.230.0020.05114.78
5.4.220.0090.04415.02
5.4.210.0070.02914.90
5.4.200.0080.04214.87
5.4.190.0080.04514.82
5.4.180.0060.04614.88
5.4.170.0050.04314.96
5.4.160.0100.04214.82
5.4.150.0100.04614.88
5.4.140.0060.04213.50
5.4.130.0060.03513.64
5.4.120.0070.04413.40
5.4.110.0120.04013.45
5.4.100.0070.04513.45
5.4.90.0080.03913.37
5.4.80.0080.04013.63
5.4.70.0030.03713.63
5.4.60.0060.03313.53
5.4.50.0080.04113.62
5.4.40.0070.04313.59
5.4.30.0060.04413.52
5.4.20.0060.04013.62
5.4.10.0090.02313.46
5.4.00.0050.04413.41
5.3.290.0110.04312.60
5.3.280.0130.04312.56
5.3.270.0040.05112.53
5.3.260.0140.04212.54
5.3.250.0070.04412.54
5.3.240.0100.04412.32
5.3.230.0100.04512.56
5.3.220.0080.04312.43
5.3.210.0130.04112.44
5.3.200.0040.05112.38
5.3.190.0130.03312.36
5.3.180.0090.04312.41
5.3.170.0070.04412.46
5.3.160.0030.04812.44
5.3.150.0070.04612.47
5.3.140.0090.03012.37
5.3.130.0060.04412.43
5.3.120.0100.03812.50
5.3.110.0110.04112.36
5.3.100.0130.03612.31
5.3.90.0110.04112.18
5.3.80.0060.04012.08
5.3.70.0090.04112.07
5.3.60.0090.03612.30
5.3.50.0070.04212.17
5.3.40.0040.03112.22
5.3.30.0120.03212.19
5.3.20.0040.04512.12
5.3.10.0040.03812.04
5.3.00.0100.02511.90
5.2.170.0040.03310.74
5.2.160.0070.03410.74
5.2.150.0090.02710.74
5.2.140.0100.03210.74
5.2.130.0020.03810.74
5.2.120.0080.03210.74
5.2.110.0030.03310.74
5.2.100.0120.02310.74
5.2.90.0090.02710.74
5.2.80.0090.03210.74
5.2.70.0060.03310.74
5.2.60.0040.03310.74
5.2.50.0050.02710.74
5.2.40.0040.03010.74
5.2.30.0020.03810.74
5.2.20.0050.02810.74
5.2.10.0060.03110.74
5.2.00.0090.02710.74
5.1.60.0060.02510.74
5.1.50.0020.02510.74
5.1.40.0080.02310.74
5.1.30.0050.03010.74
5.1.20.0080.02810.74
5.1.10.0000.03210.74
5.1.00.0030.03010.74
5.0.50.0030.02010.74
5.0.40.0020.02610.74
5.0.30.0050.03210.74
5.0.20.0020.02410.74
5.0.10.0000.02610.74
5.0.00.0030.03310.74
4.4.90.0030.01610.74
4.4.80.0020.02110.74
4.4.70.0040.02010.74
4.4.60.0020.01010.74
4.4.50.0020.02010.74
4.4.40.0050.02010.74
4.4.30.0000.02110.74
4.4.20.0080.00810.74
4.4.10.0030.01910.74
4.4.00.0070.02710.74
4.3.110.0050.01710.74
4.3.100.0050.01310.74
4.3.90.0020.02010.74
4.3.80.0020.02810.74
4.3.70.0030.01710.74
4.3.60.0070.01510.74
4.3.50.0020.01010.74
4.3.40.0030.02810.74
4.3.30.0000.02110.74
4.3.20.0030.01810.74
4.3.10.0020.02110.74
4.3.00.0020.01710.74

preferences:
65.61 ms | 401 KiB | 5 Q