Home of web learners
www.webn3rd.com
PHP has function system to make function work in php
Function is something like that you need to capitalize word all time in a program,so you don't want to write same code for capitalize word,if there any system you just call this and give input text for capitalize word
So your work will less than before
By function,you can do it
As which function comes from php,you can not change them is called built in function
Lets look an example of builtin function
output:
Tree
So,here you see that first character of word is now capital letter,we use ucfirst function and this function task is to capitalize first character of word
This function comes from php,you don't have to create this,there are a lot of function from php,this type of function called builtin function
webn3rd.com