Using more reliable zephir_get_numberval instead of zephir_get_doubleval