Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:2422 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23323 invoked from network); 19 Jun 2003 13:23:43 -0000 Received: from unknown (HELO anthill-ebsp.com) (212.7.38.16) by pb1.pair.com with SMTP; 19 Jun 2003 13:23:43 -0000 Received: (qmail 29468 invoked from network); 19 Jun 2003 13:19:26 -0000 Received: from 102.red-80-37-125.pooles.rima-tde.net (HELO pii) (tpetit@80.37.125.102) by mail.anthill-ebsp.com with SMTP; 19 Jun 2003 13:19:26 -0000 Message-ID: <001601c33665$fe667470$0601a8c0@pii> Cc: References: <000d01c3365e$978b4b60$0601a8c0@pii> Date: Thu, 19 Jun 2003 15:23:37 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: Another easy question From: omagrane@anthill.es ("Oriol") Thank you!! And... how could I know which PHP file is being executed and which line I'm on? Is there any simple way of getting it? Oriol ----- Original Message ----- From: "Derick Rethans" To: "Oriol" Cc: Sent: Thursday, June 19, 2003 2:32 PM Subject: Re: [PHP-DEV] Easy question > 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/ > ------------------------------------------------------------------------- > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >