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 -- ")); ?>
Output for git.master_jit, git.master, rfc.property-hooks
MTI5MTY0MTczMTY5MTc0MjI0MjMxMjI0MTYxMTc0MTY0MjI0MjQxMjI0MjUzMjI0MjQwMjI0MjM3MjM3MjI0

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