MCQs > IT & Programming > PHP > What will be the output: preg_match( '@^(?:http://)?([^/]+)@i', 'http://www.php.net/index.html', $matches ); $match = $matches[1]; echo $match;

PHP MCQs

What will be the output: preg_match( '@^(?:http://)?([^/]+)@i', 'http://www.php.net/index.html', $matches ); $match = $matches[1]; echo $match;

Answer

Correct Answer: www.php.net

Explanation:

Note: This Question is unanswered, help us to find answer for this one

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it