Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80132 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22362 invoked from network); 4 Jan 2015 00:57:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Jan 2015 00:57:19 -0000 Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.217.182 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.217.182 mail-lb0-f182.google.com Received: from [209.85.217.182] ([209.85.217.182:46254] helo=mail-lb0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 38/E1-11248-EEF88A45 for ; Sat, 03 Jan 2015 19:57:19 -0500 Received: by mail-lb0-f182.google.com with SMTP id f15so18273418lbj.13 for ; Sat, 03 Jan 2015 16:57:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=hX88I8v51o2kzY3u2CYb9FZCJKDbUNCvpwVychLGrFc=; b=holdIwXCHqS16F+9QBcWvvkBVGy5IOu9Q54FqiVfMcPc9vD5GPE8xjv/oQGBgRNGfO saQHtKNGaNGPRBnrytS9CKc0numKJXudbKRHOf9HDbrqJ9OtHuQwUSwf77yBOdX1Ccsk B27N561QdP6ypD76uLzW69TEoRUGM9m/LoVg8M8B329gh4sfaTChSxIPnwN88IQB7H1q YgcGEh3lEdMk8+nTOsQhLBWSDHS5THmCtmYTWT+6QFnyj9Mx1o0f8TVhcYM4/nMRjMca dZrmOxeAFQnD7jJ3GZNkWA8z11ElGbdVuie96iN3F/3OW6cQQ834M5bqW5s4DoQnS52d R/Pg== X-Gm-Message-State: ALoCoQkW+qt1wzRizbw1F9jQ9QsyxH1MbshwRx6+f+SY+jDYdvtBVghb2NLwtVqh8m/WgibVJ3mg MIME-Version: 1.0 X-Received: by 10.112.72.98 with SMTP id c2mr40792821lbv.95.1420333035737; Sat, 03 Jan 2015 16:57:15 -0800 (PST) Sender: php@golemon.com Received: by 10.112.171.97 with HTTP; Sat, 3 Jan 2015 16:57:15 -0800 (PST) X-Originating-IP: [69.63.185.56] In-Reply-To: References: Date: Sat, 3 Jan 2015 16:57:15 -0800 X-Google-Sender-Auth: H2yQGBdDIrrvZ5GeSc8zwk0vyTQ Message-ID: To: Nikita Popov Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] PHP 7 API naming conventions: str vs string From: pollita@php.net (Sara Golemon) On Sat, Jan 3, 2015 at 3:42 PM, Nikita Popov wrote: > Or maybe be more explicit and use "cstr" for C strings. (For symmetry the > zend_string type could become zstr.) > I personally prefer cstr/zstr for explicitness, but agree that the main focus should be consistency. -Sara And yes, the fact that smart_string deals with char* while smart_str deals with zstring, but smart_str used to be the char* API. That's a big bucket of clown.