3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array( 'Karlstr. 2', 'Karl Straße 2d', 'Karlsplatz 14 a', ); foreach($a as $b) { $c = preg_split('/[0-9]+/', $b); print_r($c); }
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( [0] => Karlstr. [1] => ) Array ( [0] => Karl Straße [1] => d ) Array ( [0] => Karlsplatz [1] => a )