Question from the PHP7 test

Archived

Does this code make sense?

<?php

function hasResult($string, $search){
    return strpos($string, $search)!== false;
}
Author: Julien BreuxStatus: Archived(New question!)Question passed 901 times
2
Community EvaluationsNo one has reviewed this question yet, be the first!