3v4l.org

run code in 500+ PHP versions simultaneously
<?php $string = "I search 1, regex (regular expression) to: That's it is! Und über den Wolken müssen wir..."; var_export( preg_split( "#\pL+'\pL+(*SKIP)(*FAIL)| +|\b#u", $string, flags: PREG_SPLIT_NO_EMPTY ) ); /* array ( 0 => 'I', 1 => 'search', 2 => '1', 3 => ',', 4 => 'regex', 5 => '(', 6 => 'regular', 7 => 'expression', 8 => ')', 9 => 'to', 10 => ':', 11 => 'That', 12 => '\'s', 13 => 'it', 14 => 'is', 15 => '!', 16 => 'Und', 17 => 'über', 18 => 'den', 19 => 'Wolken', 20 => 'müssen', 21 => 'wir', 22 => '...', ) */
Output for git.master, git.master_jit
array ( 0 => 'I', 1 => 'search', 2 => '1', 3 => ',', 4 => 'regex', 5 => '(', 6 => 'regular', 7 => 'expression', 8 => ')', 9 => 'to', 10 => ':', 11 => 'That\'s', 12 => 'it', 13 => 'is', 14 => '!', 15 => 'Und', 16 => 'über', 17 => 'den', 18 => 'Wolken', 19 => 'müssen', 20 => 'wir', 21 => '...', )

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:
40.88 ms | 785 KiB | 4 Q