Php 1093 refactor cursor logic

Why not `RETVAL_ZVAL()`?