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, $options); 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.0100.51615.14
7.3.120.0030.50315.05
7.3.110.0100.51014.94
7.3.100.0070.50314.53
7.3.90.0160.49614.74
7.3.80.0070.48814.81
7.3.70.0100.49815.01
7.3.60.0070.48614.93
7.3.50.0030.49614.74
7.3.40.0030.48714.69
7.3.30.0100.49014.98
7.3.20.0070.49316.48
7.3.10.0100.49016.53
7.3.00.0080.48816.14
7.2.250.0070.51715.09
7.2.240.0030.52114.87
7.2.230.0100.48815.10
7.2.220.0030.50414.72
7.2.210.0030.48914.91
7.2.200.0100.48115.04
7.2.190.0030.50215.07
7.2.180.0070.49615.02
7.2.170.0030.48714.97
7.2.130.0130.49416.47
7.2.120.0070.49416.00
7.2.110.0120.50016.41
7.2.100.0070.47716.44
7.2.90.0130.49016.48
7.2.80.0130.49116.50
7.2.70.0170.47616.78
7.2.60.0250.49316.69
7.2.50.0160.49816.47
7.2.40.0100.50316.31
7.2.30.0170.48816.72
7.2.20.0200.48516.55
7.2.10.0170.50116.07
7.2.00.0050.49517.92
7.1.330.0030.50915.64
7.1.320.0030.50115.66
7.1.310.0030.50615.75
7.1.300.0070.48615.83
7.1.290.0070.49815.85
7.1.280.0030.50115.82
7.1.270.0100.49215.96
7.1.260.0000.48915.68
7.1.250.0070.49515.11
7.1.200.0030.49915.91
7.1.100.0070.50118.29
7.1.70.0070.49517.14
7.1.60.0070.57019.20
7.1.50.0100.55616.99
7.1.00.0070.56722.57
7.0.200.0030.48716.67
7.0.60.0100.58021.76
7.0.50.0030.56717.80
7.0.40.0070.59020.02
7.0.30.0230.58320.08
7.0.20.0330.54320.12
7.0.10.0030.56720.05
7.0.00.0030.54320.10
5.6.280.0070.46021.09
5.6.210.0100.59320.51
5.6.200.0030.53718.08
5.6.190.0070.52720.41
5.6.180.1000.52020.62
5.6.170.0300.57720.48
5.6.160.0070.59020.50
5.6.150.0070.51018.22
5.6.140.0030.59318.11
5.6.130.0030.59318.16
5.6.120.0030.51320.98
5.6.110.0070.59721.08
5.6.100.0030.59720.97
5.6.90.0070.58320.95
5.6.80.0470.51720.33
5.5.350.0200.55720.32
5.5.340.0130.51717.98
5.5.330.0070.59020.40
5.5.320.0400.54020.27
5.5.310.0270.51720.23
5.5.300.0130.58318.06
5.5.290.0070.51317.91
5.5.280.0070.51020.61
5.5.270.0100.52320.86
5.5.260.0000.54720.75
5.5.250.0030.51020.58
5.5.240.0230.54020.35

preferences:
33.38 ms | 401 KiB | 5 Q