want to join us? register, it's easy | help

browse by tag: magic methods

sort by

newest, oldest, most popular

category icon

PHP Tutorial on Classes, Inheritance, Polymorphism, Magic Methods & Exceptions

in PHP added by sunilbhatia79, on 15/4/2009 Inheritance Polymorphism _get _set class exceptions magic methods php5

This link contains links on various PHP5 tutorials. I have spent a lot of time learning PHP5 concepts and wish to share my learnings with you all via my blog

comment save report
category icon

The Magic __set_state Method in PHP5

in PHP added by goodphptutorials, on 10/9/2006 __set_state advanced tutorials magic methods methods php5 set_state

It is fairly self-evident how to use most of the magic methods of PHP 5. However, it is not quite so apparent how to use the __set_state method introduced in PHP 5.1. In this article, Peter lavin delves into this elusive magic method to show you how to use this gem in some really 'classy' object oriented PHP.

comment save report