3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = preg_replace('/\s+(?=(\d\s*){0,3}$)/', '', '12895 6 7 8 9'); echo "$text\n"; $text = preg_replace('/\s+(?=(\d\s*){0,3}$)/', '', '2546734 34 55'); echo "$text\n"; $text = preg_replace('/\s+(?=(\d\s*){0,3}$)/', '', '2334734556 341 5'); echo "$text\n"; $text = preg_replace('/\s+(?=(\d\s*){0,3}$)/', '', '23347345563 4 1 5'); echo "$text\n";
Output for git.master, git.master_jit, rfc.property-hooks
12895 6789 2546734 3455 2334734556 3415 23347345563415

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:
166.97 ms | 405 KiB | 5 Q