Actually, that is the right list.  He is devloping a PHP extension in C
and want to know how to access one of the user-visible functions (trim)
from within his extension.  That's a very valid question for this list.

And yes, to answer the question, you can call php_trim2() directly from
your extension.  See the examples in ext/standard/string.c

-Rasmus

On 9 May 2002, Andrew Lindeman wrote:

> Wrong list. This is the development OF php not WITH php.  Please use
> php-general(@lists.php.net) for these sort of questions.
>
> --Andrew
>
> On Thu, 2002-05-09 at 15:40, Braulio José Solano Rojas wrote:
>
>     Hi!
>
>     I am developing an extension and I would like to use the trim function inside 
>one of my functions.
>
>     I have seen that I can do it calling the php_trim2 function.
>
>     Is this the appropriate way or is there another?
>
>     Let me know please.
>
>     Thanks.
>
>     - Braulio
>
>


--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to