3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $id = array("ret","tro","one"); $name = array( 'title' => 'Груши', 'price' => 25, 'catalog' => 1, 'count' => 85, ); $n= array( 'title' => 'Г55руши', 'price' => 265, 'catalog' => 651, 'count' => 85, ); $sessionArray[] =$name; $sessionArray[] =$n; print_r($sessionArray); echo "\n";
based on PpqYG
Output for 4.3.0 - 7.2.0
Array ( [0] => Array ( [title] => Груши [price] => 25 [catalog] => 1 [count] => 85 ) [1] => Array ( [title] => Г55руши [price] => 265 [catalog] => 651 [count] => 85 ) )