]> granicus.if.org Git - php/commitdiff
Merge branch 'PHP-7.1'
authorJoe Watkins <krakjoe@php.net>
Mon, 29 May 2017 07:31:58 +0000 (08:31 +0100)
committerJoe Watkins <krakjoe@php.net>
Mon, 29 May 2017 07:32:23 +0000 (08:32 +0100)
* PHP-7.1:
  Fix Bug #74386Phar::__construct(): wrong number of parameters by reflection

1  2 
NEWS
ext/phar/phar_object.c

diff --cc NEWS
index 0d32a5d25e3a329ed24ba42ca974f31c0f12ddaf,0516ed0822eddba5880db19b72b1f30c1c501a82..56f25666a92e18326f348fcc644e26b2f98a0a68
--- 1/NEWS
--- 2/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)
index 694b4b93778c444802173b907c93765b03bd3f76,79cc9c1e311d0723d3731418f82c87757e9d3956..c3102039f04cd746f339220a8e0f467e009d56d3
@@@ -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);