3v4l.org

run code in 300+ PHP versions simultaneously
<?php $msg = 'This is a test'; $key = 'magic_key'; // print, and make unprintable chars available for a link or alike. // using $_GET, php will urldecode it, if it was passed urlencoded print "obfuscated, ready for url: " . urlencode(obfuscate($msg, $key)) . "\n"; print "deObfuscated: " . obfuscate(obfuscate($msg, $key), $key); function obfuscate($msg, $key) { if (empty($key)) return $msg; return $msg ^ str_pad('', strlen($msg), $key); } ?>
Output for git.master, git.master_jit, rfc.property-hooks
obfuscated, ready for url: 9%09%0E%1AC6%18E%18M%15%02%1A%17 deObfuscated: This is a test

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