Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:2420 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82483 invoked from network); 19 Jun 2003 12:32:42 -0000 Received: from unknown (HELO jdi.jdimedia.nl) (212.204.192.51) by pb1.pair.com with SMTP; 19 Jun 2003 12:32:42 -0000 Received: from jdi.jdimedia.nl (jdi.jdimedia.nl [212.204.192.51]) by jdi.jdimedia.nl (8.12.4/8.12.4) with ESMTP id h5JCWdUl021392; Thu, 19 Jun 2003 14:32:41 +0200 Date: Thu, 19 Jun 2003 14:32:39 +0200 (CEST) X-X-Sender: derick@jdi.jdimedia.nl To: Oriol cc: internals@lists.php.net In-Reply-To: <000d01c3365e$978b4b60$0601a8c0@pii> Message-ID: References: <000d01c3365e$978b4b60$0601a8c0@pii> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Easy question From: derick@php.net (Derick Rethans) Hi, On Thu, 19 Jun 2003, Oriol wrote: > How can I know if a user function exists? Must I use zend_hash_find()? > How? Yup, zend_hash_find on the function_table hash (check how function_exists (Zend/zend_builtin_functions.c) is implemented). regards, Derick -- "Interpreting what the GPL actually means is a job best left to those that read the future by examining animal entrails." ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ International PHP Magazine http://php-mag.net/ -------------------------------------------------------------------------