PHP-CPP to create a Complex class