at 8:08 PM

Using keyword as method in PHP

As we know, we can't use keyword like if, while in common language programming as function, method or variables, neither does in PHP Programming. Last time, i agree with this condition, but when i learn about Object Oriented Programming i found a way how to make this is possible, i've got a trick how to make keyword as a method or function (as a variable we can do that easily) in PHP Programming.

How to do that?
In PHP Programming there a feature in OOP, as known as with magic method, with this feature we can do a "magic" in PHP. For completed information about it you can click that link.


Keyword as Function.

Tulis Komentar dengan akun Facebook Anda.