History log of /PHP-7.4/Zend/zend_API.h (Results 151 – 175 of 520)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-5.5.21RC1, php-5.6.5RC1
# b7a7b1a6 03-Jan-2015 Stanislav Malyshev

trailing whitespace removal


Revision tags: POST_NATIVE_TLS_MERGE, PRE_NATIVE_TLS_MERGE, php-5.5.20, php-5.4.36, php-5.6.4
# 41e3fdba 15-Dec-2014 Andrea Faulds

Make zend_parse_parameters share fast zpp implementation where possible

Rename shared implementation functions and build them unconditionally

Don't fail on empty path for zend_parse

Make zend_parse_parameters share fast zpp implementation where possible

Rename shared implementation functions and build them unconditionally

Don't fail on empty path for zend_parse_arg_path

Update type names

Fix behaviour of by-reference "z"

Make 'o' use zend_parse_arg_object

Fix NULL string check in zend_parse_arg_path(_str)

show more ...


# b5b61767 22-Dec-2014 Xinchen Hui

Micro optimaztion (yeah, I know compiler supposed to do that)


# e5eb9530 14-Dec-2014 Andrea Faulds

Use "float" and "integer" in typehint and zpp errors


# bdeb220f 13-Dec-2014 Anatol Belski

first shot remove TSRMLS_* things


# 3893c1fc 12-Dec-2014 Dmitry Stogov

Fixed compilation warnings


# 5dd427ea 03-Dec-2014 Dmitry Stogov

Use zend_string* for op_array->arg_info[]->name and op_array->arg_info[]->class_name. For internal functions we still use char*.


# f90b877f 29-Nov-2014 Andrea Faulds

Refactor ZEND_LONG_MAX/MIN checks into ZEND_DOUBLE_FITS_LONG()


# d19ce518 29-Nov-2014 Andrea Faulds

Fixed copy-and-paste error


# 11384ba7 28-Nov-2014 Dmitry Stogov

Pack EX(num_args) into EX(This).u2.num_args


Revision tags: php-5.6.4RC1, php-5.5.20RC1, php-5.6.3, php-5.5.19, php-5.4.35, php-5.6.3RC1, php-5.5.19RC1
# f7d3355e 24-Oct-2014 Anatol Belski

fix datatype mismatches

and convert len args to size_t where the underlaying API uses zend_string


# f2279224 23-Oct-2014 Anatol Belski

move key lengths to use size_t as zend_string is used internally anyway


# a5e4f1f5 22-Oct-2014 Anatol Belski

fix several datatype mismatches


# 5e24ae32 22-Oct-2014 Anatol Belski

all the key_len use uint, fix the warning when using strlen on 64 bit


# cf5920e8 16-Oct-2014 Nikita Popov

Fix procedural finfo calls in methods

getThis() will return the $this of the calling method.


Revision tags: php-5.5.18, php-5.4.34
# c96a6b44 12-Oct-2014 Anatol Belski

DLL export several APIs needed for phpdbg


# df79b9b2 09-Oct-2014 Nikita Popov

Update get_class_name semantics

* get_class_name is now only used for displaying the class name
in debugging functions like var_dump, print_r, etc. It is no
longer used in get

Update get_class_name semantics

* get_class_name is now only used for displaying the class name
in debugging functions like var_dump, print_r, etc. It is no
longer used in get_class() etc.
* As it is no longer used in get_parent_class() the parent
argument is now gone. This also fixes incorrect parent classes
being reported in COM.
* get_class_name is now always required (previously some places
made it optional and some required it) and is also required
to return a non-NULL value.
* Remove zend_get_object_classname. This also fixes a number of
potential leaks due to incorrect usage of this function.

show more ...


# e5e9d834 09-Oct-2014 Nikita Popov

Remove zend_get_class_entry function


# bd9a2346 03-Oct-2014 Dmitry Stogov

Replaced EG(This) and EX(object) with EX(This).
Internal functions now recieves zend_execute_data as the first argument.


Revision tags: php-5.5.18RC1, php-5.6.1
# 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 ...


Revision tags: php-5.6.2
# 4db75dc8 22-Sep-2014 Anatol Belski

basic windows fix


# bb55397b 22-Sep-2014 Andrea Faulds

Make zpp fail if NaN passed for int, or out-of-range float for non-capping int


# b3aebda9 20-Sep-2014 krakjoe

native tls initial patch


Revision tags: php-5.4.33, php-5.5.17
# 993d4751 12-Sep-2014 Anatol Belski

fix condition

A char array like val[1] would always be valid when checking like
!val. Probably better were to check for ->len, but actually ->val[0]
is fine as the actual zend_string

fix condition

A char array like val[1] would always be valid when checking like
!val. Probably better were to check for ->len, but actually ->val[0]
is fine as the actual zend_string should have been initalized
before.

show more ...


# 5d5a7020 12-Sep-2014 Anatol Belski

reduce the struct size by 8 byte on 64 bit


12345678910>>...21