]>
granicus.if.org Git - php/log
Jim Zubov [Tue, 7 Feb 2017 15:51:09 +0000 (10:51 -0500)]
Alignment fix, as per @nikic
Jim Zubov [Tue, 7 Feb 2017 14:19:16 +0000 (09:19 -0500)]
The test scripts bug64720.phpt and bug68652.phpt were relying on the buggy behavior,
when PHP returns "Undefined static property" error due to class entry corruption.
With my fix for bug 74053, both tests return no errors now, I corrected the EXPECTF accordingly
[Anybody please advice if I'm wrong?]
Also created bug74053.phpt, for the code I mentioned in the bug description
Jim Zubov [Mon, 6 Feb 2017 23:05:34 +0000 (18:05 -0500)]
Bug Fix:
Corrupted class entries on shutdown when a destructor spawns another object
(C) 2017 CommerceByte Consulting
When zend_objects_store_call_destructors() is called from the shutdown sequence -
it's calling the dtor's for remaining objects one by one in sequence of object handles.
If the dtor spawns one or more objects, and the new objects happen to reuse the old handles -
their dtor's are not called in this cycle.
The dtor's are called later on, when zend_deactivete() kicks in, and the static property lists in the class entries are freed.
This causes "Undefined static property" errors, and/or SIGSEGV.
Solution:
zend_object_store.no_reuse field is added
Set to 0 on initialization, set to 1 on the shutdown sequence.
zend_objects_store_put(zend_object *) checks the no_reuse flag, and never reuses the old handle slots if set.
This way, the dtor's for newly spawned objects are guaranteed to be called in the zend_objects_store_call_destructors() loop.
Nikita Popov [Mon, 6 Feb 2017 00:47:09 +0000 (01:47 +0100)]
Merge branch 'PHP-7.1'
Nikita Popov [Mon, 6 Feb 2017 00:46:01 +0000 (01:46 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Mon, 6 Feb 2017 00:45:53 +0000 (01:45 +0100)]
Revert "Fix detection of isnan and isinf"
This reverts commit
9ea0949f43959ff0cf519e7a10ef9de7a538cde3 .
Nikita Popov [Sun, 5 Feb 2017 17:13:24 +0000 (18:13 +0100)]
Merge branch 'PHP-7.1'
Nikita Popov [Sun, 5 Feb 2017 17:10:04 +0000 (18:10 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
Christian Schmidt [Thu, 2 Feb 2017 17:52:27 +0000 (18:52 +0100)]
Fix detection of isnan and isinf
The isnan() and isinf() are C99 macros not functions.
Also fix is_infinite(-INF) in case isinf is not defined.
Andrea Faulds [Sun, 5 Feb 2017 01:34:15 +0000 (01:34 +0000)]
Merge branch 'PHP-7.1'
Andrea Faulds [Sun, 5 Feb 2017 01:31:42 +0000 (01:31 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1
Andrea Faulds [Sun, 5 Feb 2017 01:30:20 +0000 (01:30 +0000)]
Fix bug #73954
Niklas Keller [Sun, 1 Jan 2017 14:53:24 +0000 (15:53 +0100)]
Implement Parameter Type Widening RFC
Nikita Popov [Fri, 3 Feb 2017 18:00:26 +0000 (19:00 +0100)]
Add UPGRADING notes for deprecations
Nikita Popov [Thu, 2 Feb 2017 22:07:25 +0000 (23:07 +0100)]
Deprecate each()
Nikita Popov [Thu, 2 Feb 2017 20:40:19 +0000 (21:40 +0100)]
Deprecate assert() with string argument
Nikita Popov [Thu, 2 Feb 2017 20:20:37 +0000 (21:20 +0100)]
Deprecate mbstring.func_overload
Nikita Popov [Thu, 2 Feb 2017 20:15:36 +0000 (21:15 +0100)]
Deprecate track_errors / $php_errormsg
Nikita Popov [Wed, 1 Feb 2017 23:44:18 +0000 (00:44 +0100)]
Deprecate mb_parse_str() without second argument
Nikita Popov [Wed, 1 Feb 2017 23:37:24 +0000 (00:37 +0100)]
Deprecate parse_str() without second argument
Nikita Popov [Wed, 1 Feb 2017 23:23:11 +0000 (00:23 +0100)]
Deprecate (unset)
Pecularily, there wasn't a single test for the (unset) cast...
Nikita Popov [Mon, 30 Jan 2017 21:28:17 +0000 (22:28 +0100)]
Deprecate __autoload()
Nikita Popov [Mon, 30 Jan 2017 21:09:32 +0000 (22:09 +0100)]
Deprecate create_function()
Nikita Popov [Mon, 30 Jan 2017 20:42:36 +0000 (21:42 +0100)]
Deprecate gmp_random()
Nikita Popov [Fri, 3 Feb 2017 17:42:33 +0000 (18:42 +0100)]
Merge branch 'PHP-7.1'
Nikita Popov [Fri, 3 Feb 2017 17:42:19 +0000 (18:42 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Fri, 3 Feb 2017 17:41:36 +0000 (18:41 +0100)]
Revert "Merge branch 'pull-request/2344' into PHP-7.0"
This reverts commit
6988d070ea8c7d44452d8c98e594d65ea722a1d8 , reversing
changes made to
75ad2b301a047209e7b5a6b5912eb589cfbc773d .
Nikita Popov [Fri, 3 Feb 2017 17:30:40 +0000 (18:30 +0100)]
Merge branch 'PHP-7.1'
Nikita Popov [Fri, 3 Feb 2017 17:29:58 +0000 (18:29 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
andrewnester [Fri, 3 Feb 2017 08:57:16 +0000 (11:57 +0300)]
Fixed bug #74035
Nikita Popov [Fri, 3 Feb 2017 16:55:08 +0000 (17:55 +0100)]
Merge branch 'PHP-7.1'
Nikita Popov [Fri, 3 Feb 2017 16:54:39 +0000 (17:54 +0100)]
Fixed bug #74041
Dmitry Stogov [Fri, 3 Feb 2017 15:31:25 +0000 (18:31 +0300)]
Replace redundand checks with ZEND_ASSERT. We shouldn't get IS_OBJECTs without object_storage.
Dmitry Stogov [Fri, 3 Feb 2017 14:38:45 +0000 (17:38 +0300)]
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
Remove unused variable
Dmitry Stogov [Fri, 3 Feb 2017 14:38:03 +0000 (17:38 +0300)]
Arguments array can't make cycles
Sara Golemon [Fri, 3 Feb 2017 03:23:17 +0000 (19:23 -0800)]
Remove unused variable
Joe Watkins [Fri, 3 Feb 2017 06:12:53 +0000 (06:12 +0000)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Fixed bug #74004 LIBXML_NOWARNING (etc) ignored by DOMDocument::loadHTML
Joe Watkins [Fri, 3 Feb 2017 06:12:20 +0000 (06:12 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixed bug #74004 LIBXML_NOWARNING (etc) ignored by DOMDocument::loadHTML
Joe Watkins [Fri, 3 Feb 2017 06:10:19 +0000 (06:10 +0000)]
Merge branch 'pull-request/2344' into PHP-7.0
* pull-request/2344:
Fixed bug #74004 LIBXML_NOWARNING (etc) ignored by DOMDocument::loadHTML
somedaysummer [Fri, 27 Jan 2017 20:20:07 +0000 (15:20 -0500)]
Fixed bug #74004 LIBXML_NOWARNING (etc) ignored by DOMDocument::loadHTML
Joe Watkins [Fri, 3 Feb 2017 06:01:10 +0000 (06:01 +0000)]
Merge branch 'PHP-7.1'
* PHP-7.1:
increase wait time in timeout_variation_9.phpt by 1 second
Joe Watkins [Fri, 3 Feb 2017 06:00:53 +0000 (06:00 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
increase wait time in timeout_variation_9.phpt by 1 second
Joe Watkins [Fri, 3 Feb 2017 06:00:34 +0000 (06:00 +0000)]
Merge branch 'pull-request/2359' into PHP-7.0
* pull-request/2359:
increase wait time in timeout_variation_9.phpt by 1 second
Rodrigo Prado [Wed, 1 Feb 2017 23:12:05 +0000 (21:12 -0200)]
increase wait time in timeout_variation_9.phpt by 1 second
Joe Watkins [Fri, 3 Feb 2017 05:55:29 +0000 (05:55 +0000)]
Merge branch 'PHP-7.1'
* PHP-7.1:
increase wait time in timeout_variation_10.phpt by 1 second
Joe Watkins [Fri, 3 Feb 2017 05:55:16 +0000 (05:55 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
increase wait time in timeout_variation_10.phpt by 1 second
Joe Watkins [Fri, 3 Feb 2017 05:54:50 +0000 (05:54 +0000)]
Merge branch 'pull-request/2360' into PHP-7.0
* pull-request/2360:
increase wait time in timeout_variation_10.phpt by 1 second
Rodrigo Prado [Wed, 1 Feb 2017 23:22:35 +0000 (15:22 -0800)]
increase wait time in timeout_variation_10.phpt by 1 second
Nikita Popov [Thu, 2 Feb 2017 17:35:35 +0000 (18:35 +0100)]
Merge branch 'PHP-7.1'
Nikita Popov [Thu, 2 Feb 2017 17:33:26 +0000 (18:33 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
Mitch Hagstrand [Tue, 31 Jan 2017 17:25:05 +0000 (09:25 -0800)]
BUG #73998: Numeric properties are not accessible from get_object_vars
Nikita Popov [Thu, 2 Feb 2017 17:15:11 +0000 (18:15 +0100)]
Merge branch 'PHP-7.1'
Nikita Popov [Thu, 2 Feb 2017 17:14:50 +0000 (18:14 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
Matěj Humpál [Thu, 2 Feb 2017 09:24:00 +0000 (10:24 +0100)]
Fix bug #74031
Fix incorrect parameter count for imagepng function
Nikita Popov [Thu, 2 Feb 2017 17:07:27 +0000 (18:07 +0100)]
Merge branch 'PHP-7.1'
Nikita Popov [Thu, 2 Feb 2017 17:06:47 +0000 (18:06 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Thu, 2 Feb 2017 15:04:02 +0000 (16:04 +0100)]
Fix bug #73807
Anatol Belski [Thu, 2 Feb 2017 13:22:43 +0000 (14:22 +0100)]
Merge branch 'PHP-7.1'
* PHP-7.1:
[ci skip] update NEWS
[ci skip] update NEWS
Anatol Belski [Thu, 2 Feb 2017 13:21:31 +0000 (14:21 +0100)]
[ci skip] update NEWS
Anatol Belski [Thu, 2 Feb 2017 13:20:53 +0000 (14:20 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
[ci skip] update NEWS
Anatol Belski [Thu, 2 Feb 2017 13:19:35 +0000 (14:19 +0100)]
[ci skip] update NEWS
Anatol Belski [Thu, 2 Feb 2017 12:07:48 +0000 (13:07 +0100)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Fixed #74022 PHP Fast CGI crashes when reading from a pfx file.
Anatol Belski [Thu, 2 Feb 2017 12:06:31 +0000 (13:06 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixed #74022 PHP Fast CGI crashes when reading from a pfx file.
Anatol Belski [Thu, 2 Feb 2017 11:48:12 +0000 (12:48 +0100)]
Fixed #74022 PHP Fast CGI crashes when reading from a pfx file.
Anatol Belski [Thu, 2 Feb 2017 00:36:29 +0000 (01:36 +0100)]
Merge branch 'PHP-7.1'
* PHP-7.1:
[ci skip] update NEWS
update NEWS
Anatol Belski [Thu, 2 Feb 2017 00:35:22 +0000 (01:35 +0100)]
[ci skip] update NEWS
Anatol Belski [Thu, 2 Feb 2017 00:34:48 +0000 (01:34 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
update NEWS
Anatol Belski [Thu, 2 Feb 2017 00:33:41 +0000 (01:33 +0100)]
update NEWS
Nikita Popov [Wed, 1 Feb 2017 23:57:40 +0000 (00:57 +0100)]
Remove obsolete version checks from tests
Anatol Belski [Wed, 1 Feb 2017 19:07:07 +0000 (20:07 +0100)]
Merge branch 'PHP-7.1'
* PHP-7.1:
remove the reverted NEWS entry
sync NEWS with the reverted stuff
Revert "fixed bug #50989 (DOM support for LIBXML_NOXMLDECL)"
Revert "fix BC break introduced by #2346 (sebastianbergmann/phpunit#2454)"
Joe Watkins [Wed, 1 Feb 2017 19:05:50 +0000 (19:05 +0000)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Revert "Inheritance checks should not ignore parents if these implement an interface"
Revert "Added tests demonstrating the same effect with abstracts"
Anatol Belski [Wed, 1 Feb 2017 19:02:20 +0000 (20:02 +0100)]
remove the reverted NEWS entry
Anatol Belski [Wed, 1 Feb 2017 19:01:40 +0000 (20:01 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
sync NEWS with the reverted stuff
Revert "fixed bug #50989 (DOM support for LIBXML_NOXMLDECL)"
Revert "fix BC break introduced by #2346 (sebastianbergmann/phpunit#2454)"
Anatol Belski [Wed, 1 Feb 2017 19:00:32 +0000 (20:00 +0100)]
sync NEWS with the reverted stuff
Anatol Belski [Wed, 1 Feb 2017 18:59:24 +0000 (19:59 +0100)]
Revert "fixed bug #50989 (DOM support for LIBXML_NOXMLDECL)"
This reverts commit
2fcf1259c6a9c1d70bcdfb96aeabc54c47e2a4a0 .
Anatol Belski [Wed, 1 Feb 2017 18:59:18 +0000 (19:59 +0100)]
Revert "fix BC break introduced by #2346 (sebastianbergmann/phpunit#2454)"
This reverts commit
62938bf08806129b42b17e74d79a450c30d4ff30 .
Joe Watkins [Wed, 1 Feb 2017 18:33:58 +0000 (18:33 +0000)]
Revert "Inheritance checks should not ignore parents if these implement an interface"
This reverts commit
b67eb3440bb244adf6957bf2c68aeeaa6efc8c8d .
Joe Watkins [Wed, 1 Feb 2017 18:33:47 +0000 (18:33 +0000)]
Revert "Added tests demonstrating the same effect with abstracts"
This reverts commit
c11b2b809d349399c8f4b54c6bf24078dece455e .
Dmitry Stogov [Wed, 1 Feb 2017 14:38:12 +0000 (17:38 +0300)]
Merge branch 'PHP-7.1'
* PHP-7.1:
typo
Dmitry Stogov [Wed, 1 Feb 2017 14:37:40 +0000 (17:37 +0300)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
typo
Dmitry Stogov [Wed, 1 Feb 2017 14:36:55 +0000 (17:36 +0300)]
typo
Dmitry Stogov [Wed, 1 Feb 2017 13:06:17 +0000 (16:06 +0300)]
Merge branch 'PHP-7.1'
* PHP-7.1:
fixed macro
Dmitry Stogov [Wed, 1 Feb 2017 13:05:57 +0000 (16:05 +0300)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
fixed macro
Dmitry Stogov [Wed, 1 Feb 2017 13:05:33 +0000 (16:05 +0300)]
fixed macro
Anatol Belski [Wed, 1 Feb 2017 12:46:50 +0000 (13:46 +0100)]
Merge branch 'PHP-7.1'
* PHP-7.1:
fix possible NULL dereference
Anatol Belski [Wed, 1 Feb 2017 12:45:45 +0000 (13:45 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
fix possible NULL dereference
Anatol Belski [Wed, 1 Feb 2017 12:43:33 +0000 (13:43 +0100)]
fix possible NULL dereference
Anatol Belski [Wed, 1 Feb 2017 11:58:47 +0000 (12:58 +0100)]
Merge branch 'PHP-7.1'
* PHP-7.1:
remove unused var
use zend_string API
Fixed bug #74005 mail.add_x_header causes RFC-breaking lone line feed
Anatol Belski [Wed, 1 Feb 2017 11:57:02 +0000 (12:57 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
remove unused var
use zend_string API
Fixed bug #74005 mail.add_x_header causes RFC-breaking lone line feed
Anatol Belski [Wed, 1 Feb 2017 11:49:32 +0000 (12:49 +0100)]
remove unused var
Anatol Belski [Wed, 1 Feb 2017 11:45:19 +0000 (12:45 +0100)]
use zend_string API
Anatol Belski [Wed, 1 Feb 2017 11:36:14 +0000 (12:36 +0100)]
Fixed bug #74005 mail.add_x_header causes RFC-breaking lone line feed
Anatol Belski [Wed, 1 Feb 2017 11:18:55 +0000 (12:18 +0100)]
fix test portability
Anatol Belski [Wed, 1 Feb 2017 11:01:23 +0000 (12:01 +0100)]
Merge branch 'PHP-7.1'
* PHP-7.1:
fix test for 32bits (int -> float)
fix test for 32bits (int -> float)
Anatol Belski [Wed, 1 Feb 2017 11:00:39 +0000 (12:00 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
fix test for 32bits (int -> float)
Anatol Belski [Wed, 1 Feb 2017 10:59:44 +0000 (11:59 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
fix test for 32bits (int -> float)
Remi Collet [Wed, 1 Feb 2017 09:25:30 +0000 (10:25 +0100)]
fix test for 32bits (int -> float)
(cherry picked from commit
0f1ae93bfa2feb3d0fd0b8d3036148df8ef856e2 )
Remi Collet [Wed, 1 Feb 2017 09:25:30 +0000 (10:25 +0100)]
fix test for 32bits (int -> float)
Remi Collet [Wed, 1 Feb 2017 09:25:54 +0000 (10:25 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
fix test for 32bits (int -> float)
Remi Collet [Wed, 1 Feb 2017 09:25:30 +0000 (10:25 +0100)]
fix test for 32bits (int -> float)