<?php $name = "Леонардо Давинчи"; $age = 15; $t = array("company"=>"Inmarket"); compact("name","age",$t); foreach($t as $a=>$b) echo $a.' - '.$b.'<br />'; ?>