PHP Tips

Object oriented introspection

  • property_exists(obj,prop_name)
  • method_exists(obj,method_name)
  • is_a(obj,’clas_name’) or ($obj instanceof ClassName)

Dynamic coding

varargs

About alex

Owner of this website...
This entry was posted in IT development, Linux, Web, Z1 and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *