3v4l.org

run code in 300+ PHP versions simultaneously
<?php // username: admin $password = 12345678; // hashed password: $2y$12$$$$$$$$$$$$$$$$$$$$$$.ibwcWrMlgLR7y6B62/Vc8Dc54kecHHe$1$ZQhX9D2d$RexVJ.y2KWpfxMyY0tN9E1 $salt = 'HJsZ4yBWNbGQCw1Yi-7rGBunXym7AEIFatIHhaK_fQgY6I1ecqAEs7eAmJM88Zdn5VpdrKie2CN39~PjqSb3yoPCCzl4q8'; $vsalt = 'S2qXSXQUc-'; function hashing($password ,$salt ,$vsalt){ $check1 = crypt($password.$salt,'$2y$12$'.$vsalt); $check2 = crypt($password.$salt,$vsalt); //password will be: $check1.$check2 return($check1.' '.$check2); } var_dump(hashing(12345678, $salt, $vsalt), hashing('12345678', $salt, $vsalt)); //password: 12345678 // hashed password: *0S2k0u9.1hnFr. $salt = 'HJsZ4yBWNbGQCw1Yi-7rGBunXym7AEIFatIHhaK_fQgY6I1ecqAEs7eAmJM88Zdn5VpdrKie2CN39~PjqSb3yoPCCzl4q8'; $vsalt = 'S2qXSXQUc-'; var_dump(hashing(12345678, $salt, $vsalt), hashing('12345678', $salt, $vsalt));
Output for git.master, git.master_jit, rfc.property-hooks
string(16) "*0 S2k0u9.1hnFr." string(16) "*0 S2k0u9.1hnFr." string(16) "*0 S2k0u9.1hnFr." string(16) "*0 S2k0u9.1hnFr."

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.53 ms | 401 KiB | 8 Q