What function in PHP allows you to find the position of the first occurrence of a substring?
Correct Answer: strpos()
Explanation:
Note: This Question is unanswered, help us to find answer for this one
PHP Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More PHP MCQ Questions
PHP provides the goto in the latest version.
How do you connect mysql with the use of PHP5 new functions?
Which variable is not related to file upload?
What's the output sayHello($c);
$table = array('old_value'); foreach($table as $row) { $row='new_value'; } echo $table[0]; will produce:
What will show next code: $data = new stdClass; $data->var1 = 'word' $data->var2 = 'text' print_r( json_decode( json_encode($data), true ) );
What's the result of $b ? $a = 3; $b = &$a; $a = $a*4; echo $b;
What's the output? $array = array('dog','cat','pig'); $str = ' ' ; foreach($array as $value){ $value .= $value . $str; } print_r($array);;
What's the output? $a = true; var_dump($a);
In PHP, the die() and exit() functions do the exact same thing.