History log of /PHP-7.4/ext/standard/basic_functions.c (Results 201 – 225 of 1360)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 04c11f91 14-Dec-2014 Kalle Sommer Nielsen

Change is_long() to be an alias of is_integer()

@@ See internals: news.php.net/php.internals/79639
@@ Manual will be updated so that is_int() will be an alias of is_integer()
@@ I pi

Change is_long() to be an alias of is_integer()

@@ See internals: news.php.net/php.internals/79639
@@ Manual will be updated so that is_int() will be an alias of is_integer()
@@ I picked integer over int for consitentcy as we do not use str instead of string either

show more ...


# e112f6a0 14-Dec-2014 Anatol Belski

second shot on removing TSRMLS_*


# bdeb220f 13-Dec-2014 Anatol Belski

first shot remove TSRMLS_* things


# a5aae1b6 14-Nov-2014 Alexander Lisachenko

Fix incorrect argument reflection info for array_multisort()


# a023e032 14-Nov-2014 Alexander Lisachenko

Fix incorrect argument reflection info for array_multisort()


# 56fac96b 21-Nov-2014 Anatol Belski

partially fixed bug #66265

NTS mode should additionally use _putenv to satisfy libs like gettext
relying on _getenv. As _putenv isn't thread safe, it wouldn't bring
much for the TS m

partially fixed bug #66265

NTS mode should additionally use _putenv to satisfy libs like gettext
relying on _getenv. As _putenv isn't thread safe, it wouldn't bring
much for the TS mode as it would change locale across all the threads
and require locking to avoid random fails with concurrent _getenv
calls.

show more ...


# fdbfcc0b 29-Oct-2014 Anatol Belski

dll export APIs needed by phpdbg


# e91b669e 23-Oct-2014 Anatol Belski

catch up with the latest key length change


# a5e4f1f5 22-Oct-2014 Anatol Belski

fix several datatype mismatches


# c00424e4 15-Oct-2014 Anatol Belski

bring back all the TSRMLS_FETCH() stuff

for better comparability with the mainstream


# 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.


# 142a01db 28-Sep-2014 Nikita Popov

Fix a couple compile warnings


# 52fa3409 26-Sep-2014 krakjoe

remove fetches


# 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 ...


# b3aebda9 20-Sep-2014 krakjoe

native tls initial patch


# d0cb7153 19-Sep-2014 Johannes Schlüter

s/PHP 5/PHP 7/


# bccc6531 19-Sep-2014 Dmitry Stogov

Avoid double IS_INTERNED() check


# d41ac22a 17-Sep-2014 Anatol Belski

avoid strlen() usage in the loop


# e251ecb6 12-Sep-2014 Anatol Belski

fix possible null ptr deref


# 7ac5a36a 12-Sep-2014 Anatol Belski

fix possible nullptr derefrence


# e51677b2 02-Sep-2014 Dmitry Stogov

fixed reference counting


# 1670772d 02-Sep-2014 Dmitry Stogov

Avoid string duplication


# 88d7ca44 01-Sep-2014 Dmitry Stogov

Refactored INI subsystem to use zend_string* instead of char*


# 5270ee1a 01-Sep-2014 Tjerk Meesters

Making ini parser typed
- Added ZEND_INI_SCANNER_TYPED mode for parse_ini_string() and parse_ini_file()
- Added NULL_NULL token to separate it from BOOL_FALSE and BOOL_TRUE
- Added zend_i

Making ini parser typed
- Added ZEND_INI_SCANNER_TYPED mode for parse_ini_string() and parse_ini_file()
- Added NULL_NULL token to separate it from BOOL_FALSE and BOOL_TRUE
- Added zend_ini_copy_typed_value() function for zval initialisation
- Updated RETURN_TOKEN() to observe scanner_mode

show more ...


# 389d2859 28-Aug-2014 Andrea Faulds

Special-case aliases, add warning comments to implementations


12345678910>>...55