Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:414 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94820 invoked from network); 28 Mar 2003 10:47:39 -0000 Received: from unknown (HELO nils.bezeqint.net) (192.115.106.38) by pb1.pair.com with SMTP; 28 Mar 2003 10:47:39 -0000 Received: from mr1.bezeqint.net (pip-17.bezeqint.net [192.115.106.17]) by nils.bezeqint.net (Bezeq International SMTP out Mail Server) with ESMTP id 6AFFB1691 for ; Fri, 28 Mar 2003 13:46:05 +0300 (IDT) Received: from mail.zend.com (bzq-117-235-230.cust.bezeqint.net [192.117.235.230]) by mr1.bezeqint.net (Mirapoint Messaging Server MOS 3.3.3-GR) with SMTP id AVI09108; Fri, 28 Mar 2003 13:47:30 +0300 (IDT) Received: (qmail 13954 invoked from network); 28 Mar 2003 10:47:21 -0000 Received: from localhost (HELO andi-laptop.zend.com) (127.0.0.1) by localhost with SMTP; 28 Mar 2003 10:47:21 -0000 Message-ID: <5.1.0.14.2.20030328124604.02ede168@127.0.0.1> X-Sender: andi@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 28 Mar 2003 12:48:01 +0200 To: moshe doron , internals@lists.php.net In-Reply-To: <027001c2f4a0$fe7461e0$b301000a@moshe> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] zend naming conflict From: andi@zend.com (Andi Gutmans) References: <027001c2f4a0$fe7461e0$b301000a@moshe> I have no problem with renaming our empty_string to zend_empty_string. The only problem is that it breaks the API. What do people think? I'm also considering removing empty_string completely but I still need to look through all of the code and try to evaluate the performance change due to it (We don't have to check each time we free a string if it's empty but on the other hand we use emalloc() to allocate empty strings). Andi At 10:39 PM 3/27/2003 +0200, moshe doron wrote: >shalom, > >i'm writing php extension for allegro >(http://www.talula.demon.co.uk/allegro/) that hopfeully 'll go somewhere >soon into pecl. allegro is cross platform grafix library so in addition to >the gaming capabilities, we have here chance using it as base to native php >gui. > >the problem i have is that both zend and allegro define empty_string. so i >had to replace zend & php empty_string into ze_empty_string. the >question are: >1. is used on so potential common name by zend is zend compatible naming >standards (if there are)? >2. is there any chance replacing the empty_string on zend & php core with >ze_empty_string or something other while defining something like: > >#ifndef ALREADY_HAVE_EMPTY_STRING >#define empty_string ze_empty_string >#endif > >for bc. > >thanx >moshe. >--- > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php