Reply to Re: Array Key Exists

Re: Array Key Exists new!
by colin, 17 years, 1 month ago
To output the log, echo $foo->log after calling $foo->process()

You must have an old version of the class, because from version 0.24 there is a check to make sure that the $info variable is an array:
$this->file_src_mime = (is_array($info) && array_key_exists('mime', $info) ? $info['mime'] : NULL); 
Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important