Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87670 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96003 invoked from network); 6 Aug 2015 19:26:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Aug 2015 19:26:40 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.169 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.160.169 mail-yk0-f169.google.com Received: from [209.85.160.169] ([209.85.160.169:35566] helo=mail-yk0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AE/A3-00122-FE4B3C55 for ; Thu, 06 Aug 2015 15:26:39 -0400 Received: by ykcq64 with SMTP id q64so66228226ykc.2 for ; Thu, 06 Aug 2015 12:26:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=uVSWmf4pH4gQx9MrGCjetktHgNTr4/UAfWW3Mrg1s6A=; b=N7iRlfnhDGY5dLwh3mtvUdWs5O2brt+O+BrpbwQy8NC8y50GWMwl/FL1m+7kDNJ6+k TXMvzFYqrNe4gzY3WX9xsg+7WHgzjoRnucPBEU8KalRR2V3Oxf2UIrpMjjzJgGH4oCRE KJNlA8rM2EWEa7UrvymJ6tSU4oXcUab5N+qAbmcu7uSqo7o/c3b9sQVdQ2+/Od1HGK/4 dqEUf7bvqvBs9JlGeyS2sZZrYn6na7SOUHwLO0mPRxxv1DSUX+Oa1Jl5KXzvywA5jZzo HJ1D/X1YL0nec6G5LqKtujVZ3YOsvETff+id+5N1h4yae0CxTjjijprTFYftrDPixPgE R9Og== X-Received: by 10.13.233.133 with SMTP id s127mr3938608ywe.154.1438889196692; Thu, 06 Aug 2015 12:26:36 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.129.81.87 with HTTP; Thu, 6 Aug 2015 12:25:57 -0700 (PDT) Date: Fri, 7 Aug 2015 04:25:57 +0900 X-Google-Sender-Auth: aBVQ66L4utJlaxxdGD-nS_y85hQ Message-ID: To: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=94eb2c0736e470aa4e051ca97f20 Subject: zend_string or not? From: yohgaki@ohgaki.net (Yasuo Ohgaki) --94eb2c0736e470aa4e051ca97f20 Content-Type: text/plain; charset=UTF-8 Hi all, Is there zend_string usage guideline? I'm wondering if zend_string is used where it is appropriate. Once we release PHP7, adopting zend_string for PHPAPI functions become difficult. (We have to keep legacy API or it will be 3rd party module author's headache if we change this with minor version up.) Evaluation for all PHPAPI functions that have "char *" parameter is finished? If not, we are better to do this now at least for core functions. LXR output seems there are number of core functions that may use zend_string. http://lxr.php.net/search?q=PHPAPI&defs=&refs=&path=&hist=&project=PHP_TRUNK Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --94eb2c0736e470aa4e051ca97f20--