3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = ''; echo "\0"; echo '\0'; echo NULL; echo "a"; for ($t=0; $t<128; $t++) $result .= "\\".chr($t); echo "strlen = ".strlen($result)."\n"; echo "Result = ".$result."\n";
Output for git.master, git.master_jit, rfc.property-hooks
\0astrlen = 256 Result = \\\\\\\\\\ \ \ \ \ \\\\\\\\\\\\\\\\\\\ \!\"\#\$\%\&\'\(\)\*\+\,\-\.\/\0\1\2\3\4\5\6\7\8\9\:\;\<\=\>\?\@\A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z\[\\\]\^\_\`\a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z\{\|\}\~\

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.9 ms | 401 KiB | 8 Q