camilord - 4:57 am on May 14, 2010 (gmt 0)
i would like to ask if what is the shortcut code if something like;
$filex = getFileExtension($_POST['file']);
$img = array('jpg','bmp','gif','png');
if ($filex = unknown_function($img))
the unknown_function() is responsible to auto-validate the values in an array...
i encounter this in PHP website.. but can't find it now... i forgot the function name...