Another easy question

From: Date: Thu, 19 Jun 2003 13:23:37 +0000
Subject: Another easy question
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-2422@lists.php.net to get a copy of this message
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" <derick@php.net> To: "Oriol" <omagrane@anthill.es> Cc: <internals@lists.php.net> 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 > >

« previous php.internals (#2422) next »