Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers

The contents of an image file are stored in memory as $imString, but the original file is not available. Of the following, which uses the least amount of code and is a valid method of retrieving the dimensions of $imString?

$fn = tempnam('/dir', 'foobar'); file_put_contents($fn, $imString); return getimagesize($fn);
$im = imagecreatefromstring($imString); return array(imagesx($im), imagesy($im));
None of the above are valid PHP code
return getimagesizefromstring($imString);
return strlen($imString);
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon