]> granicus.if.org Git - php/log
php
11 years agoPHP 5.5.0 Alpha 4 php-5.5.0alpha4
David Soria Parra [Tue, 22 Jan 2013 08:40:55 +0000 (09:40 +0100)]
PHP 5.5.0 Alpha 4

11 years agoNEWS for PHP 5.5.0alpha4
David Soria Parra [Tue, 22 Jan 2013 08:37:02 +0000 (09:37 +0100)]
NEWS for PHP 5.5.0alpha4

11 years agoFix NEWS
David Soria Parra [Tue, 22 Jan 2013 08:35:24 +0000 (09:35 +0100)]
Fix NEWS

11 years agoMerge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
Stanislav Malyshev [Tue, 22 Jan 2013 08:36:26 +0000 (00:36 -0800)]
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5

* 'PHP-5.5' of git.php.net:php-src:
  Merge fix of #62836 to ?.re, and regenerate ?.c
  Fixed bug #64007 (There is an ability to create instance of Generator by hand).
  - Fixed ZTS build
  Class Name Resolution As Scalar Via "class" Keyword

11 years agofix tests
Stanislav Malyshev [Tue, 22 Jan 2013 08:36:07 +0000 (00:36 -0800)]
fix tests

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Xinchen Hui [Mon, 21 Jan 2013 03:42:16 +0000 (11:42 +0800)]
Merge branch 'PHP-5.4' into PHP-5.5

Conflicts:
ext/standard/var_unserializer.c

11 years agoMerge fix of #62836 to ?.re, and regenerate ?.c
Xinchen Hui [Mon, 21 Jan 2013 03:35:22 +0000 (11:35 +0800)]
Merge fix of #62836 to ?.re, and regenerate ?.c

11 years agoFixed bug #64007 (There is an ability to create instance of Generator by hand).
Xinchen Hui [Sat, 19 Jan 2013 09:01:57 +0000 (17:01 +0800)]
Fixed bug #64007 (There is an ability to create instance of Generator by hand).

Use get_constrctor instead of access of the ce->constructor directly

11 years ago- Fixed ZTS build
Felipe Pena [Sat, 19 Jan 2013 00:15:08 +0000 (22:15 -0200)]
- Fixed ZTS build

11 years agoMerge branch 'PHP-5.5' of git://github.com/php/php-src into PHP-5.5
Lars Strojny [Sat, 19 Jan 2013 00:06:13 +0000 (01:06 +0100)]
Merge branch 'PHP-5.5' of git://github.com/php/php-src into PHP-5.5

11 years agoClass Name Resolution As Scalar Via "class" Keyword
Lars Strojny [Sat, 19 Jan 2013 00:00:47 +0000 (01:00 +0100)]
Class Name Resolution As Scalar Via "class" Keyword

11 years agoMerge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
Stanislav Malyshev [Fri, 18 Jan 2013 21:42:19 +0000 (13:42 -0800)]
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5

