Basic PHP All classes in the same namespace or subnamespace don’t have to the declared in the same PHP file. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following code?function track() {static $count = 0;$count++;echo $count;}track();track();track(); 011 111 000 123 011 111 000 123 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of following variables can be assigned a value to it?1. $3hello2. $_hello3. $this4. $This 2 and 4 2, 3 and 4 All of the mentioned Only 2 2 and 4 2, 3 and 4 All of the mentioned Only 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is/are a PHP code editor?1. Notepad2. Notepad++3. Adobe Dreamweaver4. PDT Only 4 All of the mentioned Only 3 1, 2 and 3 Only 4 All of the mentioned Only 3 1, 2 and 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$team = "arsenal";switch ($team) {case "manu":echo "I love man u";case "arsenal":echo "I love arsenal";case "manc":echo "I love manc"; } I love arsenalI love mancI love manu Error I love arsenalI love manc I love arsenal I love arsenalI love mancI love manu Error I love arsenalI love manc I love arsenal ANSWER DOWNLOAD EXAMIANS APP
Basic PHP The value of __NAMESPACE__ is a string that contains the current namespace name. In global, un-namespaced code, it contains . . . . . . 0 gibberish value NULL an empty string 0 gibberish value NULL an empty string ANSWER DOWNLOAD EXAMIANS APP