Programming - PHP
46.
Which function can be used to move the pointer to the previous element in the array ?
Answer
Answer :
Option C47.
________ statement is used to delete all the rows from the table, and not the table itself.
Answer
Answer :
Option C48.
Which one of the following regular expression matches any string containing zero or one x ?
Answer
The question mark (?) indicates zero or one occurrences of the preceding element. For example, colou?r matches both "color" and "colour".
Answer :
Option CExplanation :
The question mark (?) indicates zero or one occurrences of the preceding element. For example, colou?r matches both "color" and "colour".
49.
Which of following variables can be assigned a value to it ? - $1name
- $_name
- $this
- $This
Answer
A variable name cannot start with a number
$this is a special variable that can’t be assigned
Variable names are case sensitive so $This is a valid variable and can be assigned.
Answer :
Option DExplanation :
A variable name cannot start with a number
$this is a special variable that can’t be assigned
Variable names are case sensitive so $This is a valid variable and can be assigned.
Jump to page number :