"}]},{"@type":"Question","position":5,"name":"Which of the following methods for declaring a PHP variable is incorrect?","acceptedAnswer":{"@type":"Answer","text":"$a_Number = 9"},"suggestedAnswer":[{"@type":"Answer","text":"$a_Number = 9;"},{"@type":"Answer","text":"$aNumber = 9;"},{"@type":"Answer","text":"$a_Num = 9;"}]},{"@type":"Question","position":6,"name":"Which function will you use to quickly transform an HTML page into a database-friendly format?","acceptedAnswer":{"@type":"Answer","text":"Htmlentities()"},"suggestedAnswer":[{"@type":"Answer","text":"Htmlspecialchars()"},{"@type":"Answer","text":"Stripslashes()"}]},{"@type":"Question","position":7,"name":"In PHP, how do you type \"Hello World\"?","acceptedAnswer":{"@type":"Answer","text":"echo \"Hello World\";"},"suggestedAnswer":[{"@type":"Answer","text":"\"Hello World\";"},{"@type":"Answer","text":"Document.Write(\"Hello World\");"}]},{"@type":"Question","position":8,"name":"Is it true/false that PHP variables are case sensitive?","acceptedAnswer":{"@type":"Answer","text":"B) True"},"suggestedAnswer":[{"@type":"Answer","text":"A) False"}]},{"@type":"Question","position":9,"name":"To create a CURL session, which of the following functions will be used?","acceptedAnswer":{"@type":"Answer","text":"Curl_init()"},"suggestedAnswer":[{"@type":"Answer","text":"Curl_exec()"},{"@type":"Answer","text":"Curl_setopt()"},{"@type":"Answer","text":"Curl_opt()"}]},{"@type":"Question","position":10,"name":"Which symbol is used to begin all variables in PHP?","acceptedAnswer":{"@type":"Answer","text":"$"},"suggestedAnswer":[{"@type":"Answer","text":"&"},{"@type":"Answer","text":"!"}]}]}
Practice Test Geeks home

PHP Practice Test

What is the meaning of PHP?

Select your answer