]> granicus.if.org Git - php/log
php
13 years agoMerge branch 'PHP-5.4'
Anatoliy Belsky [Mon, 9 Jul 2012 10:45:56 +0000 (12:45 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  fixed #62433 test for win

13 years agofixed #62433 test for win
Anatoliy Belsky [Mon, 9 Jul 2012 10:42:10 +0000 (12:42 +0200)]
fixed #62433 test for win

13 years agoMerge branch 'PHP-5.4'
Xinchen Hui [Mon, 9 Jul 2012 00:46:38 +0000 (08:46 +0800)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  update NEWS
  Fixed bug #62499 (curl_setopt($ch, CURLOPT_COOKIEFILE, "") returns false)
  appease MSVC (doesnt like unary minus of unsigned ints)
  appease MSVC (doesnt like unary minus of unsigned ints)

13 years agoupdate NEWS
Xinchen Hui [Mon, 9 Jul 2012 00:44:59 +0000 (08:44 +0800)]
update NEWS

13 years agoMerge branch 'PHP-5.3' into PHP-5.4
Xinchen Hui [Mon, 9 Jul 2012 00:38:03 +0000 (08:38 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fixed bug #62499 (curl_setopt($ch, CURLOPT_COOKIEFILE, "") returns false)
  appease MSVC (doesnt like unary minus of unsigned ints)

Conflicts:
ext/curl/interface.c

13 years agoFixed bug #62499 (curl_setopt($ch, CURLOPT_COOKIEFILE, "") returns false)
Xinchen Hui [Mon, 9 Jul 2012 00:32:40 +0000 (08:32 +0800)]
Fixed bug #62499 (curl_setopt($ch, CURLOPT_COOKIEFILE, "") returns false)

this bc break is caused by the fix for #61948

13 years agoappease MSVC (doesnt like unary minus of unsigned ints)
Nuno Lopes [Sun, 8 Jul 2012 19:19:41 +0000 (15:19 -0400)]
appease MSVC (doesnt like unary minus of unsigned ints)

13 years agoappease MSVC (doesnt like unary minus of unsigned ints)
Nuno Lopes [Sun, 8 Jul 2012 19:19:41 +0000 (15:19 -0400)]
appease MSVC (doesnt like unary minus of unsigned ints)

13 years agoappease MSVC (doesnt like unary minus of unsigned ints)
Nuno Lopes [Sun, 8 Jul 2012 19:19:41 +0000 (15:19 -0400)]
appease MSVC (doesnt like unary minus of unsigned ints)

13 years agoMerge branch 'PHP-5.4'
Felipe Pena [Sun, 8 Jul 2012 17:05:42 +0000 (14:05 -0300)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  - Fixed bug #62507 (['REQUEST_TIME'] under mod_php5 returns miliseconds instead of seconds)

13 years ago- Fixed bug #62507 (['REQUEST_TIME'] under mod_php5 returns miliseconds instead of...
Felipe Pena [Sun, 8 Jul 2012 17:05:28 +0000 (14:05 -0300)]
- Fixed bug #62507 (['REQUEST_TIME'] under mod_php5 returns miliseconds instead of seconds)

13 years agoMerge branch 'PHP-5.4'
Xinchen Hui [Sun, 8 Jul 2012 16:28:04 +0000 (00:28 +0800)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fixed Bug #62500 (Segfault in DateInterval class when extended)

13 years agoFixed Bug #62500 (Segfault in DateInterval class when extended)
Xinchen Hui [Sun, 8 Jul 2012 16:25:48 +0000 (00:25 +0800)]
Fixed Bug #62500 (Segfault in DateInterval class when extended)

This fix also fixed bug #62508  (Segfault while access a non-string
property of DateInterval object)

13 years agoMerge branch 'PHP-5.4'
Stanislav Malyshev [Sat, 7 Jul 2012 19:52:35 +0000 (12:52 -0700)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Added in NEWS and UPGRADING for feature 55218
  Adding in test for feature 55218
  Implements feature 55218

Conflicts:
UPGRADING

13 years agoMerge branch 'pull-request/112' into PHP-5.4
Stanislav Malyshev [Sat, 7 Jul 2012 19:50:03 +0000 (12:50 -0700)]
Merge branch 'pull-request/112' into PHP-5.4

* pull-request/112:
  Added in NEWS and UPGRADING for feature 55218
  Adding in test for feature 55218
  Implements feature 55218

13 years agoAdded in NEWS and UPGRADING for feature 55218
Lonny Kapelushnik [Sat, 7 Jul 2012 13:10:08 +0000 (09:10 -0400)]
Added in NEWS and UPGRADING for feature 55218

13 years agoMerge branch 'PHP-5.4'
Anthony Ferrara [Sat, 7 Jul 2012 02:39:32 +0000 (22:39 -0400)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fix two issues with run-tests.php

13 years agoMerge branch 'PHP-5.3' into PHP-5.4
Anthony Ferrara [Sat, 7 Jul 2012 02:38:15 +0000 (22:38 -0400)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fix two issues with run-tests.php

13 years agoFix two issues with run-tests.php
Anthony Ferrara [Sat, 7 Jul 2012 02:37:50 +0000 (22:37 -0400)]
Fix two issues with run-tests.php

1. E_STRICT error due to passing return of array_intersect() into reset() directly
2. Details in junit output can produce invalid UTF-8 and XML due to unescaped characters

13 years agoMerge branch 'PHP-5.4'
Nikita Popov [Thu, 5 Jul 2012 19:00:16 +0000 (21:00 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fix potential integer overflow in nl2br
  Fix potential integer overflow in bin2hex

13 years agoMerge branch 'PHP-5.3' into PHP-5.4
Nikita Popov [Thu, 5 Jul 2012 18:59:18 +0000 (20:59 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fix potential integer overflow in nl2br
  Fix potential integer overflow in bin2hex

Conflicts:
ext/standard/string.c

13 years agoFix potential integer overflow in nl2br
Nikita Popov [Thu, 5 Jul 2012 18:31:58 +0000 (20:31 +0200)]
Fix potential integer overflow in nl2br

The buffer size was calculated manually, thus creating integer overflows
for very large inputs, e.g. nl2br(str_repeat("\n", 613566757)).

The code now uses safe_emalloc, thus making the code throw an error
instead of crashing.

13 years agoFix potential integer overflow in bin2hex
Nikita Popov [Thu, 5 Jul 2012 18:14:49 +0000 (20:14 +0200)]
Fix potential integer overflow in bin2hex

The code was already using safe_emalloc but did the multiplication in
the first argument, thus making the use of safe_emalloc pretty useless.

The *2 is now moved to the second argument.

13 years agoMerge branch 'PHP-5.4'
Johannes Schlüter [Wed, 4 Jul 2012 23:19:27 +0000 (01:19 +0200)]
Merge branch 'PHP-5.4'

13 years agoMerge branch 'PHP-5.3' into PHP-5.4
Johannes Schlüter [Wed, 4 Jul 2012 23:18:57 +0000 (01:18 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

13 years agoThis wil be PHP 5.3.16
Johannes Schlüter [Wed, 4 Jul 2012 23:15:27 +0000 (01:15 +0200)]
This wil be PHP 5.3.16

13 years agoRevert change 3f3ad30c50: There shouldn't be new features in 5.3, especially
johannes [Wed, 4 Jul 2012 22:55:47 +0000 (00:55 +0200)]
Revert change 3f3ad30c50: There shouldn't be new features in 5.3, especially
not if they aren't in 5.4, too.

13 years agofix (signed) integer overflow (part of bug #52550
Nuno Lopes [Mon, 2 Jul 2012 05:31:40 +0000 (01:31 -0400)]
fix (signed) integer overflow (part of bug #52550

13 years agofix (signed) integer overflow (part of bug #52550
Nuno Lopes [Mon, 2 Jul 2012 05:31:40 +0000 (01:31 -0400)]
fix (signed) integer overflow (part of bug #52550

13 years agofix (signed) integer overflow (part of bug #52550
Nuno Lopes [Mon, 2 Jul 2012 05:31:40 +0000 (01:31 -0400)]
fix (signed) integer overflow (part of bug #52550

13 years agoMerge branch 'PHP-5.4'
Xinchen Hui [Mon, 2 Jul 2012 03:34:33 +0000 (11:34 +0800)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fixed bug #62433 (Inconsistent behavior of RecursiveDirectoryIterator to dot files).

13 years agoFixed bug #62433 (Inconsistent behavior of RecursiveDirectoryIterator to dot files).
Xinchen Hui [Mon, 2 Jul 2012 03:33:38 +0000 (11:33 +0800)]
Fixed bug #62433 (Inconsistent behavior of RecursiveDirectoryIterator to dot files).

13 years agoMerge branch 'PHP-5.4'
Nikita Popov [Sun, 1 Jul 2012 15:06:51 +0000 (17:06 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fix accidential change of php_version.h

13 years agoFix accidential change of php_version.h
Nikita Popov [Sun, 1 Jul 2012 15:05:19 +0000 (17:05 +0200)]
Fix accidential change of php_version.h

For some reason the merge reverts changed the version :/

13 years agoMerge branch 'PHP-5.4'
Nikita Popov [Sun, 1 Jul 2012 14:51:18 +0000 (16:51 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Revert JSON merges to 5.4
  Revert JSON changes to PHP 5.3

13 years agoRevert JSON merges to 5.4
Nikita Popov [Sun, 1 Jul 2012 14:38:26 +0000 (16:38 +0200)]
Revert JSON merges to 5.4

This reverts the following merge commits (-m 1):

405ebfcd182a39f0960ff7d7055d49053d3e0316
d372b33c9b941be9a795bf3705bd22dc5f6092c3
36fa17a5fae84ab332366a202f0a709279a2466a

13 years agoMerge branch 'PHP-5.3' into PHP-5.4
Nikita Popov [Sun, 1 Jul 2012 14:35:43 +0000 (16:35 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Revert JSON changes to PHP 5.3

13 years agoRevert JSON changes to PHP 5.3
Nikita Popov [Sun, 1 Jul 2012 14:28:57 +0000 (16:28 +0200)]
Revert JSON changes to PHP 5.3

This reverts the following commits:

974324676b2436f159f42d9241c569f813471684
4662151ea7d7b6920d115cf2a2d6e9d4232727a3
84fe2cc890e49f40bac7c3ba74b3cfc6dc4cef2f

This does not revert the JSON changes released in PHP 5.3.14.

13 years agoMerge branch 'PHP-5.4'
Stanislav Malyshev [Sun, 1 Jul 2012 02:15:10 +0000 (19:15 -0700)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  fix bug #61359: json_encode() calls too many reallocs

13 years agofix bug #61359: json_encode() calls too many reallocs
Stanislav Malyshev [Sun, 1 Jul 2012 02:14:30 +0000 (19:14 -0700)]
fix bug #61359: json_encode() calls too many reallocs

13 years agoMerge branch 'PHP-5.4'
Stanislav Malyshev [Sun, 1 Jul 2012 00:37:30 +0000 (17:37 -0700)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  update NEWS
  remove duplicates, fix order

13 years agoMerge branch 'PHP-5.3' into PHP-5.4
Stanislav Malyshev [Sun, 1 Jul 2012 00:37:20 +0000 (17:37 -0700)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  remove duplicates, fix order

13 years agoupdate NEWS
Stanislav Malyshev [Sun, 1 Jul 2012 00:37:09 +0000 (17:37 -0700)]
update NEWS

13 years agoremove duplicates, fix order
Stanislav Malyshev [Sun, 1 Jul 2012 00:36:22 +0000 (17:36 -0700)]
remove duplicates, fix order

13 years agoMerge branch 'PHP-5.4'
Stanislav Malyshev [Sun, 1 Jul 2012 00:00:25 +0000 (17:00 -0700)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fixed the common misspelling of the word occurred (occured -> occurred)

13 years agoFixed the common misspelling of the word occurred (occured -> occurred)
Marc Easen [Mon, 11 Jun 2012 20:47:40 +0000 (21:47 +0100)]
Fixed the common misspelling of the word occurred (occured -> occurred)

13 years ago- Fixed bug #62415 (Undefined variable: diff in run-tests.php on line 2093 for succes...
Felipe Pena [Sat, 30 Jun 2012 19:42:28 +0000 (16:42 -0300)]
- Fixed bug #62415 (Undefined variable: diff in run-tests.php on line 2093 for successful XFAIL)

13 years agoMerge branch 'PHP-5.3' into PHP-5.4
Felipe Pena [Sat, 30 Jun 2012 19:29:47 +0000 (16:29 -0300)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  - Fixed bug #62415 (Undefined variable: diff in run-tests.php on line 2093 for successful XFAIL)

13 years ago- Fixed bug #62415 (Undefined variable: diff in run-tests.php on line 2093 for succes...
Felipe Pena [Sat, 30 Jun 2012 19:29:30 +0000 (16:29 -0300)]
- Fixed bug #62415 (Undefined variable: diff in run-tests.php on line 2093 for successful XFAIL)

13 years agomerge
andrey [Fri, 29 Jun 2012 13:58:53 +0000 (16:58 +0300)]
merge

13 years agomerge
andrey [Fri, 29 Jun 2012 13:32:55 +0000 (16:32 +0300)]
merge

13 years agoMerge branch 'PHP-5.3' into PHP-5.4
andrey [Fri, 29 Jun 2012 11:48:37 +0000 (14:48 +0300)]
Merge branch 'PHP-5.3' into PHP-5.4

13 years agofix Bug #62273 Segmentation Fault in Mysqli/Mysqlnd
andrey [Fri, 29 Jun 2012 11:42:36 +0000 (14:42 +0300)]
fix Bug #62273  Segmentation Fault in Mysqli/Mysqlnd

13 years agoMerge branch 'PHP-5.3' into PHP-5.4
andrey [Fri, 29 Jun 2012 11:41:11 +0000 (14:41 +0300)]
Merge branch 'PHP-5.3' into PHP-5.4

13 years agoMerge branch 'PHP-5.4' of ssh://git.php.net/php-src into PHP-5.4
andrey [Fri, 29 Jun 2012 11:41:01 +0000 (14:41 +0300)]
Merge branch 'PHP-5.4' of ssh://git.php.net/php-src into PHP-5.4

13 years agoMerge branch 'PHP-5.3' of ssh://git.php.net/php-src into PHP-5.3
andrey [Fri, 29 Jun 2012 11:40:41 +0000 (14:40 +0300)]
Merge branch 'PHP-5.3' of ssh://git.php.net/php-src into PHP-5.3

13 years agoMerge branch 'master' of ssh://git.php.net/php-src
andrey [Fri, 29 Jun 2012 11:39:47 +0000 (14:39 +0300)]
Merge branch 'master' of ssh://git.php.net/php-src

13 years agoMerge branch 'PHP-5.4'
Nikita Popov [Fri, 29 Jun 2012 11:15:53 +0000 (13:15 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fix some lengths in crypt()

13 years agoMerge branch 'PHP-5.3' into PHP-5.4
Nikita Popov [Fri, 29 Jun 2012 11:15:35 +0000 (13:15 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fix some lengths in crypt()

Conflicts:
ext/standard/crypt.c

13 years agoFix some lengths in crypt()
Nikita Popov [Fri, 29 Jun 2012 10:47:37 +0000 (12:47 +0200)]
Fix some lengths in crypt()

Use salt_len_in instead of strlen(salt) or PHP_MAX_SALT_LEN, otherwise too
much memory will be allocated.

sha512 has a 86 character checksum, not 43. That probably was a copy&paste
from the sha256 code which indeed has 43.

The allocation also was using sizeof(char *), thus allocating 4 or 8 times
as much memory as necessary. The sizeof(char *) was removed in the 5.4
branch in b7a92c9 but forgotten on 5.3.

The memset 0 call was using PHP_MAX_SALT_LEN which can be smaller than the
output buffer and thus not zeroing out everything. Use the size of the
output buffer (needed) instead.

13 years agoMerge branch 'master' of ssh://git.php.net/php-src
andrey [Fri, 29 Jun 2012 09:44:49 +0000 (12:44 +0300)]
Merge branch 'master' of ssh://git.php.net/php-src

13 years agoMerge branch 'PHP-5.4'
andrey [Fri, 29 Jun 2012 09:43:41 +0000 (12:43 +0300)]
Merge branch 'PHP-5.4'

13 years agoMerge branch 'PHP-5.3' into PHP-5.4
andrey [Fri, 29 Jun 2012 09:43:14 +0000 (12:43 +0300)]
Merge branch 'PHP-5.3' into PHP-5.4

13 years agonew charsets
andrey [Fri, 29 Jun 2012 09:42:54 +0000 (12:42 +0300)]
new charsets

13 years agoRestore old NEWS file, and re-add new entry.
Anthony Ferrara [Fri, 29 Jun 2012 02:43:59 +0000 (22:43 -0400)]
Restore old NEWS file, and re-add new entry.

This fixes a merge artifact where the 5.4 NEWS
file was accidentally brought in.

13 years agoMerge branch 'PHP-5.4'
Stanislav Malyshev [Fri, 29 Jun 2012 01:09:04 +0000 (18:09 -0700)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  fix NEWS order

13 years agofix NEWS order
Stanislav Malyshev [Fri, 29 Jun 2012 01:08:11 +0000 (18:08 -0700)]
fix NEWS order

13 years agoMerge branch 'PHP-5.4'
Anthony Ferrara [Fri, 29 Jun 2012 00:38:31 +0000 (20:38 -0400)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fixed bug #62443 (Crypt SHA256/512 Segfaults With Malformed Salt)

13 years agoMerge branch 'PHP-5.3' into PHP-5.4
Anthony Ferrara [Fri, 29 Jun 2012 00:36:21 +0000 (20:36 -0400)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fixed bug #62443 (Crypt SHA256/512 Segfaults With Malformed Salt)

13 years agoFixed bug #62443 (Crypt SHA256/512 Segfaults With Malformed Salt)
Anthony Ferrara [Fri, 29 Jun 2012 00:00:03 +0000 (20:00 -0400)]
Fixed bug #62443 (Crypt SHA256/512 Segfaults With Malformed Salt)

Fixed a memory allocation bug in crypt() SHA256/512 that can
cause segmentation faults when passed in salts with a null byte
early.

13 years agoMerge branch 'PHP-5.4'
Nikita Popov [Thu, 28 Jun 2012 22:22:45 +0000 (00:22 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Add json_last_error_msg() function

13 years agoMerge branch 'PHP-5.3' into PHP-5.4
Nikita Popov [Thu, 28 Jun 2012 18:18:19 +0000 (20:18 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Add json_last_error_msg() function

13 years agoAdd json_last_error_msg() function
Nikita Popov [Thu, 28 Jun 2012 18:09:47 +0000 (20:09 +0200)]
Add json_last_error_msg() function

This replaces json_last_error(true) and is consistent with other custom
error handling functions.

13 years agoMerge branch 'PHP-5.4'
Johannes Schlüter [Wed, 27 Jun 2012 21:35:57 +0000 (23:35 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fix #62432 ReflectionMethod random corrupt memory on high concurrent

13 years agoMerge branch 'PHP-5.3' into PHP-5.4
Johannes Schlüter [Wed, 27 Jun 2012 21:35:07 +0000 (23:35 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fix #62432 ReflectionMethod random corrupt memory on high concurrent

Conflicts:
ext/date/php_date.c
ext/fileinfo/fileinfo.c
ext/pdo/pdo_dbh.c
ext/pdo/pdo_stmt.c
ext/reflection/php_reflection.c
ext/spl/spl_array.c
ext/spl/spl_directory.c
ext/spl/spl_dllist.c
ext/spl/spl_fixedarray.c
ext/spl/spl_heap.c
ext/spl/spl_iterators.c
ext/spl/spl_observer.c
ext/sqlite/sqlite.c
ext/sqlite3/sqlite3.c
ext/tidy/tidy.c
ext/xmlreader/php_xmlreader.c
ext/xmlwriter/php_xmlwriter.c
ext/xsl/php_xsl.c
ext/zip/php_zip.c

13 years agoFix #62432 ReflectionMethod random corrupt memory on high concurrent
Johannes Schlüter [Wed, 27 Jun 2012 21:26:33 +0000 (23:26 +0200)]
Fix #62432 ReflectionMethod random corrupt memory on high concurrent

This fixes the same issue in multiple extensions. This isn't needed
in later branches as 5.4 introduced object_properties_init()

13 years agoMerge branch 'master' of http://git.php.net/repository/php-src
andrey [Wed, 27 Jun 2012 13:51:35 +0000 (16:51 +0300)]
Merge branch 'master' of http://git.php.net/repository/php-src

13 years agotrace allocations in a file
andrey [Wed, 27 Jun 2012 13:51:07 +0000 (16:51 +0300)]
trace allocations in a file

13 years ago- Fixed build
Felipe Pena [Wed, 27 Jun 2012 12:01:02 +0000 (09:01 -0300)]
- Fixed build

13 years agoMerge branch 'PHP-5.4'
Nikita Popov [Wed, 27 Jun 2012 10:32:20 +0000 (12:32 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Improve JSON error handling

Conflicts:
main/php_version.h

13 years agoMerge branch 'PHP-5.3' into PHP-5.4
Nikita Popov [Wed, 27 Jun 2012 10:28:55 +0000 (12:28 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Improve JSON error handling

Conflicts:
ext/json/tests/bug54058.phpt
ext/json/tests/bug61537.phpt

13 years agoImprove JSON error handling
Nikita Popov [Wed, 27 Jun 2012 10:19:41 +0000 (12:19 +0200)]
Improve JSON error handling

json_encode() no longer throws warnings. Instead only the error code for
json_last_error() is set.

As it is hard to debug the error from just an error code an optional
$as_string parameter was added to json_last_error(), which returns an
error message instead of an error code.

13 years agoMerge branch 'PHP-5.4'
Johannes Schlüter [Wed, 27 Jun 2012 09:48:05 +0000 (11:48 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fix memleak in CLI

13 years agoMerge branch 'PHP-5.3' into PHP-5.4
Johannes Schlüter [Wed, 27 Jun 2012 09:46:57 +0000 (11:46 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fix memleak in CLI

Conflicts:
sapi/cli/php_cli.c

13 years agoFix memleak in CLI
Johannes Schlüter [Wed, 27 Jun 2012 09:42:43 +0000 (11:42 +0200)]
Fix memleak in CLI

13 years agoMerge branch 'PHP-5.4'
Stanislav Malyshev [Wed, 27 Jun 2012 04:56:27 +0000 (21:56 -0700)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  update NEWS

13 years agoupdate NEWS
Stanislav Malyshev [Wed, 27 Jun 2012 04:56:11 +0000 (21:56 -0700)]
update NEWS

13 years agoMerge branch 'PHP-5.4'
Stanislav Malyshev [Wed, 27 Jun 2012 04:53:55 +0000 (21:53 -0700)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  ws fix
  BFN
  Fix bug #62373 (serialize() generates wrong reference to the object)

13 years agoMerge branch 'PHP-5.3' into PHP-5.4
Stanislav Malyshev [Wed, 27 Jun 2012 04:53:40 +0000 (21:53 -0700)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  ws fix
  BFN
  Fix bug #62373 (serialize() generates wrong reference to the object)

Conflicts:
php.ini-development
php.ini-production

13 years agows fix
Stanislav Malyshev [Tue, 26 Jun 2012 22:22:29 +0000 (15:22 -0700)]
ws fix

13 years agoMerge branch 'PHP-5.4'
Xinchen Hui [Tue, 26 Jun 2012 10:50:52 +0000 (18:50 +0800)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fixed bug #62357 (compile failure: (S) Arguments missing for built-in function __memcmp).

13 years agoFixed bug #62357 (compile failure: (S) Arguments missing for built-in function __memcmp).
Xinchen Hui [Tue, 26 Jun 2012 10:42:33 +0000 (18:42 +0800)]
Fixed bug #62357 (compile failure: (S) Arguments missing for built-in function __memcmp).

Any C library function may be a macro, We should avoid using ZEND_STRS(L) as their arguments

13 years agoMerge branch 'master' of git.php.net:/php-src
Johannes Schlüter [Tue, 26 Jun 2012 10:34:36 +0000 (12:34 +0200)]
Merge branch 'master' of git.php.net:/php-src

* 'master' of git.php.net:/php-src: (22 commits)
  Fix bug #62373 (serialize() generates wrong reference to the object)
  Update UPGRADING given 7596445
  Fix typo in error message
  BreakIterator: fix compat with old ICU versions
  Fix build error one ext/intl
  Duplicate test for ICU 49
  Fix undeclared intl_locale_get_default()
  Fix memory allocation checks for base64 encode
  Improve json_encode error handling
  - BFN
  - BFN
  - Improved fix for #62384
  BreakIterator::getPartsIterator: new optional arg
  Added IntlCodePointBreakIterator.
  Add Intl prefix to BreakIterator/RuleBasedBI
  Remove trailing space
  Replaced zend_parse_method_params with plain zpp
  BreakIter: Removed getAvailableLocales/getHashCode
  Change in BreakIterator::getPartsIterator()
  BreakIterator: add rules status constants
  ...

13 years agoPass orig filename and line through to emalloc and friends
Johannes Schlüter [Tue, 26 Jun 2012 10:33:36 +0000 (12:33 +0200)]
Pass orig filename and line through to emalloc and friends

13 years agoBFN
Moriyoshi Koizumi [Mon, 25 Jun 2012 10:20:38 +0000 (19:20 +0900)]
BFN

13 years agoMerge branch 'PHP-5.4'
Moriyoshi Koizumi [Mon, 25 Jun 2012 10:16:40 +0000 (19:16 +0900)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fix bug #62373 (serialize() generates wrong reference to the object)

13 years agoFix bug #62373 (serialize() generates wrong reference to the object)
Moriyoshi Koizumi [Mon, 25 Jun 2012 10:13:23 +0000 (19:13 +0900)]
Fix bug #62373 (serialize() generates wrong reference to the object)

13 years agoFix bug #62373 (serialize() generates wrong reference to the object)
Moriyoshi Koizumi [Mon, 25 Jun 2012 10:13:23 +0000 (19:13 +0900)]
Fix bug #62373 (serialize() generates wrong reference to the object)

13 years agoUpdate UPGRADING given 7596445
Gustavo André dos Santos Lopes [Mon, 25 Jun 2012 10:12:22 +0000 (12:12 +0200)]
Update UPGRADING given 7596445

13 years agoMerge branch 'break_iterator'
Gustavo André dos Santos Lopes [Mon, 25 Jun 2012 10:11:49 +0000 (12:11 +0200)]
Merge branch 'break_iterator'

* break_iterator:
  Fix typo in error message
  BreakIterator: fix compat with old ICU versions
  Fix build error one ext/intl
  BreakIterator::getPartsIterator: new optional arg
  Added IntlCodePointBreakIterator.
  Add Intl prefix to BreakIterator/RuleBasedBI
  Remove trailing space
  Replaced zend_parse_method_params with plain zpp
  BreakIter: Removed getAvailableLocales/getHashCode
  Change in BreakIterator::getPartsIterator()
  BreakIterator: add rules status constants
  Tests for (RuleBased)BreakIterator.
  BreakIterator and RuleBasedBreakiterator added