Re: com php-src: Provide more macros for handling of interned strings: Zend/zend.h Zend/zend_API.c Zend/zend_builtin_functions.c Zend/zend_compile.c
Zend/zend_constants.c Zend/zend_execute.c Zend/zend_execute_API.c Zend/zend_language_scanner.c Zend/zend_language_scanner.l Zend/zend_operators.c
Zend/zend_string.h Zend/zend_variables.c Zend/zend_vm_def.h Zend/zend_vm_execute.h

From: Date: Fri, 13 Sep 2013 23:32:45 +0000
Subject: Re: com php-src: Provide more macros for handling of interned strings: Zend/zend.h Zend/zend_API.c Zend/zend_builtin_functions.c Zend/zend_compile.c
Zend/zend_constants.c Zend/zend_execute.c Zend/zend_execute_API.c Zend/zend_language_scanner.c Zend/zend_language_scanner.l Zend/zend_operators.c
Zend/zend_string.h Zend/zend_variables.c Zend/zend_vm_def.h Zend/zend_vm_execute.h
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-73192@lists.php.net to get a copy of this message
Hi!

On Sep 13, 2013 10:46 AM, "Nikita Popov" <nikic@php.net> wrote:
>
> Commit:    96b1c2145c2cd5e616dea191648c2d73af0239c9
> Author:    Nikita Popov <nikic@php.net>         Fri, 13 Sep 2013 18:45:02
+0200
> Parents:   d2950ac2791cd03559a58e78f5cd626283b9ee4d
> Branches:  master
>
> Link:
http://git.php.net/?p=php-src.git;a=commitdiff;h=96b1c2145c2cd5e616dea191648c2d73af0239c9
>
> Log:
> Provide more macros for handling of interned strings
>
>  * str_erealloc behaves like erealloc for normal strings, but will
>    use emalloc+memcpy for interned strings.
>  * str_estrndup behaves like estrndup for normal strings, but will
>    not copy interned strings.
>  * str_strndup behaves like zend_strndup for normal strings, but
>    will not copy interned strings.
>  * str_efree_rel behaves like efree_rel for normal strings, but
>    will not free interned strings.
>  * str_hash will return INTERNED_HASH for interned strings and
>    compute it using zend_hash_func for normal strings.

Can you notes in upgrading.internals please?

Thanks!


Thread (6 messages)

« previous php.cvs (#73192) next »