PHP: ZEND_MOD_REQUIRED_EX - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ZEND_MOD_REQUIRED ZEND_MOD_OPTIONAL

Last updated: Sat, 27 Jan 2007

view this page in

# ZEND_MOD_REQUIRED_EX

ZEND_MOD_REQUIRED_EX -- Create a full dependency entry for the required version of an extension

## Описание

#include <zend_modules.h>

void ZEND_MOD_REQUIRED_EX ( char * name, char * rel, char * ver )

ZEND_MOD_REQUIRED_EX() generates a zend_module_dep entry for the extension named by `ext_name`, including version information. It allows to specify requirements like "up to version x.y", "starting with version x.y" or "exactly version x.y".

Внимание
Version specific comparisons are not implemented yet, so for now ZEND_MOD_REUQUIRE() and ZEND_MOD_REQUIRE_EX() define identical behavior.

## Список параметров

`name`

  Name of the required extension

`rel`

  Comparison operator, one of `eq`, `lt`, `le`, `gt`, or `ge`

`ver`

  Version string

## Возвращаемые значения

Code to register the required extension

## Смотрите также

See ZEND_MOD_REQUIRED() if you do not need to specify extension version requirements.

See also ZEND_MOD_OPTIONAL(), ZEND_MOD_OPTIONAL_EX(), ZEND_MOD_CONFLICTS(), and ZEND_MOD_CONFLICTS_EX().

add a note User Contributed Notes
ZEND_MOD_REQUIRED_EX
There are no user contributed notes for this page.
ZEND_MOD_REQUIRED ZEND_MOD_OPTIONAL

Last updated: Sat, 27 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST