3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = 'test'; // hash generated with PHP 5.3.7+ $hash = '$2y$14$MTIzNDU2Nzg5MDEyMzQ1NeWUUefVlefsTbFhsbqKFv/vPSZBrSFVm'; $result = crypt($password, $hash); printf("Result hash %s (length %d)\n", $result, strlen($result)); if ($result === $hash) { printf("Ok, verified.\n"); } else { printf("Not verified.\n"); }
Output for git.master, git.master_jit, rfc.property-hooks
Result hash $2y$14$MTIzNDU2Nzg5MDEyMzQ1NeWUUefVlefsTbFhsbqKFv/vPSZBrSFVm (length 60) Ok, verified.

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:
45.81 ms | 401 KiB | 8 Q