Next: Operator Overloading, Up: (dir) [Contents]
This article explains how operator overloading works in PHP, and how to implement operator overloading in a PHP extension using C/C++.
Copyright © 2019 CismonX <admin@cismon.net>
This article is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
• Operator Overloading | What is operator overloading. | |
• Opcodes in PHP | Opcodes in the Zend implementation of PHP. | |
• Opcode Handlers | Handlers of PHP opcodes. | |
• Overloading Operators | How to overload PHP operators. | |
• Notes | Caveats and suggestions. | |
• Examples | Working examples of operator overloading. |
Next: Operator Overloading, Up: (dir) [Contents]