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)
7.4.00.0000.52514.72
7.3.120.0030.51314.93
7.3.110.0070.51714.69
7.3.100.0030.52214.78
7.3.90.0030.50815.02
7.3.80.0070.50314.93
7.3.70.0030.49614.71
7.3.60.0070.49914.78
7.3.50.0070.49914.69
7.3.40.0030.49914.57
7.3.30.0130.48414.89
7.3.20.0000.50116.77
7.3.10.0060.50716.38
7.3.00.0100.48416.47
7.2.250.0100.51215.00
7.2.240.0070.50514.98
7.2.230.0070.50515.18
7.2.220.0030.50814.91
7.2.210.0070.50214.71
7.2.200.0030.48915.07
7.2.190.0100.48815.06
7.2.180.0070.49714.97
7.2.170.0030.49214.93
7.2.160.0070.49914.87
7.2.150.0070.50816.94
7.2.140.0070.49616.91
7.2.130.0130.49116.54
7.2.120.0100.49916.64
7.2.110.0080.49316.61
7.2.100.0080.49216.75
7.2.90.0080.50616.57
7.2.80.0120.49816.61
7.2.70.0100.49616.55
7.2.60.0070.50316.73
7.2.50.0040.50016.63
7.2.40.0130.50216.55
7.2.30.0080.48616.73
7.2.20.0130.48816.64
7.2.10.0080.48116.77
7.2.00.0070.49917.58
7.1.330.0030.51815.97
7.1.320.0070.50915.72
7.1.310.0100.49415.71
7.1.300.0070.49115.47
7.1.290.0000.50415.53
7.1.280.0000.50315.84
7.1.270.0070.48215.82
7.1.260.0070.49615.48
7.1.250.0100.49315.53
7.1.240.0000.49415.81
7.1.230.0030.48115.63
7.1.220.0030.49315.89
7.1.210.0070.50115.63
7.1.200.0030.49715.77
7.1.190.0030.49415.73
7.1.180.0130.50215.63
7.1.170.0070.48015.92
7.1.160.0030.48815.73
7.1.150.0030.50315.72
7.1.140.0030.49015.61
7.1.130.0030.48515.74
7.1.120.0000.49915.64
7.1.110.0030.50315.89
7.1.100.0050.49817.11
7.1.90.0070.50315.76
7.1.80.0100.48615.66
7.1.70.0030.49416.55
7.1.60.0050.51217.63
7.1.50.0050.52716.23
7.1.40.0130.49015.98
7.1.30.0070.49615.62
7.1.20.0000.48815.75
7.1.10.0030.50515.79
7.1.00.0070.52119.02
7.0.330.0100.47915.31
7.0.320.0030.48315.45
7.0.310.0070.47715.60
7.0.300.0070.50615.13
7.0.290.0030.48415.36
7.0.280.0030.50815.38
7.0.270.0070.48715.29
7.0.260.0030.48615.56
7.0.250.0030.51015.48
7.0.240.0000.49915.35
7.0.230.0070.49915.22
7.0.220.0030.49615.30
7.0.210.0030.50715.39
7.0.200.0020.49516.16
7.0.190.0030.48915.44
7.0.180.0130.48615.55
7.0.170.0030.48515.65
7.0.160.0000.49915.57
7.0.150.0070.48715.23
7.0.140.0050.52018.61
7.0.130.0000.49815.46
7.0.120.0030.55718.72
7.0.110.0020.48118.78
7.0.100.0030.52318.85
7.0.90.0050.56018.59
7.0.80.0070.55318.66
7.0.70.0100.56118.82
7.0.60.0130.53118.76
7.0.50.0030.54118.77
7.0.40.0430.50916.78
7.0.30.0070.54216.83
7.0.20.0050.52616.71
7.0.10.0100.54716.56
7.0.00.0120.52816.80
5.6.400.0070.49314.10
5.6.390.0000.50014.14
5.6.380.0000.51014.50
5.6.370.0070.48114.08
5.6.360.0000.50014.18
5.6.350.0030.49314.08
5.6.340.0070.50214.59
5.6.330.0030.48714.34
5.6.320.0000.50014.33
5.6.310.0070.47714.59
5.6.300.0030.50714.17
5.6.290.0030.50414.24
5.6.280.0050.53117.62
5.6.270.0080.54517.74
5.6.260.0030.55717.66
5.6.250.0050.52817.59
5.6.240.0050.53617.73
5.6.230.0020.56517.69
5.6.220.0400.50617.48
5.6.210.0070.57017.57
5.6.200.0070.48317.78
5.6.190.0030.50317.64
5.6.180.0070.54917.69
5.6.170.0070.55117.74
5.6.160.0080.56417.60
5.6.150.0080.52817.75
5.6.140.0100.51417.63
5.6.130.0050.56317.64
5.6.120.0170.52817.69
5.6.110.0050.51117.64
5.6.100.0020.52017.48
5.6.90.0050.51417.45
5.6.80.0070.54417.22
5.6.70.0030.49117.28
5.6.60.0070.49117.06
5.6.50.0080.55117.25
5.6.40.0030.54817.07
5.6.30.0050.55117.30
5.6.20.0070.48717.23
5.6.10.0030.52817.08
5.6.00.0070.51917.24
5.5.380.0030.52515.97
5.5.370.0020.47715.93
5.5.360.0100.53015.85
5.5.350.0080.53315.71
5.5.340.0020.52216.00
5.5.330.0070.53616.04
5.5.320.0050.53316.27
5.5.310.0100.52516.08
5.5.300.0030.54516.34
5.5.290.0070.51816.31
5.5.280.0070.55516.35
5.5.270.0020.48916.14
5.5.260.0050.47616.20
5.5.250.0050.49015.91
5.5.240.0030.46415.74
5.5.230.0070.47915.79
5.5.220.0030.47515.70
5.5.210.0020.46915.83
5.5.200.0030.50715.68
5.5.190.0020.48215.82
5.5.180.0050.54315.71
5.5.170.0030.49513.92
5.5.160.0020.54415.83
5.5.150.0080.51915.69
5.5.140.0080.52515.86
5.5.130.0050.53315.93
5.5.120.0120.50915.65
5.5.110.0030.54215.79
5.5.100.0020.52515.76
5.5.90.0050.51015.93
5.5.80.0030.51415.69
5.5.70.0070.52015.74
5.5.60.0050.54515.49
5.5.50.0050.47215.75
5.5.40.0050.51915.56
5.5.30.0100.52715.58
5.5.20.0070.53715.58
5.5.10.0020.52915.87
5.5.00.0080.53415.73
5.4.450.0050.03515.54
5.4.440.0070.02515.60
5.4.430.0050.02215.62
5.4.420.0040.02315.53
5.4.410.0030.02015.63
5.4.400.0030.03615.37
5.4.390.0050.03815.38
5.4.380.0020.02015.47
5.4.370.0020.02015.53
5.4.360.0030.03015.41
5.4.350.0020.04015.40
5.4.340.0020.02715.53
5.4.330.0070.00011.85
5.4.320.0020.02215.41
5.4.310.0020.02815.46
5.4.300.0050.03715.45
5.4.290.0080.01315.40
5.4.280.0030.03315.40
5.4.270.0070.01715.48
5.4.260.0050.03515.43
5.4.250.0020.03815.41
5.4.240.0000.04015.41
5.4.230.0030.04215.37
5.4.220.0020.02215.47
5.4.210.0050.03315.43
5.4.200.0060.02415.44
5.4.190.0020.02815.36
5.4.180.0020.03315.40
5.4.170.0050.03515.37
5.4.160.0070.02715.45
5.4.150.0020.02215.52
5.4.140.0070.01713.98
5.4.130.0020.02214.19
5.4.120.0030.02013.98
5.4.110.0030.01614.09
5.4.100.0030.01814.13
5.4.90.0070.01714.16
5.4.80.0080.01513.98
5.4.70.0020.03513.96
5.4.60.0050.02614.03
5.4.50.0000.02114.13
5.4.40.0050.02314.05
5.4.30.0030.01814.13
5.4.20.0020.03314.07
5.4.10.0000.02714.08
5.4.00.0020.02013.88
5.3.290.0070.05714.56
5.3.280.0000.06314.66
5.3.270.0070.03314.71
5.3.260.0030.03714.49
5.3.250.0030.05714.62
5.3.240.0030.03314.40
5.3.230.0000.03714.63
5.3.220.0030.05714.63
5.3.210.0070.04314.59
5.3.200.0070.04314.63
5.3.190.0000.04014.58
5.3.180.0100.02714.39
5.3.170.0000.04714.45
5.3.160.0000.03714.51
5.3.150.0000.03714.47
5.3.140.0030.07014.46
5.3.130.0070.03314.40
5.3.120.0000.05314.45
5.3.110.0000.04714.34
5.3.100.0000.05314.04
5.3.90.0030.04314.04
5.3.80.0070.03013.96
5.3.70.0070.04714.03
5.3.60.0030.03313.91
5.3.50.0030.06713.77
5.3.40.0000.04314.02
5.3.30.0030.05013.79
5.3.20.0000.05013.63
5.3.10.0030.07013.52
5.3.00.0030.04013.57
5.2.170.0000.05711.05
5.2.160.0000.03011.06
5.2.150.0030.04011.16
5.2.140.0000.03311.04
5.2.130.0100.05011.12
5.2.120.0000.07011.03
5.2.110.0000.05711.04
5.2.100.0030.05311.11
5.2.90.0000.06310.99
5.2.80.0000.06011.02
5.2.70.0030.02311.03
5.2.60.0000.03310.99
5.2.50.0070.02710.92
5.2.40.0000.04311.15
5.2.30.0030.05310.92
5.2.20.0070.06011.12
5.2.10.0000.05710.95
5.2.00.0000.03310.63
5.1.60.0070.0479.96
5.1.50.0030.05310.16
5.1.40.0070.04010.22
5.1.30.0030.04710.29
5.1.20.0030.04710.44
5.1.10.0000.05010.08
5.1.00.0070.02010.03
5.0.50.0030.0239.54
5.0.40.0000.0309.54
5.0.30.0000.0379.54
5.0.20.0000.0339.54
5.0.10.0030.0439.54
5.0.00.0030.0309.54
4.4.90.0000.0309.54
4.4.80.0000.0239.54
4.4.70.0030.0209.54
4.4.60.0000.0309.54
4.4.50.0000.0379.54
4.4.40.0000.0379.54
4.4.30.0000.0179.54
4.4.20.0000.0209.54
4.4.10.0030.0409.54
4.4.00.0100.0439.54
4.3.110.0030.0309.54
4.3.100.0000.0239.54
4.3.90.0030.0339.54
4.3.80.0000.0579.54
4.3.70.0070.0239.54
4.3.60.0000.0339.54
4.3.50.0070.0309.54
4.3.40.0030.0409.54
4.3.30.0030.0209.54
4.3.20.0000.0239.54
4.3.10.0030.0209.54
4.3.00.0000.0209.54

preferences:
37.66 ms | 400 KiB | 5 Q