<html lang="en">
<head>
<meta charset="utf-8">
<title>Passing the Third Parameter in PHP strchr() Function</title>
</head>
<body>
// Sample string
$str = "johnclark@mail.com";
// Searching for the substring
echo strchr($str, "@", true);
</body>
</html>