3v4l.org

run code in 300+ PHP versions simultaneously
<?php $y=0123456789; $opciones = [ 'cost' => 12, ]; $y=password_hash($y, PASSWORD_DEFAULT, $opciones); if(password_verify('0123456789',$y)){ echo 'si'; } echo $y;

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)
5.6.280.0000.57020.91
5.6.210.0100.51320.55
5.6.200.0100.55318.29
5.6.190.0100.58720.27
5.6.180.0230.53720.45
5.6.170.0270.50720.39
5.6.160.1130.54320.48
5.6.150.0100.52318.17
5.6.140.0030.50718.18
5.6.130.0070.55718.17
5.6.120.0000.54720.86
5.6.110.0100.59021.03
5.6.100.0100.60021.03
5.6.90.0000.53021.13
5.6.80.0030.55720.35
5.5.350.0070.59020.40
5.5.340.0100.57317.92
5.5.330.0100.57020.29
5.5.320.0000.52720.41
5.5.310.0230.57020.27
5.5.300.0130.58017.95
5.5.290.0030.59718.01
5.5.280.0100.56320.87
5.5.270.0100.59020.75
5.5.260.0100.56720.79
5.5.250.0070.51320.46
5.5.240.0130.57720.07
5.4.320.0330.07019.20
5.4.310.0230.05018.81
5.4.300.0330.05718.78
5.4.290.0270.05319.08
5.4.280.0330.07018.92
5.4.270.0400.06319.13
5.4.260.0230.04319.07
5.4.250.0270.07318.78
5.4.240.0200.04719.09
5.4.230.0270.04018.92
5.4.220.0230.03719.21
5.4.210.0200.03719.24
5.4.200.0230.03719.24
5.4.190.0230.04019.07
5.4.180.0370.06319.23
5.4.170.0430.06019.12
5.4.160.0300.04019.18
5.4.150.0370.03319.05
5.4.140.0330.05016.33
5.4.130.0430.05716.22
5.4.120.0330.04716.54
5.4.110.0230.03716.19
5.4.100.0330.05716.39
5.4.90.0230.04716.39
5.4.80.0370.06316.39
5.4.70.0330.03716.26
5.4.60.0430.04716.36
5.4.50.0500.06016.33
5.4.40.0430.06016.45
5.4.30.0300.03316.20
5.4.20.0170.04316.46
5.4.10.0330.06716.17
5.4.00.0370.06715.78
5.3.290.0270.05714.51
5.3.280.0400.04714.42
5.3.270.0270.05014.61
5.3.260.0400.06014.46
5.3.250.0230.04314.48
5.3.240.0470.04314.48
5.3.230.0230.05014.53
5.3.220.0330.06714.44
5.3.210.0330.04314.63
5.3.200.0370.03714.47
5.3.190.0400.04714.43
5.3.180.0270.03714.51
5.3.170.0430.04314.39
5.3.160.0230.04014.44
5.3.150.0270.03714.39
5.3.140.0270.05014.43
5.3.130.0270.04714.40
5.3.120.0230.04014.50
5.3.110.0300.08014.45
5.3.100.0230.04013.89
5.3.90.0230.03713.87
5.3.80.0200.04013.99
5.3.70.0370.04013.95
5.3.60.0370.04013.93
5.3.50.0370.06013.97
5.3.40.0430.05014.05
5.3.30.0300.04313.89
5.3.20.0230.05313.53
5.3.10.0300.06713.51
5.3.00.0400.06313.59
5.2.170.0300.05311.05
5.2.160.0200.03711.08
5.2.150.0330.05011.25
5.2.140.0230.03011.08
5.2.130.0370.05311.20
5.2.120.0270.02711.15
5.2.110.0230.03011.24
5.2.100.0270.02311.16
5.2.90.0270.06011.25
5.2.80.0230.03311.25
5.2.70.0300.03010.93
5.2.60.0330.05310.89
5.2.50.0330.05310.87
5.2.40.0230.04010.93
5.2.30.0200.03010.98
5.2.20.0330.04011.11
5.2.10.0230.03010.77
5.2.00.0200.06010.68
5.1.60.0200.0239.88
5.1.50.0200.0309.85
5.1.40.0200.0479.86
5.1.30.0170.03010.31
5.1.20.0200.03310.39
5.1.10.0230.03010.22
5.1.00.0170.03310.08
5.0.50.0170.0438.63
5.0.40.0130.0338.33
5.0.30.0130.0608.31
5.0.20.0130.0438.07
5.0.10.0100.0438.39
5.0.00.0170.0578.13
4.4.90.0170.0137.66
4.4.80.0130.0277.66
4.4.70.0100.0277.66
4.4.60.0130.0137.66
4.4.50.0200.0207.66
4.4.40.0100.0477.66
4.4.30.0130.0177.66
4.4.20.0100.0207.66
4.4.10.0100.0307.66
4.4.00.0100.0537.66
4.3.110.0130.0237.66
4.3.100.0130.0207.66
4.3.90.0070.0237.66
4.3.80.0130.0307.66
4.3.70.0100.0137.66
4.3.60.0130.0137.66
4.3.50.0070.0177.66
4.3.40.0130.0407.66
4.3.30.0000.0237.66
4.3.20.0070.0277.66
4.3.10.0100.0337.66
4.3.00.0030.0337.66

preferences:
151.63 ms | 1394 KiB | 7 Q