3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'Heading: This is a string. Very exciting! What do you think? ...one more thing, this is cool.'; var_export( preg_split('~[.?!:]+\K\s+~', $str, 0, PREG_SPLIT_NO_EMPTY) );
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => 'Heading:', 1 => 'This is a string.', 2 => 'Very exciting!', 3 => 'What do you think?', 4 => '...one more thing, this is cool.', )

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