Re: PHP 7 API naming conventions: str vs string
| From: | Julien Pauli | Date: | Mon, 05 Jan 2015 16:28:29 +0000 |
| Subject: | Re: PHP 7 API naming conventions: str vs string | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-80179@lists.php.net to get a copy of this message | ||
On Sun, Jan 4, 2015 at 1:57 AM, Sara Golemon <pollita@php.net> wrote:
> On Sat, Jan 3, 2015 at 3:42 PM, Nikita Popov <nikita.ppv@gmail.com> 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.
>
Yep I like explicitness as well, but I would be OK with str/cstr as well
Is the smart_str dealing with zend_string in PHP7 a naming joke or ?
This should obviously be fixed as well
Julien