PHP is a _____ scripting language based on the ____ engine. It is primarily...
Dynamic, PHP, Database, HTML Embedded, Zend, HTML, XML Perl-based, PHP, Web, Static Embedded, Zend, Docbook, MySQL Zend-based, PHP, Image, HTML I don’t knowAnswer:Embedded, Zend, HTML, XML
View ArticleWhich function does return the number of seconds elapsed since the 1st...
time() timestamp() mktime()microtime() I don’t knowAnswer:mktime()
View ArticleAt the end of the execution of the following script, which values will be...
class my_class { var $my_value = array(); function my_class ($value) { $this->my_value[] = $value; } function set_value ($value) { $this->$my_value = $value; } } $a = new my_class ('a');...
View ArticleWhich object-oriented pattern would you use to implement a class that must be...
A. Model-view-controller B. Abstract factory C. Singleton D. Proxy E. StateAnswer:Singleton
View ArticleWhat OOP construct unavailable in PHP 4 does the following script approximate?
class my_class { function my_funct ($my_param) { user_error ("Please define me", E_ERROR); } function b() { return 10; } }A. Multiple inheritance B. Interfaces C. Abstract methods D. Private methods E....
View ArticleA script is a?
Program or sequence of instructions that is interpreted or carried out by processor directly Program or sequence of instruction that is interpreted or carried out by another programProgram or sequence...
View ArticleWhen compared to the compiled program, scripts run?
Faster Slower The execution speed is similar All of aboveAnswer:Slower
View ArticlePHP is a widely used ……………. scripting language that is especially suited for...
Open source general purpose Proprietary general purpose Open source special purpose Proprietary special purposeAnswer:Open source general purpose
View Article