include string special in php

Solutions on MaxInterview for include string special in php by the best coders in the world

showing results for - "include string special in php"
Nico
30 Apr 2016
1
2<?php
3$string 'The lazy fox jumped over the fence';
4
5if (str_contains($string'lazy')) {
6    echo "The string 'lazy' was found in the string\n";
7}
8
9if (str_contains($string'Lazy')) {
10    echo 'The string "Lazy" was found in the string';
11else {
12    echo '"Lazy" was not found because the case does not match';
13}
14
15?>
16
17