3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hash = crypt('foobar', '_6C/.jjzc'); echo $hash."\n"; // _6C/.jjzcoAyXu0Z0XlM echo crypt('foobar', $hash)."\n"; // _6T7pAW9oacXQ

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.1.60.0070.00317.55
8.1.50.0030.00717.63
8.1.40.0030.00917.45
8.1.30.0030.00717.64
8.1.20.0060.00317.69
8.1.10.0000.00917.49
8.1.00.0040.00417.50
8.0.190.0000.00916.89
8.0.180.0030.00616.94
8.0.170.0120.00016.99
8.0.160.0030.00616.90
8.0.150.0000.00916.81
8.0.140.0030.00616.79
8.0.130.0040.00413.41
8.0.120.0040.00416.89
8.0.110.0060.00316.82
8.0.100.0040.00416.75
8.0.90.0060.00316.92
8.0.80.0070.01416.93
8.0.70.0060.00316.97
8.0.60.0030.00617.01
8.0.50.0000.00916.85
8.0.30.0090.01217.09
8.0.20.0110.01417.40
8.0.10.0030.00616.80
8.0.00.0080.01216.71
7.4.290.0050.00516.59
7.4.280.0000.01016.57
7.4.270.0000.00916.50
7.4.260.0060.00316.54
7.4.250.0030.00616.45
7.4.240.0040.00516.57
7.4.230.0040.00416.63
7.4.220.0030.02116.52
7.4.210.0110.00816.59
7.4.200.0040.00416.37
7.4.160.0000.01816.41
7.4.150.0130.00717.40
7.4.140.0180.00717.86
7.4.130.0080.01116.56
7.4.120.0100.01016.62
7.4.110.0090.01216.59
7.4.100.0030.02216.48
7.4.90.0040.01616.55
7.4.80.0050.02019.39
7.4.70.0100.01416.70
7.4.60.0090.01216.53
7.4.50.0040.00716.30
7.4.40.0090.00916.41
7.4.30.0190.00816.34
7.4.00.0070.01114.72
7.3.330.0030.00313.21
7.3.320.0030.00313.06
7.3.310.0060.00316.24
7.3.300.0090.00016.33
7.3.290.0040.00416.20
7.3.280.0160.00516.30
7.3.270.0060.01317.40
7.3.260.0090.01216.34
7.3.250.0080.01216.40
7.3.240.0160.00416.61
7.3.230.0140.00616.52
7.3.210.0070.01416.28
7.3.200.0180.00619.39
7.3.190.0130.00716.36
7.3.180.0040.01516.25
7.3.170.0040.01416.61
7.3.160.0100.01016.53
7.3.120.0060.01315.04
7.3.110.0100.01014.85
7.3.100.0030.00914.71
7.3.90.0060.00914.99
7.3.80.0000.01714.79
7.3.70.0070.00414.63
7.3.60.0100.00614.95
7.3.50.0060.00914.98
7.3.40.0100.01014.74
7.3.30.0000.01814.94
7.3.20.0030.01016.86
7.3.10.0030.00916.52
7.3.00.0130.00316.68
7.2.330.0140.00716.41
7.2.320.0030.01716.80
7.2.310.0030.01616.70
7.2.300.0060.01216.73
7.2.290.0200.00616.71
7.2.250.0090.01215.12
7.2.240.0090.00914.91
7.2.230.0070.01315.18
7.2.220.0070.00715.25
7.2.210.0060.01315.18
7.2.200.0070.01015.01
7.2.190.0070.01515.11
7.2.180.0130.00315.14
7.2.170.0090.00914.90
7.2.60.0170.00717.00
7.2.50.0100.00316.83
7.1.330.0060.00915.62
7.1.320.0060.00915.54
7.1.310.0060.00915.77
7.1.300.0070.01415.60
7.1.290.0040.01115.76
7.1.280.0060.00615.80
7.1.270.0030.01015.84
7.1.260.0030.01015.51
7.1.200.0030.01316.02
7.1.100.0040.01518.11
7.1.70.0060.00616.93
7.1.60.0100.01920.03
7.1.50.0100.01717.00
7.1.00.0000.08322.37
7.0.200.0080.00416.96
7.0.100.0030.07720.18
7.0.90.0100.03719.92
7.0.80.0070.04319.88
7.0.70.0130.04719.89
7.0.60.0030.04319.88
7.0.50.0030.03720.41
7.0.40.0030.04719.98
7.0.30.0070.04020.11
7.0.20.0030.04720.08
7.0.10.0070.04020.13
7.0.00.0030.04020.15
5.6.280.0100.06320.91
5.6.250.0030.05320.62
5.6.240.0070.04320.54
5.6.230.0000.04020.51
5.6.220.0070.04020.52
5.6.210.0100.03720.77
5.6.200.0000.04721.04
5.6.190.0170.03021.00
5.6.180.0000.04721.05
5.6.170.0000.04021.10
5.6.160.0070.04021.05
5.6.150.0000.04721.05
5.6.140.0000.04021.07
5.6.130.0000.04321.11
5.6.120.0070.04020.98
5.6.110.0030.04021.06
5.6.100.0000.05321.03
5.6.90.0000.06021.07
5.6.80.0030.04320.55
5.6.70.0030.03320.42
5.6.60.0100.04020.48
5.6.50.0100.03320.43
5.6.40.0100.03020.47
5.6.30.0070.04020.34
5.6.20.0030.04320.49
5.6.10.0130.06320.40
5.6.00.0000.05720.48
5.5.380.0130.03320.54
5.5.370.0030.04320.38
5.5.360.0100.04720.43
5.5.350.0100.02720.45
5.5.340.0100.03020.89
5.5.330.0070.03320.81
5.5.320.0000.04720.95
5.5.310.0070.04320.67
5.5.300.0070.03320.95
5.5.290.0130.04020.67
5.5.280.0070.04320.94
5.5.270.0070.04020.88
5.5.260.0070.04020.93
5.5.250.0030.03320.72
5.5.240.0000.04720.23
5.5.230.0070.03720.18
5.5.220.0070.04020.32
5.5.210.0000.04020.21
5.5.200.0070.03720.14
5.5.190.0030.04320.29
5.5.180.0030.04320.26
5.5.160.0070.06320.23
5.5.150.0070.06720.13
5.5.140.0130.06720.01
5.5.130.0000.04020.26
5.5.120.0100.04020.20
5.5.110.0100.03320.17
5.5.100.0100.07720.07
5.5.90.0000.08020.20
5.5.80.0130.06720.03
5.5.70.0030.08720.08
5.5.60.0100.04020.18
5.5.50.0100.06320.17
5.5.40.0130.07320.13
5.5.30.0170.03719.98
5.5.20.0130.06320.17
5.5.10.0030.05020.04
5.5.00.0100.09020.14
5.4.450.0030.04319.37
5.4.440.0030.03719.20
5.4.430.0070.03719.41
5.4.420.0030.04019.33
5.4.410.0000.04019.20
5.4.400.0030.03719.03
5.4.390.0100.02718.88
5.4.380.0030.04019.18
5.4.370.0030.04018.87
5.4.360.0000.05019.14
5.4.350.0070.03319.13
5.4.340.0000.04718.89
5.4.320.0030.03719.03
5.4.310.0070.06019.09
5.4.300.0030.03719.18
5.4.290.0170.06319.29
5.4.280.0030.08718.87
5.4.270.0070.07718.87
5.4.260.0070.06318.96
5.4.250.0070.04319.18
5.4.240.0100.05719.00
5.4.230.0030.04319.06
5.4.220.0070.03719.08
5.4.210.0130.06719.15
5.4.200.0070.07019.13
5.4.190.0100.06719.18
5.4.180.0130.04019.03
5.4.170.0130.07019.15
5.4.160.0070.06318.85
5.4.150.0070.08319.15
5.4.140.0070.04316.34
5.4.130.0030.04316.43
5.4.120.0130.06716.12
5.4.110.0100.07016.44
5.4.100.0030.06716.50
5.4.90.0000.05016.29
5.4.80.0070.04016.30
5.4.70.0130.03316.28
5.4.60.0030.08716.42
5.4.50.0200.06716.46
5.4.40.0030.06316.51
5.4.30.0170.07016.34
5.4.20.0130.04716.36
5.4.10.0130.07016.46
5.4.00.0030.03715.84
5.3.290.0100.06314.59
5.3.280.0030.07714.47
5.3.270.0030.08314.54
5.3.260.0100.07014.57
5.3.250.0130.06714.53
5.3.240.0130.03714.60
5.3.230.0070.06314.49
5.3.220.0070.08014.48
5.3.210.0030.07314.54
5.3.200.0230.06314.61
5.3.190.0100.07714.44
5.3.180.0030.08014.61
5.3.170.0070.04314.55
5.3.160.0070.04714.61
5.3.150.0030.04314.48
5.3.140.0100.07314.55
5.3.130.0170.04014.44
5.3.120.0100.08014.59
5.3.110.0130.07014.43
5.3.100.0070.03713.96
5.3.90.0070.07714.01
5.3.80.0070.08013.94
5.3.70.0070.08014.06
5.3.60.0030.05014.02
5.3.50.0070.06014.01
5.3.40.0030.04313.86
5.3.30.0070.07313.97
5.3.20.0170.06713.74
5.3.10.0100.06313.48
5.3.00.0030.03713.69
5.2.170.0070.05310.94
5.2.160.0100.05711.10
5.2.150.0000.05310.86
5.2.140.0070.05311.14
5.2.130.0000.03710.89
5.2.120.0030.06310.84
5.2.110.0070.02711.00
5.2.100.0000.05010.93
5.2.90.0100.03311.08
5.2.80.0030.06310.86
5.2.70.0170.04010.95
5.2.60.0070.05010.93
5.2.50.0030.06010.89
5.2.40.0070.05310.79
5.2.30.0030.04310.85
5.2.20.0070.02710.82
5.2.10.0000.03710.85
5.2.00.0100.05010.78
5.1.60.0000.0439.91
5.1.50.0030.0439.92
5.1.40.0000.0339.98
5.1.30.0070.04710.39
5.1.20.0030.05710.31
5.1.10.0030.0579.90
5.1.00.0030.05710.10
5.0.50.0000.0478.50
5.0.40.0000.0208.41
5.0.30.0000.0678.41
5.0.20.0000.0238.41
5.0.10.0030.0278.41
5.0.00.0030.0578.41
4.4.90.0030.0338.41
4.4.80.0000.0208.41
4.4.70.0030.0378.41
4.4.60.0000.0208.41
4.4.50.0030.0178.41
4.4.40.0000.0538.41
4.4.30.0030.0308.41
4.4.20.0030.0338.41
4.4.10.0070.0308.41
4.4.00.0030.0278.41
4.3.110.0030.0308.41
4.3.100.0030.0138.41
4.3.90.0000.0208.41
4.3.80.0000.0338.41
4.3.70.0000.0238.41
4.3.60.0000.0438.41
4.3.50.0000.0238.41
4.3.40.0000.0338.41
4.3.30.0030.0338.41
4.3.20.0030.0278.41
4.3.10.0000.0308.41
4.3.00.0070.0138.41

preferences:
14.86 ms | 406 KiB | 5 Q