3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hash = '$2y$04$usesomesillystringfore7hnbRJHxXVLeakoG8K30oukPsA.ztMG'; $test = crypt("password", $hash); echo "$2y string: $test\n"; $pass = ($test == $hash); echo "$2y test status: " . ( $pass ? "Pass" : "Fail") . "\n"; $hash = '$2a$04$usesomesillystringfore7hnbRJHxXVLeakoG8K30oukPsA.ztMG'; $test = crypt("password", $hash); echo "$2a string: $test\n"; $pass = ($test == $hash); echo "$2a test status: " . ( $pass ? "Pass" : "Fail") . "\n"; $hash = '$2x$04$usesomesillystringfore7hnbRJHxXVLeakoG8K30oukPsA.ztMG'; $test = crypt("password", $hash); echo "$2x string: $test\n"; $pass = ($test == $hash); echo "$2x test status: " . ( $pass ? "Pass" : "Fail") . "\n";
Output for git.master, git.master_jit, rfc.property-hooks
$2y string: $2y$04$usesomesillystringfore7hnbRJHxXVLeakoG8K30oukPsA.ztMG $2y test status: Pass $2a string: $2a$04$usesomesillystringfore7hnbRJHxXVLeakoG8K30oukPsA.ztMG $2a test status: Pass $2x string: $2x$04$usesomesillystringfore7hnbRJHxXVLeakoG8K30oukPsA.ztMG $2x test status: Pass

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:
54.12 ms | 402 KiB | 8 Q