3v4l.org

run code in 300+ PHP versions simultaneously
<?php $strings = ['ES-3810/24MX', 'ES-3810/24MX35 123 TEST 34/TEST']; foreach ($strings as $string) { var_export( preg_split('/[^a-z\d]+|\d\K(?=\D)|\D\K(?=\d)/i', $string, 0, PREG_SPLIT_NO_EMPTY) ); echo "\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => 'ES', 1 => '3810', 2 => '24', 3 => 'MX', ) array ( 0 => 'ES', 1 => '3810', 2 => '24', 3 => 'MX', 4 => '35', 5 => '123', 6 => 'TEST', 7 => '34', 8 => 'TEST', )

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