Answers for "php check if a value exist"

PHP
0

check if value exists in object php

if (property_exists($ob, 'a'))
Posted by: Guest on July-29-2021
0

if exists in string php

if (strpos($search, ' -') !== false) {
  echo 'There is exclude pattern "-" in search expression';
}
Posted by: Guest on March-02-2022

Browse Popular Code Answers by Language