200-550 practice questions, page 9 of 9, with answer review and explanations.
Question 41
SimpleXML provides the ability to iterate over items in an XML document, as well as access items within it as if they were object properties. When creating your own classes to access data, implementing which of the following would NOT achieve this goal?
__toString
Iterator
__get/__set
ArrayAccess
Question 42
Which of the following is used to find all PHP files under a certain directory?
PHPIterator
RecursiveTreeIterator
RecursiveDirectoryIterator
SplTempFileObject
Question 43
SIMULATION - Which PHP function is used to validate whether the contents of $_FILES['name']['tmp_name'] have really been uploaded via HTTP?
Question 44
SIMULATION - Which PHP function is used to validate whether the contents of $_FILES['name']['tmp_name'] have really been uploaded via HTTP, and also save the contents into another folder?