Working on a small extension for PHP using PHP-CPP, I receive at C++ side, an array with objects and I need retrieve the class name of it. The object Php::Value didn't looks like have any method for it.
Similar as i do at HNI in this extension: https://github.com/mcuadros/bson-hni/blob/master/src/encode.cpp#L86