3v4l.org

run code in 300+ PHP versions simultaneously
<?php $options = ['cost' => 12, 'salt' => sha1('USERID + random')]; $base_de_donnee = password_hash("CPLN", PASSWORD_DEFAULT, $options); $application_ios = password_hash("CPLN", PASSWORD_DEFAULT); echo $base_de_donnee, PHP_EOL; echo $application_ios, PHP_EOL; echo hash_equals($base_de_donnee, $application_ios) ? "okay" : "derp"; ?>

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.0030.33414.87
7.3.120.0070.33115.07
7.3.110.0070.32015.08
7.3.100.0100.32914.73
7.3.90.0100.31214.66
7.3.80.0000.31514.99
7.3.70.0070.30714.74
7.3.60.0070.31214.77
7.3.50.0030.31314.83
7.3.40.0070.30414.70
7.3.30.0000.32315.00
7.3.20.0000.31716.81
7.3.10.0030.30716.57
7.3.00.0100.30916.87
7.2.250.0170.32214.76
7.2.240.0030.32214.96
7.2.230.0030.31715.00
7.2.220.0000.32414.77
7.2.210.0030.31714.77
7.2.200.0130.30715.02
7.2.190.0070.31715.13
7.2.180.0030.31714.98
7.2.170.0070.31015.08
7.2.160.0100.29714.75
7.2.150.0000.32816.90
7.2.140.0000.31417.08
7.2.130.0070.31016.90
7.2.120.0030.30516.61
7.2.110.0100.30016.77
7.2.100.0070.31316.97
7.2.90.0000.32016.80
7.2.80.0100.30416.75
7.2.70.0130.30716.66
7.2.60.0200.32016.90
7.2.50.0030.30916.70
7.2.40.0030.31016.61
7.2.30.0070.32116.88
7.2.20.0100.30416.88
7.2.10.0030.30416.60
7.2.00.0050.31518.00
7.1.330.0070.33215.73
7.1.320.0030.31415.62
7.1.310.0070.31515.88
7.1.300.0030.32415.86
7.1.290.0030.30815.78
7.1.280.0070.30315.94
7.1.270.0100.30815.79
7.1.260.0000.32515.53
7.1.250.0130.29715.81
7.1.240.0070.31115.83
7.1.230.0030.31115.71
7.1.220.0000.31015.70
7.1.210.0030.31015.51
7.1.200.0030.30715.83
7.1.190.0030.31315.81
7.1.180.0000.31115.76
7.1.170.0030.30215.80
7.1.160.0130.29415.77
7.1.150.0030.31415.93
7.1.140.0100.29515.66
7.1.130.0130.29715.85
7.1.120.0030.31215.65
7.1.110.0030.30415.93
7.1.100.0070.30916.80
7.1.90.0030.31115.69
7.1.80.0030.31515.79
7.1.70.0050.30716.54
7.1.60.0130.33317.41
7.1.50.0070.30316.28
7.1.40.0000.31215.65
7.1.30.0000.30615.55
7.1.20.0030.31515.78
7.1.10.0030.32015.80
7.1.00.0050.35219.16
7.0.330.0100.30515.59
7.0.320.0070.29715.50
7.0.310.0030.31315.57
7.0.300.0070.30015.33
7.0.290.0030.30315.56
7.0.280.0030.31115.34
7.0.270.0000.30215.36
7.0.260.0070.30515.40
7.0.250.0000.30815.27
7.0.240.0030.31515.48
7.0.230.0070.30915.49
7.0.220.0030.32115.22
7.0.210.0070.31415.43
7.0.200.0020.31016.13
7.0.190.0000.32115.23
7.0.180.0030.31215.59
7.0.170.0030.31015.65
7.0.160.0070.30615.44
7.0.150.0070.30715.49
7.0.140.0030.31115.54
7.0.130.0070.29915.49
7.0.120.0070.31515.30
7.0.110.0000.30915.43
7.0.100.0000.31315.47
7.0.90.0070.30815.26
7.0.80.0070.30215.35
7.0.70.0030.30915.11
7.0.60.0050.35818.58
7.0.50.0030.33516.61
7.0.40.0070.33416.78
7.0.30.0220.33016.81
7.0.20.0170.34316.84
7.0.10.0120.35216.74
7.0.00.0020.33416.76
5.6.400.0030.30714.15
5.6.390.0030.31214.07
5.6.380.0070.30814.21
5.6.370.0070.30514.34
5.6.360.0030.31914.52
5.6.350.0070.30914.21
5.6.340.0030.31414.41
5.6.330.0030.31314.40
5.6.320.0000.31214.43
5.6.310.0000.31314.36
5.6.300.0030.31014.38
5.6.290.0070.30214.00
5.6.280.0050.30517.62
5.6.270.0030.31714.06
5.6.260.0030.30114.46
5.6.250.0030.31014.52
5.6.240.0030.32114.18
5.6.230.0030.31414.29
5.6.220.0030.30714.39
5.6.210.0070.35317.44
5.6.200.0030.36016.26
5.6.190.0070.35517.58
5.6.180.0120.32617.54
5.6.170.0220.33417.24
5.6.160.0050.32617.27
5.6.150.0050.32216.15
5.6.140.0070.36016.26
5.6.130.0070.35816.15
5.6.120.0020.31917.79
5.6.110.0080.35517.64
5.6.100.0100.33017.66
5.6.90.0090.33317.54
5.6.80.0080.34317.40
5.6.70.0100.30814.02
5.6.60.0000.32614.05
5.6.50.0000.31614.38
5.6.40.0100.29814.00
5.6.30.0070.30914.26
5.6.20.0100.30014.34
5.6.10.0070.31014.22
5.6.00.0070.31614.14
5.5.380.0000.31214.27
5.5.370.0030.30314.21
5.5.360.0130.31114.07
5.5.350.0120.32917.25
5.5.340.0030.32916.01
5.5.330.0080.33717.33
5.5.320.0280.34817.27
5.5.310.0120.35317.39
5.5.300.0030.36216.09
5.5.290.0050.32316.01
5.5.280.0350.33017.61
5.5.270.0070.33017.54
5.5.260.0050.33117.52
5.5.250.0070.31717.34
5.5.240.0100.35417.25
5.5.230.0000.31014.23
5.5.220.0130.30214.18
5.5.210.0030.31814.25
5.5.200.0030.30514.14
5.5.190.0100.30814.24
5.5.180.0030.31614.35
5.5.170.0000.30414.17
5.5.160.0000.31414.14
5.5.150.0030.30413.95
5.5.140.0030.30914.25
5.5.130.0030.31013.99
5.5.120.0030.30714.00
5.5.110.0070.31813.87
5.5.100.0030.30914.09
5.5.90.0000.31014.30
5.5.80.0000.31814.34
5.5.70.0030.30514.03
5.5.60.0000.31313.96
5.5.50.0000.30814.07
5.5.40.0000.31413.95
5.5.30.0070.32313.88
5.5.20.0030.30314.04
5.5.10.0000.31113.89
5.5.00.0030.30714.06

preferences:
34.18 ms | 401 KiB | 5 Q