]>
granicus.if.org Git - php/log
Gabriel Caruso [Fri, 30 Mar 2018 20:44:31 +0000 (17:44 -0300)]
Report unknown variables passed to compact()
Robert Lu [Fri, 15 Jun 2018 06:08:49 +0000 (14:08 +0800)]
Fix bug #44217: Output after stdout/stderr closed cause immediate exit with status 0
We exit with status 255 instead.
Dmitry Stogov [Mon, 18 Jun 2018 08:21:23 +0000 (11:21 +0300)]
Fixed bug #76466 (Loop variable confusion)
Xinchen Hui [Mon, 18 Jun 2018 04:14:17 +0000 (12:14 +0800)]
Fixed typo
Xinchen Hui [Mon, 18 Jun 2018 04:14:00 +0000 (12:14 +0800)]
use defined macro
Xinchen Hui [Mon, 18 Jun 2018 03:33:48 +0000 (11:33 +0800)]
Fixed bug #76437 (token_get_all with TOKEN_PARSE flag fails to recognise close tag)
Stanislav Malyshev [Sun, 17 Jun 2018 23:43:46 +0000 (16:43 -0700)]
Merge branch 'PHP-7.2'
* PHP-7.2:
ICU 59+ requires C++11 and errors out without the option
Fix #76300 - Dont attempt to change visibility of a parent private
Stanislav Malyshev [Sun, 17 Jun 2018 23:42:49 +0000 (16:42 -0700)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
ICU 59+ requires C++11 and errors out without the option
Stanislav Malyshev [Sun, 17 Jun 2018 23:00:06 +0000 (16:00 -0700)]
ICU 59+ requires C++11 and errors out without the option
Pedro Magalhães [Thu, 3 May 2018 20:25:12 +0000 (21:25 +0100)]
Fix #76300 - Dont attempt to change visibility of a parent private
Stanislav Malyshev [Sun, 17 Jun 2018 22:47:03 +0000 (15:47 -0700)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix #76300 - Dont attempt to change visibility of a parent private
Stanislav Malyshev [Sun, 17 Jun 2018 22:26:42 +0000 (15:26 -0700)]
Merge branch 'pull-request/3233' into PHP-7.2
* pull-request/3233:
Fix #76300 - Dont attempt to change visibility of a parent private
Stanislav Malyshev [Sun, 17 Jun 2018 21:12:45 +0000 (14:12 -0700)]
Merge branch 'pull-request/3268'
* pull-request/3268:
Sync sysvsem and sysvshm versions in phpinfo
Stanislav Malyshev [Sun, 17 Jun 2018 21:11:07 +0000 (14:11 -0700)]
Merge branch 'pull-request/3295'
* pull-request/3295:
Remove old and unused warnings when building apache
Stanislav Malyshev [Sun, 17 Jun 2018 21:06:40 +0000 (14:06 -0700)]
Merge branch 'pull-request/3307'
* pull-request/3307:
Bump snmp extension version to PHP version
Stanislav Malyshev [Sun, 17 Jun 2018 21:05:01 +0000 (14:05 -0700)]
Merge branch 'pull-request/3296'
* pull-request/3296:
Bump fileinfo extension version to PHP release version
Stanislav Malyshev [Sun, 17 Jun 2018 20:54:04 +0000 (13:54 -0700)]
Merge branch 'pull-request/3304'
* pull-request/3304:
Bump intl extension version to PHP release version
Xinchen Hui [Sun, 17 Jun 2018 03:39:08 +0000 (11:39 +0800)]
only warning when the flag is true
Peter Kokot [Tue, 12 Jun 2018 18:01:37 +0000 (20:01 +0200)]
Remove old SVN keywords substitutions
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.
Peter Kokot [Tue, 12 Jun 2018 13:06:07 +0000 (15:06 +0200)]
Remove Git ident attribute from the iconv extension
Peter Kokot [Tue, 12 Jun 2018 14:09:30 +0000 (16:09 +0200)]
Remove SVN revision from phar phpinfo output
The SVN revision was utilized with Subversion. The Git ident
attribute applies only for particular file and since other core
extensions don't output this information anymore this patch
removes it from the phpinfo output to sync and make the phpinfo
core extensions more consistent.
Nikita Popov [Sun, 24 Sep 2017 13:24:51 +0000 (15:24 +0200)]
Fixed bug #75218
I've introduced a new CompileError type, from which ParseError
inherits. These errors are not parse errors in the narrow sense
of the term, even though they happen to be generated during
parsing in our implementation. Additionally reusing the ParseError
class for this purpose would change existing error messages (if
the exception is not caught) from a "Fatal error:" to a "Parse
error:" prefix, and also the error kind from E_COMPILE_ERROR to
E_PARSE.
Peter Kokot [Wed, 13 Jun 2018 08:05:40 +0000 (10:05 +0200)]
Remove old SVN keywords substitutions from the zip tests
David Carlier [Thu, 14 Jun 2018 20:17:25 +0000 (21:17 +0100)]
Add NEWS entries
[ci skip]
Tom Van Looy [Thu, 14 Jun 2018 20:04:30 +0000 (22:04 +0200)]
[ci skip] Mention new hrtime() in NEWS
Peter Kokot [Fri, 15 Jun 2018 10:55:21 +0000 (12:55 +0200)]
Bump snmp extension version to PHP version
This patch syncs the snmp extension to match it with the PHP release
version.
Xinchen Hui [Fri, 15 Jun 2018 09:21:59 +0000 (17:21 +0800)]
Remove assertion
Xinchen Hui [Fri, 15 Jun 2018 08:32:27 +0000 (16:32 +0800)]
Update NEWS
Xinchen Hui [Fri, 15 Jun 2018 08:31:58 +0000 (16:31 +0800)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fixed bug #76477 (Opcache causes empty return value)
Xinchen Hui [Fri, 15 Jun 2018 08:31:31 +0000 (16:31 +0800)]
Fixed bug #76477 (Opcache causes empty return value)
Anatol Belski [Fri, 15 Jun 2018 05:30:10 +0000 (07:30 +0200)]
[ci skip] Update NEWS
Victor Csiky [Wed, 30 May 2018 05:49:56 +0000 (07:49 +0200)]
Fixe bug #76386
..that is also a duplicate of #67122
Peter Kokot [Thu, 14 Jun 2018 03:20:14 +0000 (05:20 +0200)]
Bump fileinfo extension version to PHP release version
To sync core extensions and their versioning more the fileinfo extension
can be versioned same way as PHP releases.
Peter Kokot [Thu, 14 Jun 2018 21:35:29 +0000 (23:35 +0200)]
Bump intl extension version to PHP release version
This patch syncs and simplifies the intl core extension versioning
to match the PHP release version.
Nikita Popov [Thu, 14 Jun 2018 21:22:35 +0000 (23:22 +0200)]
Fix unspecialized executor
If we conditionally fetch a value, we also need to conditionally
free it.
Stanislav Malyshev [Thu, 14 Jun 2018 19:30:41 +0000 (12:30 -0700)]
Merge branch 'pull-request/3299'
* pull-request/3299:
Bump extension, module and PHP API numbers for 7.3
Jakub Zelenka [Thu, 14 Jun 2018 19:25:59 +0000 (20:25 +0100)]
Bump PHP_JSON_VERSION to 1.7.0
Michael Moravec [Thu, 14 Jun 2018 12:31:49 +0000 (14:31 +0200)]
Bump extension, module and PHP API numbers for 7.3
Peter Kokot [Thu, 14 Jun 2018 02:45:28 +0000 (04:45 +0200)]
Remove old and unused warnings when building apache
The configure script already warns users at the beginning with
unrecognized options warning so additional check is not required. These
sapis were also removed from the PHP core.
Dmitry Stogov [Wed, 13 Jun 2018 23:41:14 +0000 (02:41 +0300)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fixed invalid free introduced by
d6e81f0bfd0cb90586dd83d4fd47a4302605261a (avoid keeping "invalid" pointer)
Dmitry Stogov [Wed, 13 Jun 2018 23:40:59 +0000 (02:40 +0300)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed invalid free introduced by
d6e81f0bfd0cb90586dd83d4fd47a4302605261a (avoid keeping "invalid" pointer)
Dmitry Stogov [Wed, 13 Jun 2018 23:38:39 +0000 (02:38 +0300)]
Fixed invalid free introduced by
d6e81f0bfd0cb90586dd83d4fd47a4302605261a (avoid keeping "invalid" pointer)
Dmitry Stogov [Wed, 13 Jun 2018 23:34:17 +0000 (02:34 +0300)]
Avoid useless stream buffer copying and workaround with chunk_size manipulation.
Nikita Popov [Wed, 13 Jun 2018 21:48:37 +0000 (23:48 +0200)]
Merge branch 'PHP-7.2'
Nikita Popov [Wed, 13 Jun 2018 21:48:28 +0000 (23:48 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Wed, 13 Jun 2018 21:47:20 +0000 (23:47 +0200)]
Make $locale parameter to BreakIterator ctors optional
It's documented as such and already accepts null.
Dmitry Stogov [Wed, 13 Jun 2018 15:26:48 +0000 (18:26 +0300)]
php_json_escape_string() optimization
Christoph M. Becker [Wed, 13 Jun 2018 14:10:08 +0000 (16:10 +0200)]
erealloc() is infallible
Markus Staab [Wed, 13 Jun 2018 10:27:57 +0000 (12:27 +0200)]
emalloc never returns null
Peter Kokot [Wed, 13 Jun 2018 07:56:32 +0000 (09:56 +0200)]
Remove old SVN keywords substitutions from xsl and sockets tests
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 the xsl
and sockets extensions tests files.
Dmitry Stogov [Wed, 13 Jun 2018 09:39:56 +0000 (12:39 +0300)]
emalloc() never returns NULL
Xinchen Hui [Wed, 13 Jun 2018 08:41:51 +0000 (16:41 +0800)]
Added num_roots to gc_status
Dmitry Stogov [Wed, 13 Jun 2018 08:28:24 +0000 (11:28 +0300)]
Removed "gc_" prefix.
Dmitry Stogov [Wed, 13 Jun 2018 08:10:17 +0000 (11:10 +0300)]
Allow access to some garbage collection internals (Benjamin Eberlei)
Xinchen Hui [Wed, 13 Jun 2018 07:06:51 +0000 (15:06 +0800)]
Fixed bug #76446 (zend_variables.c:73: zend_string_destroy: Assertion `!(zval_gc_flags((str)->gc)).
Jakub Zelenka [Tue, 12 Jun 2018 17:11:20 +0000 (18:11 +0100)]
Merge branch 'PHP-7.2'
Jakub Zelenka [Tue, 12 Jun 2018 17:09:27 +0000 (18:09 +0100)]
Port FPM test 023 and 024 to the new FPM testing
Jakub Zelenka [Tue, 12 Jun 2018 17:04:30 +0000 (18:04 +0100)]
Merge branch 'PHP-7.2'
Jakub Zelenka [Tue, 12 Jun 2018 17:03:01 +0000 (18:03 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
Jakub Zelenka [Thu, 7 Jun 2018 16:21:54 +0000 (17:21 +0100)]
Rewrite FPM tests
Anatol Belski [Tue, 12 Jun 2018 16:08:24 +0000 (18:08 +0200)]
[ci skip] Update NEWS
Anatol Belski [Tue, 12 Jun 2018 16:08:05 +0000 (18:08 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
[ci skip] Update NEWS
[ci skip] Update NEWS
Anatol Belski [Tue, 12 Jun 2018 16:07:35 +0000 (18:07 +0200)]
[ci skip] Update NEWS
Anatol Belski [Tue, 12 Jun 2018 16:07:11 +0000 (18:07 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
[ci skip] Update NEWS
Anatol Belski [Tue, 12 Jun 2018 16:06:41 +0000 (18:06 +0200)]
[ci skip] Update NEWS
Anatol Belski [Tue, 12 Jun 2018 13:31:49 +0000 (15:31 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fixed bug #76462 Undefined property: DateInterval::$f
Anatol Belski [Tue, 12 Jun 2018 13:31:01 +0000 (15:31 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed bug #76462 Undefined property: DateInterval::$f
Anatol Belski [Tue, 12 Jun 2018 13:30:14 +0000 (15:30 +0200)]
Fixed bug #76462 Undefined property: DateInterval::$f
Xinchen Hui [Tue, 12 Jun 2018 12:55:06 +0000 (20:55 +0800)]
Fixed bug #76463 (var has array key type but not value type)
Tom Van Looy [Fri, 8 Jun 2018 21:17:34 +0000 (23:17 +0200)]
Enable HRTime on OpenBSD
OpenBSD has clock_gettime() so this will work. They have _POSIX_TIMERS on -1 in
unistd because they don't have per-process timers.
Remi Collet [Tue, 12 Jun 2018 07:36:31 +0000 (09:36 +0200)]
NEWS
Remi Collet [Tue, 12 Jun 2018 07:36:14 +0000 (09:36 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
NEWS
Add OPSYS_CPM constant as documented and to match libzip naming
Remi Collet [Tue, 12 Jun 2018 07:35:52 +0000 (09:35 +0200)]
NEWS
Remi Collet [Tue, 12 Jun 2018 07:31:41 +0000 (09:31 +0200)]
Add OPSYS_CPM constant as documented and to match libzip naming
Xinchen Hui [Tue, 12 Jun 2018 01:40:34 +0000 (09:40 +0800)]
supplemental fix for bug #76427
there are two parts to make this problem visible , the first is
our new gc new freeing zvals in an opposite direction(compare to 7.2)
the second is zend_object_store_del doesn't check IS_VALID since 7.3
(using assertion instead)
Nikita Popov [Mon, 11 Jun 2018 18:24:36 +0000 (20:24 +0200)]
Update data tables for Unicode 11
Nikita Popov [Mon, 11 Jun 2018 13:26:19 +0000 (15:26 +0200)]
Remove dead code for ADD_STRING/ADD_CHAR optimization
These opcodes don't exist anymore. The modern equivalent would be
the ROPE_* opcodes. However the code would have to be different
anyway.
Anatol Belski [Mon, 11 Jun 2018 15:44:06 +0000 (17:44 +0200)]
Skip tests when Oniguruma is disabled
Anatol Belski [Mon, 11 Jun 2018 15:43:29 +0000 (17:43 +0200)]
Fix mbstring fallback when --disable-mbregex used
Xinchen Hui [Mon, 11 Jun 2018 13:10:13 +0000 (21:10 +0800)]
Correct NEWS
Xinchen Hui [Mon, 11 Jun 2018 13:01:10 +0000 (21:01 +0800)]
Merge branch 'master' of git.php.net:/php-src
* 'master' of git.php.net:/php-src:
Remove inappropriate FreeLibrary calls
Remove inappropriate FreeLibrary call
The ZEND_EXTENSION change is merged with xdebug now so we can drop this for master only
Fixed bug #76443 (php+php_interbase.dll crash on module_shutdown)
Xinchen Hui [Mon, 11 Jun 2018 13:00:09 +0000 (21:00 +0800)]
Fixed bug #76427 (Segfault in zend_objects_store_put)
Anatol Belski [Mon, 11 Jun 2018 11:53:17 +0000 (13:53 +0200)]
Remove inappropriate FreeLibrary calls
Anatol Belski [Mon, 11 Jun 2018 11:51:56 +0000 (13:51 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Remove inappropriate FreeLibrary call
Anatol Belski [Mon, 11 Jun 2018 11:49:42 +0000 (13:49 +0200)]
Remove inappropriate FreeLibrary call
Kalle Sommer Nielsen [Mon, 11 Jun 2018 11:34:20 +0000 (13:34 +0200)]
The ZEND_EXTENSION change is merged with xdebug now so we can drop this for master only
Kalle Sommer Nielsen [Mon, 11 Jun 2018 09:50:39 +0000 (11:50 +0200)]
Fixed bug #76443 (php+php_interbase.dll crash on module_shutdown)
Peter Kokot [Sun, 10 Jun 2018 18:42:57 +0000 (20:42 +0200)]
Remove revision from OCI8 extension
The revisions were used in SVN. Other core extensions don't
provide this information in the phpinfo output anymore so
this patch removes it from the OCI8 info output to make it
consistent with other extensions.
Tyson Andre [Sat, 9 Jun 2018 22:54:22 +0000 (15:54 -0700)]
Fix the Z_IMMUTABLE macro - '(' was mismatched
The macro properly has two matching `(` and `)` symbols
after this change.
This typo was causing syntax errors when compiling extensions
using the (deprecated) macro.
This fixes a bug in the PHP 7.3 branch introduced by
742d5a01ed5bd39a18929c04a5f5c5596a4b005b
Nikita Popov [Sun, 10 Jun 2018 19:21:29 +0000 (21:21 +0200)]
Merge branch 'PHP-7.2'
Nikita Popov [Sun, 10 Jun 2018 19:21:11 +0000 (21:21 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Sat, 9 Jun 2018 09:04:40 +0000 (11:04 +0200)]
Fix mysqlnd build without openssl
Cherry-pick of
968eb0b38cc9095d418beb8f0df08c4b9abdb079 , as these
changes were also introduced in lower branches.
Jakub Zelenka [Sun, 10 Jun 2018 13:34:23 +0000 (14:34 +0100)]
Merge branch 'PHP-7.2'
Jakub Zelenka [Sun, 10 Jun 2018 13:33:28 +0000 (14:33 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
Christoph M. Becker [Sat, 9 Jun 2018 22:33:42 +0000 (00:33 +0200)]
Deprecate image2wbmp()
According to https://wiki.php.net/rfc/image2wbmp, we deprecate
`image2wbmp()`, rename the `$threshold` parameter to `$foreground`, and
remove superfluous code.
Nikita Popov [Sat, 9 Jun 2018 22:09:11 +0000 (00:09 +0200)]
Optimizer: Don't propagate constants into MAKE_REF
This occurs in Zend/tests/assign_ref_error_var_handling.phpt,
added in
95a07099359a91b81964565703a0991a55fb6889 .
Christoph M. Becker [Sat, 9 Jun 2018 20:36:35 +0000 (22:36 +0200)]
[ci skip] Update NEWS
Cf. https://github.com/php/php-src/commit/
3fdde65617e9f954e2c964768aac8831005497e5
Nikita Popov [Sat, 9 Jun 2018 19:28:30 +0000 (21:28 +0200)]
Fix handling of ERROR zval in op1 of ASSIGN_REF
If op1 is ERROR the behavior is to not perform any assignment and
return NULL. However, if the RHS was a by-value returning function,
we'd instead emit a notice and return the RHS as the return value
(even though the value was not assigned to anything -- the temporary
is immediately destroyed).
This normalized the behavior to always check for an ERROR in op1
first.
Anatol Belski [Sat, 9 Jun 2018 18:59:41 +0000 (20:59 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix test portability
Anatol Belski [Sat, 9 Jun 2018 18:57:17 +0000 (20:57 +0200)]
Fix test portability