3v4l.org

run code in 300+ PHP versions simultaneously
<?php $secret = 'Hello World'; $a = password_hash($secret, PASSWORD_BCRYPT); $b = password_hash($secret, PASSWORD_BCRYPT); var_dump($a); var_dump($b); var_dump($a === $b);

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.3.00.0840.13514.40
7.2.130.1020.12914.61
7.2.120.1530.13614.38
7.2.110.1090.13914.77
7.2.100.1290.13914.80
7.2.90.0690.14814.79
7.2.80.0960.13514.78
7.2.70.1140.13114.99
7.2.60.0730.13615.01
7.2.50.0780.13114.73
7.2.40.0950.13714.96
7.2.30.1080.13814.95
7.2.20.0840.13515.04
7.2.10.0780.14614.84
7.2.00.0810.13715.13
7.1.250.0830.14313.88
7.0.330.1140.13313.53
5.6.380.0030.14414.07

preferences:
56.85 ms | 553 KiB | 5 Q