summaryrefslogtreecommitdiff
path: root/main
Commit message (Collapse)AuthorAgeFilesLines
* Update versions for PHP 7.3.0beta3php-7.3.0beta3Christoph M. Becker2018-08-281-2/+2
|
* Update API version numbersChristoph M. Becker2018-07-311-1/+1
| | | | These are supposed to be final now for PHP 7.3.
* Removed useless IS_UNDEF checksDmitry Stogov2018-07-311-2/+2
|
* Replace obsolete AC_STRUCT_ST_BLKSIZE and AC_STRUCT_ST_RDEVPeter Kokot2018-07-291-2/+2
| | | | | | | | | | | | | | | | | | Autoconf 2.50 released in 2001 has made several macros obsolete. Instead of the AC_STRUCT_ST_BLKSIZE and AC_STRUCT_ST_RDEV the new AC_CHECK_MEMBERS should be used. When checking for the presence of stat struct members st_blkzize and st_rdev the new AC_CHECK_MEMBERS macro defines new constants HAVE_STRUCT_STAT_ST_BLKSIZE and HAVE_STRUCT_STAT_ST_RDEV. Old constants HAVE_ST_BLKSIZE and HAVE_ST_RDEV need to be replaced respectively in PHP code (this patch) and in PHP extenstions if they use them. PHP 5.4 to 7.1 require Autoconf 2.59+ version, PHP 7.2 and above require 2.64+ version, and the PHP 7.2 phpize script requires 2.59+ version which are all greater than above mentioned 2.50 version.
* Fix typos in code commentsPeter Kokot2018-07-252-2/+2
|
* Remove unused Git attributes identPeter Kokot2018-07-2567-135/+0
| | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* Rename none syslog.filter to all and update ini descriptionJakub Zelenka2018-07-223-5/+5
|
* Add syslog.filter INI for filtering syslog messagesPhilip Prindeville2018-07-224-2/+44
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* Fix #33502: Some nullary functions don't check the number of argumentsChristoph M. Becker2018-07-121-0/+4
| | | | | | | | | | | | | | We add the missing zend_parse_parameters_none() checks for: * output_reset_rewrite_vars() * func_num_args() * gc_status() * gc_disable() * gc_enable() * gc_enabled() * gc_collect_cycles() * gc_mem_caches() * zend_version()
* Fixed bug #76136 (stream_socket_get_name enclosed IPv6 in brackets)seliver2018-07-071-1/+1
| | | | | | The IPv6 IP of a socket is provided by inet_ntop() as a string, but this function doesn't enclose the IP in brackets. This patch adds them in the php_network_populate_name_from_sockaddr() function.
* Use zval_ptr_dtor() instead of zval_dtor() in internal functions that ↵Dmitry Stogov2018-07-051-1/+1
| | | | destroy new created object (This is safer and produces less code)
* Fixed bug #62596 add getallheaders (apache_request_headers) missing function ↵Remi Collet2018-07-052-0/+51
| | | | in FPM add sapi_add_request_header in public API (was add_request_header) fix arginfo for fastcgi_finish_request fucntion
* Replace legacy zval_dtor() by zval_ptr_dtor_nogc() or even more specialized ↵Dmitry Stogov2018-07-043-21/+21
| | | | | | | destructors. zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places. Its occurances should be replaced by zval_ptr_dtor() or zval_ptr_dtor_nogc(), or even more specialized destructors.
* Add syslog's ident and facility parameters to configPhilip Prindeville2018-07-014-0/+164
| | | | Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* Remove unnecessary uses of z/ parametersNikita Popov2018-06-251-1/+1
|
* Remove old SVN keywords substitutionsPeter Kokot2018-06-161-2/+0
| | | | | | | | When the PHP source code was versioned in Subversion, there was possible to substitute certain keywords such as $Id$ with revision number, last change time and author name. Such approach is not used in Git so this patch removes these outdated artifacts from source code files.
* Bump extension, module and PHP API numbers for 7.3Michael Moravec2018-06-141-1/+1
|
* Avoid useless stream buffer copying and workaround with chunk_size manipulation.Dmitry Stogov2018-06-141-1/+3
|
* Fixed bug #76422 ftruncate fails on files > 2GBAnatol Belski2018-06-091-0/+22
|
* Added parenthesesDmitry Stogov2018-06-061-1/+1
|
* Fix warning unused variable retPeter Kokot2018-06-021-2/+0
|
* Removed "dead" code (zend_hash_update() never fails)Dmitry Stogov2018-06-013-17/+10
|
* Removed useless zval_ptr_dtor()Dmitry Stogov2018-05-291-17/+16
|
* Use zend_string_release_ex() instread of zend_string_release() in places, ↵Dmitry Stogov2018-05-2814-31/+31
| | | | where we sure about string persistence.
* Avoid useless checks, using zend_string_efree(), in cases where the string ↵Dmitry Stogov2018-05-081-2/+2
| | | | is known to be a temporary allocated zend_string.
* zend_fcall_info_cache.calling_scope is not used by zend_call_function() and ↵Dmitry Stogov2018-05-031-1/+0
| | | | | | doesn't have to be initialized. It's used only as a result of zend_is_callable() in forward_static_call and spl_autoload.
* Don't store values of PHP_SAPI and PHP_BINARY in file cache, because it may ↵Dmitry Stogov2018-04-281-3/+3
| | | | be used by different SAPI.
* Merge branch 'PHP-7.2'Nikita Popov2018-03-231-0/+4
|\
| * main/php_ini.c: build empty php_load_zend_extension_cb() when !HAVE_LIBDLThomas Petazzoni2018-03-231-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 0782a7fc6314c8bd3cbfd57f12d0479bf9cc8dc7 ("Fixed bug #74866 extension_dir = "./ext" now use current directory for base") modified the php_load_zend_extension_cb() function to use php_load_shlib(), and pass a handle to the newly introduced zend_load_extension_handle() function instead of passing the extension path to zend_load_extension(). While doing so, it introduced a call to php_load_shlib() from code that is built even when HAVE_LIBDL is not defined. However, php_load_shlib() is not implemented when HAVE_LIBDL is not defined, for obvious reasons. It turns out that zend_load_extension_handle() anyway doesn't do anything when ZEND_EXTENSIONS_SUPPORT is defined to 0, and ZEND_EXTENSIONS_SUPPORT is not defined when HAVE_LIBDL is not defined (Zend/zend_portability.h). Fixes the following build failure when building on a system that doesn't have libdl: main/php_ini.o: In function `php_load_zend_extension_cb': php_ini.c:(.text+0x478): undefined reference to `php_load_shlib' php_ini.c:(.text+0x4b0): undefined reference to `php_load_shlib' collect2: error: ld returned 1 exit status Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * next is 7.2.5Remi Collet2018-03-131-3/+3
| |
* | Merge branch 'PHP-7.2'Anatol Belski2018-03-071-2/+2
|\ \ | |/ | | | | | | * PHP-7.2: Guard platform dependent code
| * Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2018-03-071-2/+2
| |\ | | | | | | | | | | | | * PHP-7.1: Guard platform dependent code
| | * Guard platform dependent codeAnatol Belski2018-03-071-2/+2
| | |
| | * bump versionsJoe2018-02-131-3/+3
| | |
| * | Now working on 7.2.4-devSara Golemon2018-02-131-3/+3
| | |
* | | Use int instead of integer in protoGabriel Caruso2018-02-021-1/+1
| | |
* | | Add RtlSecureZeroMemory to explicit_bzero() compile caseAnatol Belski2018-01-261-0/+2
| | | | | | | | | | | | | | | | | | just in case one would use the function directly. The use of ZEND_SECURE_ZERO could be eliminated now, too. Or it can be kept for BC.
* | | Remove padding just merged since 7.3 isn't released yet.Sara Golemon2018-01-232-6/+1
| | | | | | | | | | | | Also bump PHP_API_VERSION since the struct size has changed.
* | | Merge branch 'PHP-7.2'Sara Golemon2018-01-231-0/+5
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: Fix alignment of PG struct cause by ignore_user_abort big endian fix
| * | Merge branch 'PHP-7.1' into PHP-7.2Sara Golemon2018-01-231-0/+5
| |\ \ | | |/ | | | | | | | | | * PHP-7.1: Fix alignment of PG struct cause by ignore_user_abort big endian fix
| | * Fix alignment of PG struct cause by ignore_user_abort big endian fixSara Golemon2018-01-231-0/+5
| | |
* | | Merge branch 'PHP-7.2'Sara Golemon2018-01-231-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: BigEndian fix for ignore_user_abort. Use zend_bool to match OnUpdateBool
| * | Merge branch 'PHP-7.1' into PHP-7.2Sara Golemon2018-01-231-1/+1
| |\ \ | | |/ | | | | | | | | | * PHP-7.1: BigEndian fix for ignore_user_abort. Use zend_bool to match OnUpdateBool
| | * BigEndian fix for ignore_user_abort. Use zend_bool to match OnUpdateBoolSara Golemon2018-01-231-1/+1
| | |
| | * 7.0.15 nextAnatol Belski2018-01-161-3/+3
| | |
| | * year++Xinchen Hui2018-01-0268-68/+68
| | |
| | * bump versionskrakjoe2017-12-051-3/+3
| | |
| * | next is 7.2.3Remi Collet2018-01-161-3/+3
| | |
| * | year++Xinchen Hui2018-01-0267-67/+67
| | |
* | | NetBSD has its own unoptimizable memset version since 2013David Carlier2018-01-191-1/+3
| | | | | | | | | | | | checking presence of the function if older versions of NetBSD