3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = [ [ "", "0,245.19000000,864432", "1,245.26000000,864432", "2,245.49000000,864432", "4,245.33000000,864432" ], [ "", "0,245.19000000,864453", "1,245.26000000,864453", "2,245.49000000,864453", "4,245.33000000,864453" ] ]; var_export( array_map( fn($row) => array_map( fn($string) => sscanf($string, '%d,%f,%d') ?: '', $row ), $array ) );
Output for git.master_jit, git.master
array ( 0 => array ( 0 => '', 1 => array ( 0 => 0, 1 => 245.19, 2 => 864432, ), 2 => array ( 0 => 1, 1 => 245.26, 2 => 864432, ), 3 => array ( 0 => 2, 1 => 245.49, 2 => 864432, ), 4 => array ( 0 => 4, 1 => 245.33, 2 => 864432, ), ), 1 => array ( 0 => '', 1 => array ( 0 => 0, 1 => 245.19, 2 => 864453, ), 2 => array ( 0 => 1, 1 => 245.26, 2 => 864453, ), 3 => array ( 0 => 2, 1 => 245.49, 2 => 864453, ), 4 => array ( 0 => 4, 1 => 245.33, 2 => 864453, ), ), )

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:
50.71 ms | 901 KiB | 4 Q