...---- if (!(fullpath = expand_filepath(filepath, NULL TSRMLS_CC))) RETURN_FALSE; + #if PHP_API_VERSION < 20100412 if (PG(safe_mode) && (!php_checkuid(fullpath, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { efree(fullpath); RETURN_FALSE; } + #endif if (php_check_op...
...ref(NULL TSRMLS_CC, E_WARNING, "Unable to find the handle property"); + RETURN_FALSE; + } + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &boolset) == FAILURE) + return; + } + else { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rb", &object, &boolset) == FAILURE) + ...