How to Pass Optional Paramater to a Function in PHP
Submitted by nurhodelta_17 on Monday, April 16, 2018 - 00:58.
Code
For example you have a class named Textstyle with the ff functions.- Class Textstyle{
- public function toUpper($string = NULL){
- }
- }
Add new comment
- 47 views