Re: Pointers to understanding code base
| From: | Lester Caine | Date: | Sat, 07 Feb 2015 12:12:32 +0000 |
| Subject: | Re: Pointers to understanding code base | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-82093@lists.php.net to get a copy of this message | ||
Try again ... last attempt just vanished :(
On 07/02/15 10:30, Benjamin Eberlei wrote:
> I hope this is the right pointer.
>
> The String API changed completely in ZE3, see the Upgrading docs to PHPNG:
>
> https://wiki.php.net/phpng-upgrading#strings
>
> It takes much time wrapping your head around this new way, but I think
> in the end its better than before.
I've tried to work through that, but
> Not all of the extensions code have to be converted to use zend_string instead of char*.
> It's up to extensions maintainer to decide which type is more suitable in each particular case.
>
does not help if one does not know how one decides ...
The main problem is that the smart_string section seems to have an
identity crisis? smart_str is till being used in the exmples. Any reaon
for that?
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk