Re: [PHP-DEV] How may I use trim?
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
Re: [PHP-DEV] How may I use trim?
Hi, He's on the right list . . . - Markus On Thu, May 09, 2002 at 04:11:39PM -0500, 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 -- Please always Cc to me when replying to me on the lists. GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc I'm not stupid, you know? :) - Jani Taskinen -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] How may I use trim?
On Thu, May 09, 2002 at 04:11:39PM -0500, Andrew Lindeman wrote: [Message reformated due to evil top-posting; don't do that] 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? Wrong list. This is the development OF php not WITH php. Please use php-general(@lists.php.net) for these sort of questions. Actually, unless I'm misreading the original question, he wants to know how to call a function from one extenion inside of another (from C-land). -- Jon Parise ([EMAIL PROTECTED]) . Information Technology (2001) http://www.csh.rit.edu/~jon/ : Computer Science House Member -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] How may I use trim?
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
Re: [PHP-DEV] How may I use trim?
My fault. I apologize. I was doing a bunch of stuff at the time, and just skimmed the message. Sorry to all --Andrew On Thu, 2002-05-09 at 16:23, Rasmus Lerdorf wrote: This message uses a character set that is not supported by the Internet Service. To view the original message content, open the attached message. If the text doesn't display correctly, save the attachment to disk, and then open it using a viewer that can display the original character set. message.txt Received: from christine.ca (user-112vvrt.biz.mindspring.com [66.47.255.125]) by exchange01.madisoncity.k12.al.us with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id JSBMC9YG; Thu, 9 May 2002 16:21:07 -0500 Received: from localhost (IDENT:rasmus@localhost [127.0.0.1]) by christine.ca (8.11.6/8.11.6) with ESMTP id g49LNQq04900; Thu, 9 May 2002 14:23:26 -0700 Date: Thu, 9 May 2002 14:23:26 -0700 (PDT) From: Rasmus Lerdorf [EMAIL PROTECTED] X-X-Sender: [EMAIL PROTECTED] To: Andrew Lindeman [EMAIL PROTECTED] cc: Braulio =?ISO-8859-1?Q?Jos=E9?= Solano Rojas [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [PHP-DEV] How may I use trim? In-Reply-To: 1020978700.2509.4.camel@linuxbox Message-ID: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE 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=E9 Solano Rojas wrote: Hi! I am developing an extension and I would like to use the trim functio= n 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