3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = <<<STR Featuring six amazing National Parks: Glacier, Waterton Lakes, Yellowstone, Grand Teton, Arches, and Canyonlands. Your tour begins in Chicago where you will board the Empire Builder bound for the first National Park on your trip, Glacier, where you will explore the famed Going-to-the-Sun Road and enjoy a full-day excursion to Waterton Lakes National Park in Canada (passport required). STR; echo preg_replace('/(?<!\R)\R(?!\R)/u', '', $str);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: preg_replace(): Compilation failed: lookbehind assertion is not fixed length at offset 0 in /in/veYRs on line 13

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