Re: pif
| From: | Jeroen van Wolffelaar | Date: | Tue, 21 Aug 2001 22:45:57 +0000 |
| Subject: | Re: pif | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-64001@lists.php.net to get a copy of this message | ||
"Zeev Suraski" <zeev@zend.com> wrote in message
news:5.1.0.14.2.20010822013439.02e0c498@localhost...
> At 23:14 21-08-01, jeroen@php.net wrote:
> >What about using the pif_ prefix for php's internal functions,
analogously
> >to zif? This makes them more clear than the simple lack of PHP_API macro.
>
> This sentence does not compute :)
Damn, forgotten to dequeue this mail :(
anyway, I was thinking about helper-functions, which you only want to use
straight from an other function. Mostly this will be the set of functions
which are not PHP_FUNCTION or PHP_API.
A example in math.c:
_php_math_number_format -> pif_math_number_format
I was going to add some to rand.c. For example: pif_randmax_mt(), only used
by the php-api function php_randmax().
(the pif-function is in this case a macro -> bad example, but anyway...)
> Which functions are you talking about, and how does PHPAPI relate to them?
>
> Zeev
Jeroen