strtolower() function will take string as input and converts all letter to lowercase letter, if that character is alphabetic.
This will return a lowercased string.
<?php $strExample = "An EXAMPLE of a strtolower() function."; echo strtolower($strExample); ?>
In above example ,We have a string ‘An EXAMPLE of a strtolower() function’. Now this function will converts every letter in a string to lowercase. See below is the output of above code.
<?php $strExample = "AN Example Of A strtolower() function WITH 789789."; echo strtolower($strExample); ?>
In above example ,We have a string ‘AN Example Of A strtolower() function WITH 789789.’. Now this function will converts every first letter in a string to lowercase, it will not do anything with numeric numbers. See below is the output of above code.
Find more PHP String Functions with examples PDF only at Tutorialmines now!
App usage is growing steadily without showing any signs of slowing down. Hence, it is no surprise that mobile applications…
As the world has grown more digital, businesses have adapted themselves. An effectual adaptation includes online advertising. Offline advertising styles…
Step into a world where apps dance to the user's tune. Picture Instagram, a photo-sharing sensation that swept the globe.…
COVID-19 has led to a digitalization of lifestyle. As patients are taking their mental and physical health more seriously, healthcare…
Introduction WordPress, an immensely popular content management system (CMS), powers over 40% of the internet. What makes WordPress even more…
For moving companies trying to capture their market share amidst stiff competition, a tip or two about what they can…