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.57721.06
5.6.210.0070.56320.49
5.6.200.0100.52318.20
5.6.190.0030.54720.61
5.6.180.0330.52720.61
5.6.170.0270.57320.52
5.6.160.0030.58020.43
5.6.150.0100.54318.27
5.6.140.0070.52318.18
5.6.130.0130.57318.17
5.6.120.0130.51020.93
5.6.110.0030.59321.02
5.6.100.0130.58020.98
5.6.90.0100.53320.96
5.6.80.0130.57320.28
5.5.350.0130.58320.45
5.5.340.0170.57718.07
5.5.330.0070.57320.25
5.5.320.0370.57720.51
5.5.310.0230.54020.20
5.5.300.0070.51317.98
5.5.290.0070.57017.97
5.5.280.0030.59720.94
5.5.270.0130.59320.78
5.5.260.0100.58320.79
5.5.250.0130.58320.61
5.5.240.0170.56320.36
5.4.320.0080.04112.46
5.4.310.0060.03912.45
5.4.300.0050.04812.46
5.4.290.0050.04212.45
5.4.280.0090.03812.35
5.4.270.0080.03812.35
5.4.260.0070.04012.35
5.4.250.0090.03412.35
5.4.240.0050.03712.35
5.4.230.0090.04612.34
5.4.220.0100.03712.34
5.4.210.0050.04012.34
5.4.200.0060.04012.34
5.4.190.0090.03612.34
5.4.180.0050.04012.34
5.4.170.0020.04012.35
5.4.160.0050.04112.35
5.4.150.0040.04112.34
5.4.140.0050.04312.02
5.4.130.0050.03512.02
5.4.120.0060.03411.97
5.4.110.0050.03511.96
5.4.100.0070.03211.97
5.4.90.0050.03611.96
5.4.80.0040.03711.96
5.4.70.0060.04111.96
5.4.60.0060.03311.96
5.4.50.0060.03811.96
5.4.40.0100.03511.95
5.4.30.0080.03711.95
5.4.20.0030.04111.95
5.4.10.0060.03311.95
5.4.00.0060.03711.44
5.3.290.0070.03812.80
5.3.280.0060.03912.71
5.3.270.0070.03812.72
5.3.260.0080.04012.72
5.3.250.0050.03712.72
5.3.240.0060.03712.72
5.3.230.0050.03812.71
5.3.220.0060.03612.68
5.3.210.0090.04212.68
5.3.200.0030.04012.68
5.3.190.0090.03812.68
5.3.180.0060.04112.68
5.3.170.0060.04112.67
5.3.160.0030.03812.67
5.3.150.0050.03812.67
5.3.140.0100.03412.66
5.3.130.0090.03512.66
5.3.120.0050.03812.66
5.3.110.0080.03712.66
5.3.100.0070.03612.11
5.3.90.0060.03712.09
5.3.80.0060.03712.07
5.3.70.0050.03912.07
5.3.60.0080.03812.07
5.3.50.0040.03712.00
5.3.40.0040.03712.00
5.3.30.0050.03411.95
5.3.20.0060.03311.73
5.3.10.0040.03511.70
5.3.00.0070.03411.68
5.2.170.0060.0289.18
5.2.160.0050.0329.18
5.2.150.0030.0309.18
5.2.140.0050.0289.18
5.2.130.0060.0299.14
5.2.120.0050.0359.14
5.2.110.0020.0319.14
5.2.100.0060.0319.14
5.2.90.0050.0299.14
5.2.80.0040.0319.14
5.2.70.0030.0319.14
5.2.60.0030.0309.09
5.2.50.0040.0299.05
5.2.40.0020.0319.04
5.2.30.0060.0279.01
5.2.20.0060.0339.00
5.2.10.0070.0278.93
5.2.00.0030.0308.78
5.1.60.0030.0248.07
5.1.50.0030.0278.07
5.1.40.0050.0238.05
5.1.30.0070.0238.40
5.1.20.0060.0278.42
5.1.10.0040.0258.14
5.1.00.0070.0298.14
5.0.50.0040.0246.62
5.0.40.0020.0206.48
5.0.30.0040.0296.29
5.0.20.0030.0196.26
5.0.10.0020.0206.24
5.0.00.0040.0296.23
4.4.90.0040.0134.78
4.4.80.0040.0134.75
4.4.70.0020.0164.75
4.4.60.0040.0144.75
4.4.50.0040.0144.77
4.4.40.0050.0234.71
4.4.30.0040.0164.76
4.4.20.0020.0194.84
4.4.10.0010.0174.85
4.4.00.0050.0234.76
4.3.110.0040.0144.67
4.3.100.0030.0144.67
4.3.90.0040.0194.64
4.3.80.0050.0264.58
4.3.70.0020.0204.63
4.3.60.0020.0194.63
4.3.50.0010.0174.63
4.3.40.0040.0214.53
4.3.30.0030.0183.28
4.3.20.0020.0193.25
4.3.10.0010.0203.22
4.3.00.0000.01718.56

preferences:
138.26 ms | 1394 KiB | 7 Q