Articles → PHP → Strchr Function In Php

Strchr Function In Php






Purpose





Example


<!DOCTYPE html>
<html>
	<body>
		<?php
echo strchr("strchr function is an alias of strstr function!","alias");
?>
	</body>
</html>



Output


Picture showing the output of strchr function in php
Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Monday, November 2, 2020

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250