operator pecl.php.net Operator overloading for Objects Operator overloading for: +, -, *, /, %, **, <<, >>, ., |, &, ^, ~, !, ++, --, +=, -=, *=, /=, %=, **=, <<=, >>=, .=, |=, &=, ^=, ~=, ==, !=, ===, !==, <, <=, and <=> operators. Sara Golemon pollita pollita@php.net yes 2017-03-08 1.0 1.0 beta beta PHP * Rewrote for PHP7, dropped PHP5 support * Removed pre/post inc/dec support for objects in object properties (this will come back eventually) * Added pow, assign-pow, and spaceship operators 4.0.0 1.4.0b1 operator 2009-11-05 0.3 0.3 beta beta PHP * Added support for comparator ops Note: ZE treats > style comparisons as backwards < comparisons, so what looks like a left-associative greater than becomes a right-associative less-than. Because of this, overloading the > and >= operators for left-association requires application of a parser patch. 0.2 0.2 beta beta 2006-01-25 PHP * Added support for pre/post inc/dec operators * Added support for assignment operators * Refactored opline->result handling * Refactored opcode handlers 0.1 0.1 beta beta 2006-01-12 PHP Initial Release