3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = password_hash('borka'); $b = password_hash('borka'); echo $a.'<br>'; echo $b;

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)
7.4.10.0040.01214.91
7.4.00.0060.01214.69
7.3.130.0030.01414.59
7.3.120.0070.00914.95
7.3.110.0030.01314.99
7.3.100.0070.00714.69
7.3.90.0070.00514.85
7.3.80.0070.00814.77
7.3.70.0090.00614.45
7.3.60.0090.00314.75
7.3.50.0080.00514.68
7.3.40.0060.00614.70
7.3.30.0030.01114.82
7.3.20.0050.00816.53
7.3.10.0060.00516.54
7.3.00.0050.01016.49
7.2.260.0120.00415.30
7.2.250.0070.00715.22
7.2.240.0080.00715.05
7.2.230.0090.00414.79
7.2.220.0070.00715.08
7.2.210.0040.01215.12
7.2.200.0070.00815.03
7.2.190.0060.00614.99
7.2.180.0040.00814.91
7.2.170.0060.00715.05
7.2.160.0080.00314.88
7.2.150.0050.01216.79
7.2.140.0090.00316.99
7.2.130.0030.01217.03
7.2.120.0060.00616.91
7.2.110.0050.01016.80
7.2.100.0070.00616.82
7.2.90.0060.01016.96
7.2.80.0060.00917.00
7.2.70.0060.00816.80
7.2.60.0080.00516.90
7.2.50.0090.00716.89
7.2.40.0080.00516.85
7.2.30.0050.01016.97
7.2.20.0050.00516.94
7.2.10.0040.01116.80
7.2.00.0090.00717.00
7.1.330.0060.00915.69
7.1.320.0030.00815.89
7.1.310.0020.01315.63
7.1.300.0050.00815.69
7.1.290.0030.01015.76
7.1.280.0050.00615.69
7.1.270.0020.01415.60
7.1.260.0060.00615.84
7.1.250.0030.00915.49
7.1.240.0040.01115.90
7.1.230.0160.00015.82
7.1.220.0070.01015.66
7.1.210.0070.00715.87
7.1.200.0040.01215.64
7.1.190.0110.00315.85
7.1.180.0040.00815.72
7.1.170.0070.00715.73
7.1.160.0030.01015.84
7.1.150.0000.01115.61
7.1.140.0100.00615.82
7.1.130.0040.00415.73
7.1.120.0030.00915.70
7.1.110.0100.00015.68
7.1.100.0030.00915.94
7.1.90.0100.00315.55
7.1.80.0060.00915.79
7.1.70.0030.00816.27
7.1.60.0000.01917.63
7.1.50.0080.01016.03
7.1.40.0040.00815.81
7.1.30.0110.00415.59
7.1.20.0100.00315.75
7.1.10.0060.00615.84
7.1.00.0050.04019.13
7.0.330.0080.00415.34
7.0.320.0030.00915.36
7.0.310.0060.00315.38
7.0.300.0040.00415.33
7.0.290.0080.00415.33
7.0.280.0070.00715.36
7.0.270.0090.00315.51
7.0.260.0030.01015.49
7.0.250.0070.00415.16
7.0.240.0120.00315.50
7.0.230.0000.01515.53
7.0.220.0030.00715.45
7.0.210.0000.01315.52
7.0.200.0070.00416.00
7.0.190.0050.00515.39
7.0.180.0080.00815.12
7.0.170.0060.00615.38
7.0.160.0000.01215.46
7.0.150.0040.00415.51
7.0.140.0030.00915.58
7.0.130.0040.00415.50
7.0.120.0030.00615.41
7.0.110.0000.01315.41
7.0.100.0070.00715.04
7.0.90.0060.00615.29
7.0.80.0060.00615.04
7.0.70.0100.00315.45
7.0.60.0050.04517.56
7.0.50.0090.04416.61
7.0.40.0030.04016.91
7.0.30.0150.04116.94
7.0.20.0250.03316.75
7.0.10.0130.04216.94
7.0.00.0070.04316.91
5.6.400.0070.00714.46
5.6.390.0080.00414.41
5.6.380.0060.00914.14
5.6.370.0060.00614.30
5.6.360.0030.00614.30
5.6.350.0040.01114.45
5.6.340.0030.01014.38
5.6.330.0040.01114.52
5.6.320.0000.00914.25
5.6.310.0000.01014.57
5.6.300.0030.00714.21
5.6.290.0070.00714.12
5.6.280.0060.03617.74
5.6.270.0130.00014.38
5.6.260.0050.00314.58
5.6.250.0000.01114.21
5.6.240.0070.00714.36
5.6.230.0000.01414.27
5.6.220.0100.00314.41
5.6.210.0090.04417.42
5.6.200.0070.02716.34
5.6.190.0070.03217.41
5.6.180.0080.02317.60
5.6.170.0230.02617.26
5.6.160.0050.04917.32
5.6.150.0110.03316.28
5.6.140.0030.03116.15
5.6.130.0090.04316.15
5.6.120.0100.04217.83
5.6.110.0070.03717.64
5.6.100.0080.03117.58
5.6.90.0140.03817.60
5.6.80.0110.04017.17
5.6.70.0120.00314.13
5.6.60.0030.01014.28
5.6.50.0000.00914.20
5.6.40.0000.01414.34
5.6.30.0060.00314.12
5.6.20.0030.01014.43
5.6.10.0040.00814.16
5.6.00.0040.01214.47
5.5.380.0030.00914.34
5.5.370.0060.01014.17
5.5.360.0000.01614.12
5.5.350.0180.03817.22
5.5.340.0120.03716.16
5.5.330.0030.03317.03
5.5.320.0140.04417.36
5.5.310.0140.03117.02
5.5.300.0050.04616.06
5.5.290.0070.04416.17
5.5.280.0080.04617.51
5.5.270.0070.03517.42
5.5.260.0040.03617.56
5.5.250.0020.03017.44
5.5.240.0110.03917.12
5.5.230.0100.00314.23
5.5.220.0030.01214.34
5.5.210.0030.01014.29
5.5.200.0070.00714.19
5.5.190.0030.00714.11
5.5.180.0030.01013.89
5.5.170.0060.00614.20
5.5.160.0030.00714.12
5.5.150.0060.00913.98
5.5.140.0000.01013.84
5.5.130.0030.01114.25
5.5.120.0130.00314.21
5.5.110.0040.01214.21
5.5.100.0070.00714.25
5.5.90.0030.01014.45
5.5.80.0000.01314.22
5.5.70.0040.01113.93
5.5.60.0070.00313.96
5.5.50.0030.00614.20
5.5.40.0040.00814.39
5.5.30.0080.00414.02
5.5.20.0090.00614.34
5.5.10.0130.00313.83
5.5.00.0000.01514.25
5.4.450.0160.03314.92
5.4.440.0410.02615.22
5.4.430.0380.02514.96
5.4.420.0400.02814.99
5.4.410.0410.02615.13
5.4.400.0430.03215.04
5.4.390.0330.03714.73
5.4.380.0330.02514.83
5.4.370.0330.02714.97
5.4.360.0300.03514.80
5.4.350.0460.02114.79
5.4.340.0390.02515.11
5.4.330.0070.00710.68
5.4.320.0290.02815.05
5.4.310.0380.03514.96
5.4.300.0330.02514.89
5.4.290.0350.02615.04
5.4.280.0050.03014.97
5.4.270.0130.02914.90
5.4.260.0170.03015.02
5.4.250.0440.02514.79
5.4.240.0360.03214.92
5.4.230.0420.03515.01
5.4.220.0370.03014.80
5.4.210.0380.02514.74
5.4.200.0350.02513.64
5.4.190.0380.02614.76
5.4.180.0390.03315.10
5.4.170.0270.03514.66
5.4.160.0310.02614.77
5.4.150.0300.02814.89
5.4.140.0290.02613.55
5.4.130.0280.02713.50
5.4.120.0300.02513.47
5.4.110.0280.02513.49
5.4.100.0330.03213.66
5.4.90.0380.02413.59
5.4.80.0370.02513.44
5.4.70.0350.02813.55
5.4.60.0370.02513.58
5.4.50.0330.03013.48
5.4.40.0320.03213.52
5.4.30.0370.02513.53
5.4.20.0320.03313.39
5.4.10.0300.03313.45
5.4.00.0270.03313.33
5.3.290.0470.05714.52
5.3.280.0370.04714.57
5.3.270.0200.04314.58
5.3.260.0100.05314.46
5.3.250.0400.05314.39
5.3.240.0700.04714.43
5.3.230.0370.06314.44
5.3.220.0630.05314.39
5.3.210.0770.04714.57
5.3.200.0730.04314.44
5.3.190.0630.05014.41
5.3.180.0600.05314.50
5.3.170.0600.04314.54
5.3.160.0670.04014.54
5.3.150.0570.05314.54
5.3.140.0600.06314.39
5.3.130.0530.06014.38
5.3.120.0600.06714.39
5.3.110.0500.05314.43
5.3.100.0630.05314.00
5.3.90.0670.04713.97
5.3.80.0700.04714.11
5.3.70.0730.04314.00
5.3.60.0630.05713.85
5.3.50.0630.05013.79
5.3.40.0670.05013.95
5.3.30.0600.05713.70
5.3.20.0600.05313.48
5.3.10.0700.04013.50
5.3.00.0700.05313.52
5.2.170.0400.05311.13
5.2.160.0570.04311.19
5.2.150.0530.04310.99
5.2.140.0500.04310.98
5.2.130.0500.04311.01
5.2.120.0600.03311.04
5.2.110.0470.04711.03
5.2.100.0500.04311.03
5.2.90.0530.04711.04
5.2.80.0700.05010.95
5.2.70.0670.03710.98
5.2.60.0600.03310.84
5.2.50.0600.03710.95
5.2.40.0470.03310.93
5.2.30.0470.06010.76
5.2.20.0530.05310.89
5.2.10.0400.04310.80
5.2.00.0330.04310.79
5.1.60.0430.02310.01
5.1.50.0330.03310.04
5.1.40.0500.0279.85
5.1.30.0400.03710.20
5.1.20.0430.03310.20
5.1.10.0430.03310.11
5.1.00.0470.0339.93
5.0.50.0230.0338.55
5.0.40.0230.0278.29
5.0.30.0170.0438.08
5.0.20.0270.0238.03
5.0.10.0230.0278.24
5.0.00.0270.0378.07
4.4.90.0200.0205.80
4.4.80.0200.0235.76
4.4.70.0230.0205.73
4.4.60.0200.0235.83
4.4.50.0170.0235.76
4.4.40.0170.0375.81
4.4.30.0230.0205.82
4.4.20.0170.0275.82
4.4.10.0200.0235.81
4.4.00.0370.0335.78
4.3.110.0270.0205.75
4.3.100.0200.0205.68
4.3.90.0130.0275.70
4.3.80.0200.0335.79
4.3.70.0200.0235.65
4.3.60.0200.0205.77
4.3.50.0230.0205.65
4.3.40.0200.0335.63
4.3.30.0100.0234.54
4.3.20.0170.0174.40
4.3.10.0070.0234.40
4.3.00.0070.0207.00

preferences:
42.06 ms | 400 KiB | 5 Q