tags:

views:

59

answers:

2

Is it possible to overload the ==/!= operators in php, similar to the way it's done in .NET?

A: 

No, unfortunately you can't. You should create a class or member function.

Edit : oh, didn't know about this PECL package ! I should try it. :)

Pikrass