3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(preg_replace('/[\\]+/', '\\', 'Doctrine\DBAL')); var_dump(preg_replace('/[\\]+/', '\\', 'Doctrine\\DBAL')); var_dump(preg_replace('/[\\]+/', '\\', 'Doctrine\\\DBAL')); var_dump(preg_replace('/[\\]+/', '\\', 'Doctrine\\\\DBAL')); var_dump(preg_replace('/[\\]+/', '\\', 'Doctrine\\\\\DBAL')); var_dump(preg_replace('/[\\]+/', '\\', 'Doctrine\\\\\\DBAL')); var_dump(preg_replace('/[\\]+/', '\\', 'Doctrine\\\\\\\DBAL')); var_dump(preg_replace('/[\\]+/', '\\', 'Doctrine\\\\\\\\DBAL')); var_dump(preg_replace('/[\\]+/', '\\', 'Doctrine\\\\\\\\\DBAL'));
Output for git.master, git.master_jit, rfc.property-hooks
Warning: preg_replace(): Compilation failed: missing terminating ] for character class at offset 4 in /in/OBjlT on line 3 NULL Warning: preg_replace(): Compilation failed: missing terminating ] for character class at offset 4 in /in/OBjlT on line 4 NULL Warning: preg_replace(): Compilation failed: missing terminating ] for character class at offset 4 in /in/OBjlT on line 5 NULL Warning: preg_replace(): Compilation failed: missing terminating ] for character class at offset 4 in /in/OBjlT on line 6 NULL Warning: preg_replace(): Compilation failed: missing terminating ] for character class at offset 4 in /in/OBjlT on line 7 NULL Warning: preg_replace(): Compilation failed: missing terminating ] for character class at offset 4 in /in/OBjlT on line 8 NULL Warning: preg_replace(): Compilation failed: missing terminating ] for character class at offset 4 in /in/OBjlT on line 9 NULL Warning: preg_replace(): Compilation failed: missing terminating ] for character class at offset 4 in /in/OBjlT on line 10 NULL Warning: preg_replace(): Compilation failed: missing terminating ] for character class at offset 4 in /in/OBjlT on line 11 NULL

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:
54.82 ms | 403 KiB | 8 Q