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!
When it comes to children, there’s one universal truth: the right toy can spark imagination, build skills, and make memories…
In today’s digital age, where screens and gadgets dominate our children’s lives, there’s something heartwarming about a well-loved plush toy…
In a world dominated by screens and fast-paced routines, it’s easy to forget the simple magic of a toy in…
In the heart of Delhi’s vibrant streets lies a world where imagination meets innovation — the magical universe of toys.…
When was the last time a toy truly amazed you—not just as a product, but as a thoughtful tool for…
In the digital age, the way we experience childhood has changed, but the essence remains the same—imagination, exploration, and joy.…