3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "testing\n", PHP_EOL, 'testing\n', PHP_EOL; echo urlencode("testing\n"), PHP_EOL, urlencode('testing\n'), PHP_EOL; echo addcslashes("testing\n", '\n'), PHP_EOL, addcslashes('testing\n', '\n'), PHP_EOL; echo urlencode(addcslashes("testing\n", '\n')), PHP_EOL, urlencode(addcslashes('testing\n', '\n')), PHP_EOL; echo addcslashes("testing\n", "\n"), PHP_EOL, addcslashes('testing\n', "\n"), PHP_EOL; echo urlencode(addcslashes("testing\n", "\n")), PHP_EOL, urlencode(addcslashes('testing\n', "\n")), PHP_EOL;
Output for rfc.property-hooks, git.master, git.master_jit
testing testing\n testing%0A testing%5Cn testi\ng testi\ng\\\n testi%5Cng%0A testi%5Cng%5C%5C%5Cn testing\n testing\n testing%5Cn testing%5Cn

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:
45.76 ms | 1602 KiB | 4 Q