Today I found Getting Started with PHP Extension Development via PHP-CPP which talks about what it says on the label. But then some more searching revealed a more direct alternative: How to Create a PHP C Extension to Manipulate Arrays – Part 1: Basic Array Class Extension