3v4l.org

run code in 300+ PHP versions simultaneously
<?php // String with slashes manually added: $arr = ["oh","me","oh","my!"]; $imploded = implode("\\ ",$arr); var_dump($imploded); $stripped = stripslashes( $imploded ); var_dump($stripped);
Output for git.master, git.master_jit, rfc.property-hooks
string(15) "oh\ me\ oh\ my!" string(12) "oh me oh my!"

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:
48.77 ms | 1446 KiB | 4 Q