This article explains how operator overloading works in PHP, and how to implement operator overloading in a PHP extension using C/C++.
Explains how PHP manages return value internally depending on whether or not it is used by the calling scope.
A new assertion is introduced in PHP 7.2, which helps enforcing copy-on-write of PHP arrays for PHP extension developers.
(Note: This blog post is outdated, as the issue is now fixed.) Explains why PHP's Fast Zend Parameter Parsing is incompatible with C++, and provides a simple workaroud.