<?php $a1['cores']=array("vermelho","amerelo","preto"); $a2['favoritas']=array("amerelo","preto"); $pets = array($a1, $a2);print_r($pets);die;
Standard input is empty
Array ( [0] => Array ( [cores] => Array ( [0] => vermelho [1] => amerelo [2] => preto ) ) [1] => Array ( [favoritas] => Array ( [0] => amerelo [1] => preto ) ) )
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!