3v4l.org

run code in 300+ PHP versions simultaneously
<?php $options = array( //DO NOT ADD A CUSTOM SALT! I WILL SLAP YOU CRAZY! 'cost' => 13 ); echo password_hash("admin123", PASSWORD_DEFAULT, $options);

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.0050.52015.01
7.3.120.0070.50014.79
7.3.110.0060.50314.69
7.3.100.0080.49114.70
7.3.90.0030.49414.71
7.3.80.0070.48714.70
7.3.70.0010.48914.77
7.3.60.0030.49314.75
7.3.50.0080.48814.63
7.3.40.0080.48914.65
7.3.30.0040.48914.45
7.3.20.0020.49216.54
7.3.10.0030.49416.57
7.3.00.0090.47616.53
7.2.250.0100.51414.97
7.2.240.0080.51115.04
7.2.230.0080.49414.87
7.2.220.0040.50114.81
7.2.210.0060.49314.72
7.2.200.0020.49214.70
7.2.190.0040.49314.91
7.2.180.0070.48514.85
7.2.170.0070.49014.91
7.2.160.0030.49214.69
7.2.150.0030.49216.52
7.2.140.0100.47416.88
7.2.130.0030.48716.83
7.2.120.0100.47316.74
7.2.110.0130.48916.84
7.2.100.0000.48016.65
7.2.90.0000.48216.78
7.2.80.0030.49316.70
7.2.70.0030.48116.79
7.2.60.0050.48416.87
7.2.50.0070.48816.79
7.2.40.0030.48416.82
7.2.30.0100.47516.73
7.2.20.0130.48316.95
7.2.10.0030.48016.54
7.2.00.0030.47916.79
7.1.330.0060.49215.82
7.1.320.0030.49415.75
7.1.310.0040.48715.57
7.1.300.0060.48315.49
7.1.290.0060.48115.60
7.1.280.0040.48415.67
7.1.270.0040.49415.66
7.1.260.0030.48815.81
7.1.250.0000.48415.76
7.1.200.0070.49215.59
7.1.100.0100.48218.03
7.1.70.0030.48416.85
7.1.60.0070.56020.03
7.1.50.0170.50834.80
7.1.00.0070.55722.45
7.0.200.0100.48016.88
7.0.120.0130.62321.98
7.0.110.0100.45722.10
7.0.100.0470.51021.98
7.0.90.0030.44722.09
7.0.80.0130.44322.07
7.0.70.0200.46021.99
7.0.60.0070.50322.08
7.0.50.0700.44322.03
7.0.40.0100.45020.02
7.0.30.0030.45020.00
7.0.20.0100.45320.03
7.0.10.0000.43719.99
7.0.00.0400.42719.90
5.6.280.0030.51721.02
5.6.270.0030.62321.06
5.6.260.0100.56321.05
5.6.250.0030.57321.03
5.6.240.0130.45721.00
5.6.230.0100.42721.02
5.6.220.0100.47321.00
5.6.210.0070.58021.00
5.6.200.0000.49020.76
5.6.190.0030.53020.98
5.6.180.0070.45320.98
5.6.170.0030.43321.00
5.6.160.0030.43020.75
5.6.150.0070.43020.77
5.6.140.0070.43721.02
5.6.130.0030.44320.67
5.6.120.0000.45020.95
5.6.110.0030.57320.81
5.6.100.0070.48320.92
5.6.90.0070.56720.74
5.6.80.0070.62720.36
5.6.70.0030.43720.34
5.6.60.0130.43320.36
5.6.50.0030.04314.15
5.6.40.0030.53320.36
5.6.30.0030.49720.14
5.6.20.0030.44020.36
5.6.10.0100.58320.29
5.6.00.0030.53720.12
5.5.380.0070.54017.54
5.5.370.0070.43017.60
5.5.360.0000.43317.67
5.5.350.1000.42317.59
5.5.340.0030.43718.08
5.5.330.0070.43318.02
5.5.320.0000.44317.84
5.5.310.0000.44317.77
5.5.300.0000.52017.91
5.5.290.0000.44317.91
5.5.280.0000.56317.84
5.5.270.0830.44317.90
5.5.260.0100.44318.05
5.5.250.0000.59318.02
5.5.240.0000.52317.44
5.5.230.0900.45317.44
5.5.220.0070.46317.58
5.5.210.0000.43717.27
5.5.200.0030.56317.43
5.5.190.0030.44317.23
5.5.180.0030.55717.43
5.5.160.0070.54017.26
5.5.150.0030.43717.40
5.5.140.0070.43717.24
5.5.130.0030.43717.23
5.5.120.0030.45717.45
5.5.110.0070.43017.39
5.5.100.0070.45717.16
5.5.90.0000.45017.00
5.5.80.0000.45317.30
5.5.70.0030.45017.35
5.5.60.0000.44717.11
5.5.50.0030.53717.22
5.5.40.0070.44017.44
5.5.30.0070.43317.44
5.5.20.0070.45017.31
5.5.10.0000.50017.34
5.5.00.0070.43317.13
5.4.450.0030.04019.29
5.4.440.0030.03019.35
5.4.430.0000.05019.26
5.4.420.0100.06719.29
5.4.410.0000.04019.07
5.4.400.0030.03319.08
5.4.390.0000.03718.95
5.4.380.0030.05318.83
5.4.370.0000.03319.01
5.4.360.0100.06718.98
5.4.350.0030.03318.92
5.4.340.0030.07718.94
5.4.320.0000.04018.92
5.4.310.0030.03019.07
5.4.300.0100.02718.82
5.4.290.0000.03719.01
5.4.280.0000.04319.07
5.4.270.0030.03719.07
5.4.260.0100.04719.07
5.4.250.0100.03018.92
5.4.240.0100.04318.93
5.4.230.0100.02318.93
5.4.220.0030.03019.06
5.4.210.0100.04019.00
5.4.200.0100.02718.91
5.4.190.0070.03718.93
5.4.180.0030.03719.01
5.4.170.0030.03318.92
5.4.160.0000.04019.05
5.4.150.0030.03318.95
5.4.140.0000.04016.20
5.4.130.0000.03316.38
5.4.120.0030.02716.29
5.4.110.0030.03016.45
5.4.100.0030.02716.13
5.4.90.0000.03016.08
5.4.80.0000.03016.06
5.4.70.0030.04316.43
5.4.60.0070.03716.43
5.4.50.0100.02716.32
5.4.40.0170.03016.50
5.4.30.0000.03016.39
5.4.20.0030.02716.15
5.4.10.0000.03016.41
5.4.00.0030.03015.86
5.3.290.0100.02714.55
5.3.280.0030.04714.43
5.3.270.0070.03314.54
5.3.260.0100.03014.69
5.3.250.0070.03714.53
5.3.240.0070.02714.53
5.3.230.0000.03714.69
5.3.220.0030.03314.55
5.3.210.0030.03314.46
5.3.200.0000.03314.55
5.3.190.0000.03314.41
5.3.180.0000.03014.44
5.3.170.0170.02314.48
5.3.160.0000.03014.50
5.3.150.0000.03014.39
5.3.140.0000.03714.49
5.3.130.0000.03314.60
5.3.120.0030.03014.64
5.3.110.0000.03314.48
5.3.100.0000.03013.86
5.3.90.0000.04014.05
5.3.80.0030.03313.94
5.3.70.0030.02714.07
5.3.60.0100.02714.05
5.3.50.0030.02713.88
5.3.40.0000.03313.96
5.3.30.0070.02713.80
5.3.20.0100.02013.57
5.3.10.0000.03013.53
5.3.00.0030.03013.70
5.2.170.0000.02711.20
5.2.160.0030.02311.08
5.2.150.0000.02711.05
5.2.140.0000.02311.07
5.2.130.0000.02311.03
5.2.120.0000.02711.16
5.2.110.0000.02311.11
5.2.100.0000.02711.05
5.2.90.0030.03011.04
5.2.80.0030.02311.03
5.2.70.0030.02711.04
5.2.60.0000.03010.95
5.2.50.0070.06010.94
5.2.40.0000.02710.91
5.2.30.0030.02311.03
5.2.20.0030.03010.89
5.2.10.0030.05010.77
5.2.00.0030.03010.63
5.1.60.0000.0309.81
5.1.50.0030.02010.14
5.1.40.0000.0409.93
5.1.30.0000.02710.40
5.1.20.0000.02710.29
5.1.10.0000.0279.95
5.1.00.0030.04310.30
5.0.50.0000.0439.81
5.0.40.0030.0209.81
5.0.30.0030.0309.81
5.0.20.0000.0209.81
5.0.10.0000.0179.81
5.0.00.0030.0339.81
4.4.90.0000.0179.81
4.4.80.0070.0079.81
4.4.70.0000.0279.81
4.4.60.0000.0139.81
4.4.50.0030.0109.81
4.4.40.0000.0339.81
4.4.30.0070.0139.81
4.4.20.0030.0179.81
4.4.10.0000.0179.81
4.4.00.0000.0239.81
4.3.110.0000.0179.81
4.3.100.0000.0179.81
4.3.90.0030.0179.81
4.3.80.0000.0209.81
4.3.70.0000.0139.81
4.3.60.0000.0139.81
4.3.50.0000.0139.81
4.3.40.0000.0209.81
4.3.30.0000.0139.81
4.3.20.0030.0139.81
4.3.10.0000.0139.81
4.3.00.0030.0109.81

preferences:
46.33 ms | 401 KiB | 5 Q