* 'PHP-5.5' of git.php.net:php-src:
  Fixed bug #63988 (Two Date tests fail) only for PHP-5.5
  - Fixed ZTS build
  Dereferencing process-handles no longer waits on those processes.
  revert change. now it doesn't compile again...someone should fix ext/date...
  Use two dtors thus allow allocation based on the alloc model of the connection.
  plug a leak - forgot ot use the dtor already written
  Revert "Apply the fputcsv test fix to SplFileObject_fputcsv.phpt. Mea culpa."
  Revert "Update fputcsv() to escape all characters equally."
  Add support for connect attributes, as of MySQL 5.6
  Bug #62489: dba_insert not working as expected
  UPGRADING.INTERNALS: document zend_qsort_r
  Add zend_qsort_r & use it in strtr
  NEWS for bug #63893
  Update README.PARAMETER_PARSING_API
  Export zend_parse_parameter()
  Expose zend_parse_arg() as zend_parse_parameter()
  zend_parse_parameters: allow ! for non pointers

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Fri, 18 Jan 2013 21:42:04 +0000 (13:42 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix bug #63462 (Magic methods called twice for unset protected properties)
  NEWS for bug #64011. See 77ee200
  Fix bug #64011 (get_html_translation_table())
  Fix News
  Update the arguments in the prototype of fpm_socket_unix_test_connect().
  fixed build
  NEWS for bug #63893
  Fixed inconsequential bug in strtr()
  Revert "Apply the fputcsv test fix to SplFileObject_fputcsv.phpt. Mea culpa."
  Revert "Update fputcsv() to escape all characters equally."
  Remove _GNU_SOURCE, add local heap sort
  The compiler can figure this out
  Remove unused block
  strtr() with 2nd param array - optimization
  Refactoring, bugs & leaks
  Optimize strtr w/ 2nd arg array

11 years agoMerge branch 'PHP-5.3' into PHP-5.4
Stanislav Malyshev [Fri, 18 Jan 2013 21:32:43 +0000 (13:32 -0800)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  fix bug #63462 (Magic methods called twice for unset protected properties)

11 years agofix bug #63462 (Magic methods called twice for unset protected properties)
Stanislav Malyshev [Mon, 14 Jan 2013 08:06:09 +0000 (00:06 -0800)]
fix bug #63462 (Magic methods called twice for unset protected properties)

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Gustavo Lopes [Fri, 18 Jan 2013 11:12:25 +0000 (12:12 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  NEWS for bug #64011. See 77ee200
  Fix bug #64011 (get_html_translation_table())
  Fix News

11 years agoNEWS for bug #64011. See 77ee200
Gustavo Lopes [Fri, 18 Jan 2013 11:12:08 +0000 (12:12 +0100)]
NEWS for bug #64011. See 77ee200

11 years agoFix bug #64011 (get_html_translation_table())
Gustavo Lopes [Fri, 18 Jan 2013 11:07:21 +0000 (12:07 +0100)]
Fix bug #64011 (get_html_translation_table())

get_html_translation_table() with encoding ISO-8859-1 and HTMLENTITIES
was broken. Only entities for characters U+0000 to U+0040 were being
included in the result.

11 years agoFixed bug #63988 (Two Date tests fail) only for PHP-5.5
Xinchen Hui [Fri, 18 Jan 2013 07:49:36 +0000 (15:49 +0800)]
Fixed bug #63988 (Two Date tests fail) only for PHP-5.5

11 years agoMerge remote-tracking branch 'cataphract/zpp_improv' into PHP-5.5
Gustavo Lopes [Wed, 16 Jan 2013 22:37:06 +0000 (23:37 +0100)]
Merge remote-tracking branch 'cataphract/zpp_improv' into PHP-5.5

See https://wiki.php.net/rfc/zpp_improv

* cataphract/zpp_improv:
  Update README.PARAMETER_PARSING_API
  Export zend_parse_parameter()
  Expose zend_parse_arg() as zend_parse_parameter()
  zend_parse_parameters: allow ! for non pointers

11 years agoFix News
Christopher Jones [Wed, 16 Jan 2013 04:38:24 +0000 (20:38 -0800)]
Fix News

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Adam Harvey [Wed, 16 Jan 2013 02:19:13 +0000 (10:19 +0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Update the arguments in the prototype of fpm_socket_unix_test_connect().

11 years agoMerge branch 'PHP-5.3' into PHP-5.4
Adam Harvey [Wed, 16 Jan 2013 02:18:00 +0000 (10:18 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Update the arguments in the prototype of fpm_socket_unix_test_connect().

11 years agoUpdate the arguments in the prototype of fpm_socket_unix_test_connect().
Adam Harvey [Wed, 16 Jan 2013 02:06:56 +0000 (10:06 +0800)]
Update the arguments in the prototype of fpm_socket_unix_test_connect().

Fixes bug #63999 (php with fpm fails to build on Solaris 10 or 11).

11 years ago- Fixed ZTS build
Felipe Pena [Tue, 15 Jan 2013 21:59:23 +0000 (19:59 -0200)]
- Fixed ZTS build

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Anatoliy Belsky [Tue, 15 Jan 2013 21:39:49 +0000 (22:39 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fixed build
  NEWS for bug #63893

Conflicts:
NEWS

11 years agofixed build
Anatoliy Belsky [Tue, 15 Jan 2013 21:36:29 +0000 (22:36 +0100)]
fixed build

11 years agoDereferencing process-handles no longer waits on those processes.
Jille Timmermans [Tue, 15 Jan 2013 10:25:55 +0000 (11:25 +0100)]
Dereferencing process-handles no longer waits on those processes.

Implements FR #46487

11 years agoMerge remote-tracking branch 'remotes/cataphract/strtr_wu94_55' into PHP-5.5
Gustavo Lopes [Tue, 15 Jan 2013 20:45:22 +0000 (21:45 +0100)]
Merge remote-tracking branch 'remotes/cataphract/strtr_wu94_55' into PHP-5.5

* remotes/cataphract/strtr_wu94_55:
  Fixed inconsequential bug in strtr()
  UPGRADING.INTERNALS: document zend_qsort_r
  Add zend_qsort_r & use it in strtr
  NEWS for bug #63893
  Remove _GNU_SOURCE, add local heap sort
  The compiler can figure this out
  Remove unused block
  strtr() with 2nd param array - optimization
  Refactoring, bugs & leaks
  Optimize strtr w/ 2nd arg array

11 years agoNEWS for bug #63893
Gustavo Lopes [Mon, 14 Jan 2013 16:17:58 +0000 (17:17 +0100)]
NEWS for bug #63893

11 years agoMerge remote-tracking branch 'remotes/cataphract/strtr_wu94_54' into PHP-5.4
Gustavo Lopes [Tue, 15 Jan 2013 20:05:21 +0000 (21:05 +0100)]
Merge remote-tracking branch 'remotes/cataphract/strtr_wu94_54' into PHP-5.4

* remotes/cataphract/strtr_wu94_54:
  Fixed inconsequential bug in strtr()
  Remove _GNU_SOURCE, add local heap sort
  The compiler can figure this out
  Remove unused block
  strtr() with 2nd param array - optimization
  Refactoring, bugs & leaks
  Optimize strtr w/ 2nd arg array

11 years agoMerge branch 'strtr_wu94_54' into strtr_wu94_55
Gustavo Lopes [Tue, 15 Jan 2013 16:26:24 +0000 (17:26 +0100)]
Merge branch 'strtr_wu94_54' into strtr_wu94_55

11 years agoFixed inconsequential bug in strtr()
Gustavo Lopes [Tue, 15 Jan 2013 16:25:59 +0000 (17:25 +0100)]
Fixed inconsequential bug in strtr()

11 years agorevert change. now it doesn't compile again...someone should fix ext/date...
Andrey Hristov [Tue, 15 Jan 2013 11:20:58 +0000 (12:20 +0100)]
revert change. now it doesn't compile again...someone should fix ext/date...

11 years agoUse two dtors thus allow allocation based on the alloc model of the
Andrey Hristov [Tue, 15 Jan 2013 11:19:52 +0000 (12:19 +0100)]
Use two dtors thus allow allocation based on the alloc model of the
connection.

11 years agoplug a leak - forgot ot use the dtor already written
Andrey Hristov [Tue, 15 Jan 2013 10:32:44 +0000 (11:32 +0100)]
plug a leak - forgot ot use the dtor already written

11 years agoMerge branch 'PHP-5.5' of ssh://git.php.net/php-src into PHP-5.5
Andrey Hristov [Tue, 15 Jan 2013 10:07:32 +0000 (11:07 +0100)]
Merge branch 'PHP-5.5' of ssh://git.php.net/php-src into PHP-5.5

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Andrey Hristov [Tue, 15 Jan 2013 10:06:59 +0000 (11:06 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

Conflicts:
NEWS

11 years agoRevert "Apply the fputcsv test fix to SplFileObject_fputcsv.phpt. Mea culpa."
Adam Harvey [Tue, 15 Jan 2013 09:37:21 +0000 (17:37 +0800)]
Revert "Apply the fputcsv test fix to SplFileObject_fputcsv.phpt. Mea culpa."

This reverts commit 0510701474e8d99b5b30139b5599e44f9b555a5a.

11 years agoRevert "Update fputcsv() to escape all characters equally."
Adam Harvey [Tue, 15 Jan 2013 09:33:54 +0000 (17:33 +0800)]
Revert "Update fputcsv() to escape all characters equally."

On second thoughts, while the behaviour _is_ broken, this isn't the right fix.

This reverts commit 9b5cb0e8059b1e8bec096067491ed8d75f878938.

11 years agoRevert "Apply the fputcsv test fix to SplFileObject_fputcsv.phpt. Mea culpa."
Adam Harvey [Tue, 15 Jan 2013 09:37:21 +0000 (17:37 +0800)]
Revert "Apply the fputcsv test fix to SplFileObject_fputcsv.phpt. Mea culpa."

This reverts commit 0510701474e8d99b5b30139b5599e44f9b555a5a.

11 years agoMerge branch 'PHP-5.3' into PHP-5.4
Adam Harvey [Tue, 15 Jan 2013 09:35:34 +0000 (17:35 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Revert "Update fputcsv() to escape all characters equally."

11 years agoRevert "Update fputcsv() to escape all characters equally."
Adam Harvey [Tue, 15 Jan 2013 09:33:54 +0000 (17:33 +0800)]
Revert "Update fputcsv() to escape all characters equally."

On second thoughts, while the behaviour _is_ broken, this isn't the right fix.

This reverts commit 9b5cb0e8059b1e8bec096067491ed8d75f878938.

11 years agoMerge branch 'PHP-5.5' of ssh://git.php.net/php-src into PHP-5.5
Andrey Hristov [Tue, 15 Jan 2013 09:05:54 +0000 (10:05 +0100)]
Merge branch 'PHP-5.5' of ssh://git.php.net/php-src into PHP-5.5

11 years agoAdd support for connect attributes, as of MySQL 5.6
Andrey Hristov [Tue, 15 Jan 2013 09:04:59 +0000 (10:04 +0100)]
Add support for connect attributes, as of MySQL 5.6

11 years agoBug #62489: dba_insert not working as expected
Lars Strojny [Tue, 15 Jan 2013 08:30:44 +0000 (09:30 +0100)]
Bug #62489: dba_insert not working as expected

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Tue, 15 Jan 2013 08:08:29 +0000 (00:08 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix NEWS

11 years agofix NEWS
Stanislav Malyshev [Tue, 15 Jan 2013 08:06:35 +0000 (00:06 -0800)]
fix NEWS

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Tue, 15 Jan 2013 08:07:07 +0000 (00:07 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix NEWS

11 years agofix NEWS
Stanislav Malyshev [Tue, 15 Jan 2013 08:06:35 +0000 (00:06 -0800)]
fix NEWS

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Adam Harvey [Tue, 15 Jan 2013 07:50:57 +0000 (15:50 +0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Apply the fputcsv test fix to SplFileObject_fputcsv.phpt. Mea culpa.

11 years agoApply the fputcsv test fix to SplFileObject_fputcsv.phpt. Mea culpa.
Adam Harvey [Tue, 15 Jan 2013 07:49:13 +0000 (15:49 +0800)]
Apply the fputcsv test fix to SplFileObject_fputcsv.phpt. Mea culpa.

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Xinchen Hui [Tue, 15 Jan 2013 07:33:26 +0000 (15:33 +0800)]
Merge branch 'PHP-5.4' into PHP-5.5

11 years agoMerge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
Xinchen Hui [Tue, 15 Jan 2013 07:32:42 +0000 (15:32 +0800)]
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4

11 years agoFixed bug #57702 (Multi-row BLOB fetches)
Xinchen Hui [Tue, 15 Jan 2013 07:31:49 +0000 (15:31 +0800)]
Fixed bug #57702 (Multi-row BLOB fetches)

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Adam Harvey [Tue, 15 Jan 2013 07:26:25 +0000 (15:26 +0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Update fputcsv() to escape all characters equally.

11 years agoMerge branch 'PHP-5.3' into PHP-5.4
Adam Harvey [Tue, 15 Jan 2013 07:24:21 +0000 (15:24 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Update fputcsv() to escape all characters equally.

11 years agoUpdate fputcsv() to escape all characters equally.
Adam Harvey [Tue, 15 Jan 2013 07:17:45 +0000 (15:17 +0800)]
Update fputcsv() to escape all characters equally.

At present, backslashes have special case handling within fputcsv(): when one
is encountered within a field that's being escaped, escaping stops until the
next instance of the enclosure character is hit.  This can result in malformed
CSV.

Fixes bug #43225 (fputcsv incorrectly handles cells ending in \ followed by ").

11 years agoFix compile failure introduced by the fix for bug #46408.
Adam Harvey [Tue, 15 Jan 2013 02:08:26 +0000 (10:08 +0800)]
Fix compile failure introduced by the fix for bug #46408.

11 years agoMerge branch 'PHP-5.5' of git://github.com/php/php-src into PHP-5.5
Lars Strojny [Mon, 14 Jan 2013 20:41:24 +0000 (21:41 +0100)]
Merge branch 'PHP-5.5' of git://github.com/php/php-src into PHP-5.5

11 years agoAdded NEWS item for DateTimeImmutable
Derick Rethans [Mon, 14 Jan 2013 20:36:48 +0000 (20:36 +0000)]
Added NEWS item for DateTimeImmutable

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Lars Strojny [Mon, 14 Jan 2013 20:36:28 +0000 (21:36 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

11 years agoBug #52958: Segfault in PDO_OCI on cleanup after running a long testsuite.
Lars Strojny [Mon, 14 Jan 2013 20:35:48 +0000 (21:35 +0100)]
Bug #52958: Segfault in PDO_OCI on cleanup after running a long testsuite.

11 years agoMake DatePeriod support DateTimeImmutable as well.
Derick Rethans [Thu, 20 Dec 2012 13:22:18 +0000 (13:22 +0000)]
Make DatePeriod support DateTimeImmutable as well.

If the start element is a DateTimeImmutable object, then all returned objects
are also DateTimeImmutable objects. If the start element is a DateTime object,
then all returned objects are DateTime objects.

11 years agoFixed crash bug when the non-OO interface was used.
Derick Rethans [Wed, 19 Dec 2012 17:40:14 +0000 (17:40 +0000)]
Fixed crash bug when the non-OO interface was used.

11 years agoRename DateTimePoint to DateTimeImmutable.
Derick Rethans [Wed, 19 Dec 2012 16:24:38 +0000 (16:24 +0000)]
Rename DateTimePoint to DateTimeImmutable.

11 years agoAdded another test to test the unmodified inherited methods.
Derick Rethans [Mon, 17 Dec 2012 16:49:25 +0000 (16:49 +0000)]
Added another test to test the unmodified inherited methods.

11 years agoAdded a few missing TSRMLS_DC/TSRMLS_CC.
Derick Rethans [Mon, 17 Dec 2012 16:49:00 +0000 (16:49 +0000)]
Added a few missing TSRMLS_DC/TSRMLS_CC.

11 years agoAdded a test case for DateTimePoint.
Derick Rethans [Mon, 17 Dec 2012 16:35:52 +0000 (16:35 +0000)]
Added a test case for DateTimePoint.

11 years agoImplemented immutable DateTime objects as the DateTimePoint class.
Derick Rethans [Mon, 17 Dec 2012 15:31:23 +0000 (15:31 +0000)]
Implemented immutable DateTime objects as the DateTimePoint class.

11 years agoBug #46408: Fix double formatting for PostgreSQL bound parameters
Lars Strojny [Mon, 14 Jan 2013 20:23:52 +0000 (21:23 +0100)]
Bug #46408: Fix double formatting for PostgreSQL bound parameters

11 years agoPR #260: Update css for 404 pages to feel more up to date and have a consistent layou...
Lars Strojny [Mon, 14 Jan 2013 19:43:14 +0000 (20:43 +0100)]
PR #260: Update css for 404 pages to feel more up to date and have a consistent layout across browsers

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Lars Strojny [Mon, 14 Jan 2013 17:53:40 +0000 (18:53 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

11 years agoSupport BITMAPV5HEADER in getimagesize(): https://en.wikipedia.org/wiki/BMP_file_form...
Lars Strojny [Mon, 14 Jan 2013 17:52:38 +0000 (18:52 +0100)]
Support BITMAPV5HEADER in getimagesize(): https://en.wikipedia.org/wiki/BMP_file_format#DIB_header_.28bitmap_information_header.29

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Lars Strojny [Mon, 14 Jan 2013 17:00:00 +0000 (18:00 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

11 years agoFix bug #63916: PDO::PARAM_INT casts to 32bit int internally even on 64bit builds...
Lars Strojny [Mon, 14 Jan 2013 16:59:11 +0000 (17:59 +0100)]
Fix bug #63916: PDO::PARAM_INT casts to 32bit int internally even on 64bit builds in pdo_sqlite

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Lars Strojny [Mon, 14 Jan 2013 16:36:07 +0000 (17:36 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

11 years agoFixed bug #63921: sqlite3::bindvalue and relative PHP functions aren't using sqlite3_...
Lars Strojny [Mon, 14 Jan 2013 16:35:07 +0000 (17:35 +0100)]
Fixed bug #63921: sqlite3::bindvalue and relative PHP functions aren't using sqlite3_*_int64 API

11 years agoUPGRADING.INTERNALS: document zend_qsort_r
Gustavo Lopes [Mon, 14 Jan 2013 16:27:20 +0000 (17:27 +0100)]
UPGRADING.INTERNALS: document zend_qsort_r

11 years agoAdd zend_qsort_r & use it in strtr
Gustavo Lopes [Mon, 14 Jan 2013 16:24:16 +0000 (17:24 +0100)]
Add zend_qsort_r & use it in strtr

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Gustavo Lopes [Mon, 14 Jan 2013 16:19:23 +0000 (17:19 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

Conflicts:
NEWS

11 years agoNEWS for bug #63893
Gustavo Lopes [Mon, 14 Jan 2013 16:17:58 +0000 (17:17 +0100)]
NEWS for bug #63893

11 years agoRemove _GNU_SOURCE, add local heap sort
Gustavo Lopes [Thu, 10 Jan 2013 12:09:14 +0000 (13:09 +0100)]
Remove _GNU_SOURCE, add local heap sort

11 years agoThe compiler can figure this out
Gustavo Lopes [Wed, 9 Jan 2013 22:20:32 +0000 (23:20 +0100)]
The compiler can figure this out

11 years agoRemove unused block
Gustavo Lopes [Wed, 9 Jan 2013 22:20:11 +0000 (23:20 +0100)]
Remove unused block

11 years agostrtr() with 2nd param array - optimization
Gustavo Lopes [Wed, 9 Jan 2013 21:29:28 +0000 (22:29 +0100)]
strtr() with 2nd param array - optimization

About a 1.25x speedup in my test script by writing the result string
only when a match is found and at the end instead of on each iteration.

11 years agoRefactoring, bugs & leaks
Gustavo Lopes [Tue, 8 Jan 2013 23:33:14 +0000 (00:33 +0100)]
Refactoring, bugs & leaks

11 years agoOptimize strtr w/ 2nd arg array
Gustavo Lopes [Mon, 7 Jan 2013 02:13:11 +0000 (03:13 +0100)]
Optimize strtr w/ 2nd arg array

Fixes bug #63893: poor efficiency of strtr() using array with keys of
very different length.

The implementation is basically all new, which carries some risk with
it.

The algorithm is described in "A Fast Algorithm For Multi-Pattern
Searching" (1994) by Sun Wu and Udi Manber.

11 years agoUse zend_unmangle_property_name_ex to save strlen
Xinchen Hui [Mon, 14 Jan 2013 09:08:21 +0000 (17:08 +0800)]
Use zend_unmangle_property_name_ex to save strlen

11 years agoFixed bug #63980 (object members get trimmed by zero bytes)
Xinchen Hui [Mon, 14 Jan 2013 08:23:22 +0000 (16:23 +0800)]
Fixed bug #63980 (object members get trimmed by zero bytes)

11 years agoTinker with UPGRADING's wording for the format string changes for clarity.
Adam Harvey [Mon, 14 Jan 2013 05:54:43 +0000 (13:54 +0800)]
Tinker with UPGRADING's wording for the format string changes for clarity.

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Mon, 14 Jan 2013 01:27:05 +0000 (17:27 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix bug #63982: isset() inconsistently produces a fatal error on protected property
  different OSes have different messages, and that's not what the test is about anyway

11 years agofix bug #63982: isset() inconsistently produces a fatal error on protected property
Stanislav Malyshev [Mon, 14 Jan 2013 01:08:52 +0000 (17:08 -0800)]
fix bug #63982: isset() inconsistently produces a fatal error on protected property

11 years agodifferent OSes have different messages, and that's not what the test is about anyway
Stanislav Malyshev [Mon, 14 Jan 2013 00:34:35 +0000 (16:34 -0800)]
different OSes have different messages, and that's not what the test is about anyway

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Arnaud Le Blanc [Sun, 13 Jan 2013 14:47:12 +0000 (15:47 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

11 years agofixed alternate form for 'x' and 'X' formats
Arnaud Le Blanc [Sun, 13 Jan 2013 14:45:15 +0000 (15:45 +0100)]
fixed alternate form for 'x' and 'X' formats

same fix exists in original code:
https://svn.apache.org/viewvc?view=revision&revision=1152309

12 years agoMerge branch 'PHP-5.4' into PHP-5.5
Dmitry Stogov [Thu, 10 Jan 2013 14:54:37 +0000 (18:54 +0400)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed uninitialized zval.type (Yoram)

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Dmitry Stogov [Thu, 10 Jan 2013 14:54:19 +0000 (18:54 +0400)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fixed uninitialized zval.type (Yoram)

12 years agoFixed uninitialized zval.type (Yoram)
Dmitry Stogov [Thu, 10 Jan 2013 14:53:10 +0000 (18:53 +0400)]
Fixed uninitialized zval.type (Yoram)

12 years agoMerge branch 'PHP-5.4' into PHP-5.5
ULF WENDEL [Thu, 10 Jan 2013 13:53:46 +0000 (14:53 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  MySQL 5.6 EXPIRE PASSWORD flag tests