1.

What is the use of ctype_upper() in PHP?

Answer»

The ctype_upper() function in PHP used to check EVERY and each and every personality of a given string is in uppercase or not. If the string in the top case then it RETURNS TRUE otherwise returns False. 99. What are the difference between self and $this in PHP?

self$this
The “self” COMMAND can be used as a static function.The $this command cannot be used as a static function.
Self:: is used to access class variables and other methodsThe $this-> is used to access class variables and methods within.
It does not need an instantiated object.It does need an instantiated object.


Discussion

No Comment Found