3v4l.org

run code in 300+ PHP versions simultaneously
<?php function encryptPassword($password) { $encryptedPassword = md5($password).md5("MOOYOUL"); // SHA1 암호화하고 Base64로 Encode한걸 또 다시 SHA1로 암호화 $encryptedPassword = sha1(sha1(sha1($encryptedPassword, true), true), false).sha1("MOOYOUL").sha1("merong"); return $encryptedPassword; } $original = "password"; $encrypted = encryptPassword($original); var_dump($original, $encrypted);
Output for git.master, git.master_jit, rfc.property-hooks
string(8) "password" string(120) "d2af52513f152ae233f80fbf688dbc1b0a7102495ff6404914e5442b50b9ab73d1933a0754f56827de3f89c69aa24cf5304b60f6bb2a8ffbc9fc3bde"

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