History log of /PHP-8.0/Zend/zend_operators.c (Results 226 – 250 of 631)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# c584798b 22-Oct-2014 Xinchen Hui

Useless assignment


# 089f4967 20-Oct-2014 Dmitry Stogov

Moved proxy object support in ASSIGN_ADD (and family) from VM to slow paths of corresponding operators


# c00424e4 15-Oct-2014 Anatol Belski

bring back all the TSRMLS_FETCH() stuff

for better comparability with the mainstream


# 06d0230a 26-Sep-2014 Anatol Belski

cleanup TSRMLS_FETCH


# c1e92d9f 25-Sep-2014 Anatol Belski

fix C89 compat


# d11734b4 25-Sep-2014 Anatol Belski

reworked the patch, less new stuff but worky

TLS is already used in TSRM, the way exporting the tsrm cache through
a thread local variable is not portable. Additionally, the current

reworked the patch, less new stuff but worky

TLS is already used in TSRM, the way exporting the tsrm cache through
a thread local variable is not portable. Additionally, the current
patch suffers from bugs which are hard to find, but prevent it to
be worky with apache. What is done here is mainly uses the idea
from the RFC patch, but

- __thread variable is removed
- offset math and declarations are removed
- extra macros and definitions are removed

What is done merely is

- use an inline function to access the tsrm cache. The function uses
the portable tsrm_tls_get macro which is cheap
- all the TSRM_* macros are set to placebo. Thus this opens the way
remove them later

Except that, the logic is old. TSRMLS_FETCH will have to be done once
per thread, then tsrm_get_ls_cache() can be used. Things seeming to be
worky are cli, cli server and apache. I also tried to enable bz2
shared and it has worked out of the box. The change is yet minimal
diffing to the current master bus is a worky start, IMHO. Though will
have to recheck the other previously done SAPIs - embed and cgi.

The offsets can be added to the tsrm_resource_type struct, then
it'll not be needed to declare them in the userspace. Even the
"done" member type can be changed to int16 or smaller, then adding
the offset as int16 will not change the struct size. As well on the
todo might be removing the hashed storage, thread_id != thread_id and
linked list logic in favour of the explicit TLS operations.

show more ...


# eabad90a 25-Sep-2014 krakjoe

fix indentation


# abdc8c30 25-Sep-2014 krakjoe

fix zts build


# 8b034ec6 25-Sep-2014 Dmitry Stogov

Optimized (PRE|POST)_(INC|DEC) handlers. Moved proxy object handling into helper function.


# e029042c 23-Sep-2014 Xinchen Hui

It is not likely a string


# 31e84247 19-Sep-2014 Nikita Popov

Make number printing functions less generic

Now that zend_ulong is 64bit on 64bit platforms, it should be
sufficient to always use it, rather than supporting multiple
types.

Make number printing functions less generic

Now that zend_ulong is 64bit on 64bit platforms, it should be
sufficient to always use it, rather than supporting multiple
types.

API changes:
* _zend_print_unsigned_to_buf and _zend_print_signed_to_buf
no longer exist.
* smart_str(ing)_print_long and smart_str(ing)_print_unsigned
no longer exist.
* Instead of all these, zend_print_ulong_to_buf and
zend_print_long_to_buf should be used.
* smart_str_append_generic_ex no longer exists.
* smart_str(ing)_append_off_t(_ex) no longer exists, use
smart_str(ing)_append_long(_ex) instead.

show more ...


# 3bc8a958 19-Sep-2014 Dmitry Stogov

Fixed useless or duplicated IS_INTERNED() checks


# db6306dd 18-Sep-2014 Dmitry Stogov

Split is_numeric_string_ex() into inline and non-inline parts


# be88d0e5 16-Sep-2014 Andrea Faulds

Use SIZEOF_ZEND_LONG instead of SIZEOF_LONG


# d17487f8 16-Sep-2014 Dmitry Stogov

We don't have to check for undefined CV if we fetch it for isset() operation


# 29397f8f 06-Sep-2014 Nikita Popov

Fix $x .= $x

Also add a nice comment pointing out that concat runs on magic.


# 828fe353 05-Sep-2014 Nikita Popov

Fix string increment


# 08ca9e6d 05-Sep-2014 Nikita Popov

Fix overflow check for string concatenation

Also do the overflow check for both branches, not just the realloc
one.

And clean up the code a bit - move common parts outside of th

Fix overflow check for string concatenation

Also do the overflow check for both branches, not just the realloc
one.

And clean up the code a bit - move common parts outside of the
realloc/alloc branches.

show more ...


# f915b440 04-Sep-2014 Nikita Popov

Remove old zend_string_to_double function


# d7700588 02-Sep-2014 Anatol Belski

use portable strtol


# b1f53ca4 27-Aug-2014 Dmitry Stogov

Use efree_size() instead of efree() where posible


# 28e7beea 25-Aug-2014 Nikita Popov

Fix zend_longo_str


# af59e92b 25-Aug-2014 Anatol Belski

master renames phase 7


# 455741fc 25-Aug-2014 Anatol Belski

master renames phase 4


# 4d997f63 25-Aug-2014 Anatol Belski

master renames phase 3


12345678910>>...26