Add Php::class_exists implementation.

Are you sure it will compile? `len` -- it is not a constant. In the original this is done a [little differently](https://github.com/php/php-src/blob/ccf863c8ce7e746948fb060d515960492c41ed27/Zend/zend_builtin_functions.c#L1246)