3v4l.org

run code in 300+ PHP versions simultaneously
<?php $strings = [ '10a99b5c', '55', '2a3b1', 'g', ]; var_export( array_map( fn($string) => preg_split('/\d+\K/', $string, 0, PREG_SPLIT_NO_EMPTY), $strings ) );
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => array ( 0 => '10', 1 => 'a99', 2 => 'b5', 3 => 'c', ), 1 => array ( 0 => '55', ), 2 => array ( 0 => '2', 1 => 'a3', 2 => 'b1', ), 3 => array ( 0 => 'g', ), )

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