Workshop

Quiz

1:From the Unix command line, how would you install an imaginary PEAR package called MyPack?
2: Which method of the Auth class would you use to commence authentication?
3:What is the name of the PEAR object that some methods we have encountered return to indicate a problem with execution?
4: Which tag would you use in a PhpDocumentor comment to describe an argument to a method?
5: Which flag would you pass to the phpdoc command-line script to ensure that private methods and properties are documented?
6:A tree of configuration objects in the Config packages will all be of the same type. What is the name of the class from which they will all be instantiated?
7:The PEAR style guide recommends that you should drop parentheses from ...

Get Sams Teach Yourself PHP in 24 Hours, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.