3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = "Some Words - Other Words (More Words) Dash-Binded-Word"; var_export(preg_split('~\W{2,}~', $var, null, PREG_SPLIT_NO_EMPTY));
Output for git.master, git.master_jit, rfc.property-hooks
Deprecated: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /in/M3spP on line 5 array ( 0 => 'Some Words', 1 => 'Other Words', 2 => 'More Words', 3 => 'Dash-Binded-Word', )

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:
104.95 ms | 406 KiB | 5 Q