<?php $a = array('Implied', 1=> 'Integer', '2' => 'String', 3.0 => 'Float', '' => 'empty', 'f' => 'Non-int'); foreach($a AS $k=>$v){ echo "$v is treated as a " . var_export($k, true) . "\r\n\r\n"; }
You have javascript disabled. You will not be able to edit any code.