Strings & Patterns Learning Mode

The requirement is to return true for the case in which a string $str contains another string $substr after the first character of $str? Which of the following will return true when string $str contains string $substr, but only after the first character of $str?

  1. <?php 
    function test($str, $substr) { 
      return strpos(substr($str,1), $substr) >= 0;
    } 
    ?> 
  2. <?php 
    function test($str, $substr) { 
     return strrchr($str, $substr) !== false;
    } 
    ?>
  3. <?php 
    function test($str, $substr) { 
     return strpos($str, $substr) > 0; 
    } 
    ?>