R

Ram Sharma • 193.86K Points
Coach

Q. What will be the output of the following PHP code?

Code:
<?php
$str = "Hello, IncludeHelp";
$pattern = "/el/m";

echo preg_match($pattern, $str); 
?>
  • (A) 0
  • (B) 1
  • (C) 5
  • (D) 7
  • Correct Answer - Option(B)
  • Views: 105
  • Filed under category PHP

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics