com php-src: Merge branch 'PHP-7.1': NEWS ext/phar/phar_objec t.c
| From: | Joe Watkins | Date: | Mon, 29 May 2017 07:32:23 +0000 |
| Subject: | com php-src: Merge branch 'PHP-7.1': NEWS ext/phar/phar_objec t.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-97924@lists.php.net to get a copy of this message | ||
Commit: 2a64f548daebfefe5fe5acd99a00ead3d526454c
Author: Joe Watkins <krakjoe@php.net> Mon, 29 May 2017 08:31:58 +0100
Parents: 368fc74bdeec8023071ca774d31408d9f7c0bf15 d6922ef8e3dbf99bf8bda99dbfbfb4b74d1a2eb8
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2a64f548daebfefe5fe5acd99a00ead3d526454c
Log:
Merge branch 'PHP-7.1'
* PHP-7.1:
Fix Bug #74386Phar::__construct(): wrong number of parameters by reflection
Bugs:
https://bugs.php.net/74386
Changed paths:
MM NEWS
MM ext/phar/phar_object.c
Diff:
diff --cc NEWS
index 0d32a5d,0516ed0..56f2566
--- a/NEWS
+++ b/NEWS
@@@ -164,17 -339,8 +164,18 @@@ PH
. Fixed bug #73959 (lastInsertId fails to throw an exception for wrong
sequence name).. (andrewnester)
-- Phar:
- . Fixed bug #70417 (PharData::compress() doesn't close temp file). (cmb)
+- PDO_Sqlite
+ . Switch to sqlite3_prepare_v2() and sqlite3_close_v2() functions (rasmus)
+
+- phar:
+ . Fixed bug #74383 (phar method parameters reflection correction).
+ (mhagstrand)
+ . Fixed bug #74196 (phar does not correctly handle names containing dots).
+ (mhagstrand)
++ . Fixed bug #74386 (Phar::__construct reflection incorrect). (villfa)
+
+- PHPDBG
+ .. Added extended_value to opcode dump output. (Sara)
- posix:
. Fixed bug #71219 (configure script incorrectly checks for ttyname_r). (atoh)
diff --cc ext/phar/phar_object.c
index 694b4b9,79cc9c1..c310203
--- a/ext/phar/phar_object.c
+++ b/ext/phar/phar_object.c
@@@ -5403,12 -5424,12 +5471,12 @@@ void phar_object_init(void) /* {{{ *
INIT_CLASS_ENTRY(ce, "Phar", php_archive_methods);
phar_ce_archive = zend_register_internal_class_ex(&ce, spl_ce_RecursiveDirectoryIterator);
- zend_class_implements(phar_ce_archive, 2, spl_ce_Countable, zend_ce_arrayaccess);
+ zend_class_implements(phar_ce_archive, 2, zend_ce_countable, zend_ce_arrayaccess);
- INIT_CLASS_ENTRY(ce, "PharData", php_archive_methods);
+ INIT_CLASS_ENTRY(ce, "PharData", php_data_methods);
phar_ce_data = zend_register_internal_class_ex(&ce, spl_ce_RecursiveDirectoryIterator);
- zend_class_implements(phar_ce_data, 2, spl_ce_Countable, zend_ce_arrayaccess);
+ zend_class_implements(phar_ce_data, 2, zend_ce_countable, zend_ce_arrayaccess);
INIT_CLASS_ENTRY(ce, "PharFileInfo", php_entry_methods);
phar_ce_entry = zend_register_internal_class_ex(&ce, spl_ce_SplFileInfo);