3v4l.org

run code in 300+ PHP versions simultaneously
<?php $h='$5$qNElXs2yMnL2.GNS3kiM7DqmGbFLdQfIwu2691aJgT3xgJazPLtw7RPKz3Dp8RIc4b5fmJ7qvlq/mPN8a.rE40'; $p='salasana'; $c=crypt($p,$h); var_dump(CRYPT_SHA512); echo "HASH: $h - CRYPT: $c\n"; if ($c == $h) { echo "MATCH OK\n"; } else { echo "NO MATCH\n"; } ?>
Output for git.master, git.master_jit, rfc.property-hooks
int(1) HASH: $5$qNElXs2yMnL2.GNS3kiM7DqmGbFLdQfIwu2691aJgT3xgJazPLtw7RPKz3Dp8RIc4b5fmJ7qvlq/mPN8a.rE40 - CRYPT: $5$qNElXs2yMnL2.GNS$lLwtZWf1AuCmwi0g6g7.V8XbAooOnljWTTrWA.BGrI6 NO MATCH

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
38.31 ms | 401 KiB | 8 Q