What parsing methodology is utilized by the SimpleXML extension?A . SAXB . DOMC . XPathD . Push/Pull ApproachE . Expat View Answer Answer: B...
Continue readingWhat is the name of the PHP function used to automatically load non-yet defined classes?
What is the name of the PHP function used to automatically load non-yet defined classes?A . autoload()B . _autoload()C . _catch()D . load()E . loadClass() View Answer Answer: B...
Continue readingWhich PHP configuration directive can be disabled to prevent this?
One common security risk is exposing error messages directly in the browser. Which PHP configuration directive can be disabled to prevent this?A . html_displayB . error_reportingC . display_errorsD . error _logE . ignore_repeated_errors View Answer Answer: C...
Continue readingTransactions are used to …
Transactions are used to …A . guarantee high performanceB . secure data consistencyC . secure access to the databaseD . reduce the database server overheadE . reduce code size in PHP View Answer Answer: B...
Continue readingWhen a query that is supposed to affect rows is executed as part of a transaction, and reports no affected rows, it could mean that: (Choose 2)
When a query that is supposed to affect rows is executed as part of a transaction, and reports no affected rows, it could mean that: (Choose 2)A . The transaction failedB . The transaction affected no linesC . The transaction was rolled backD . The transaction was committed without error View Answer Answer: A,...
Continue readingWhat is the output of the following code?
What is the output of the following code? function increment ($val) { ++$val; $val= 1; increment ($val); echo $val; View Answer Answer: 1...
Continue readingAssuming UTF-8 encoding, what is the value of $count?
Assuming UTF-8 encoding, what is the value of $count? A . 0B . 4C . 5D . 7 View Answer Answer: C...
Continue readingWhat content-type is required when sending an HTTP POST using JavaScript to ensure that PHP can access the data?
What content-type is required when sending an HTTP POST using JavaScript to ensure that PHP can access the data?A . application/x-www-form-urlencodedB . http/postC . text/htmlD . object/multipart-formdata View Answer Answer: A...
Continue readingWhich of the following code snippets is correct? (Choose 2)
Which of the following code snippets is correct? (Choose 2)A . interface Drawable { abstract function draw(); }B . interface Point { function getX(); function getY(); }C . interface Line extends Point { function getX2(); function getY2(); }D . interface Circle implements Point { function getRadius(); } View Answer Answer: B, C...
Continue readingWhich SPL class implements fixed-size storage?
Which SPL class implements fixed-size storage? View Answer Answer: SplfixedArray...
Continue reading