MCQs>IT & Programming>Regular Expressions With PHP Test>Analyze the following code snippet that uses the preg_quote() PHP Regular Expression method: < ?php $keywords = '$40 for a g3/400'; $keywords = preg_quote($keywords, '/'); echo $keywords; ?> What will be the output of the above code?
Regular Expressions With PHP Test MCQs
Analyze the following code snippet that uses the preg_quote() PHP Regular Expression method:
<?php
$keywords = '$40 for a g3/400';
$keywords = preg_quote($keywords, '/');
echo $keywords;
?>
What will be the output of the above code?
Answer
Correct Answer: \$40 for a g3\/400
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Regular Expressions With PHP Test Skill Assessment