]> granicus.if.org Git - php/log
php
12 years agoMerge branch 'PHP-5.4'
Johannes Schlüter [Fri, 13 Apr 2012 00:17:05 +0000 (02:17 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Move and update README.SVN-RULES to README.GIT-RULES

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Johannes Schlüter [Fri, 13 Apr 2012 00:15:39 +0000 (02:15 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Move and update README.SVN-RULES to README.GIT-RULES

12 years agoMove and update README.SVN-RULES to README.GIT-RULES
Johannes Schlüter [Fri, 13 Apr 2012 00:12:47 +0000 (02:12 +0200)]
Move and update README.SVN-RULES to README.GIT-RULES

12 years agoMerge branch 'PHP-5.4'
Xinchen Hui [Thu, 12 Apr 2012 16:12:40 +0000 (00:12 +0800)]
Merge branch 'PHP-5.4'

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Xinchen Hui [Thu, 12 Apr 2012 16:11:04 +0000 (00:11 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4

12 years agoFixed test faild
Xinchen Hui [Thu, 12 Apr 2012 16:07:07 +0000 (00:07 +0800)]
Fixed test faild

the sun_path will not be that much long:
 http://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/un.h.html

12 years agoMerge branch 'PHP-5.4'
Johannes Schlüter [Thu, 12 Apr 2012 10:03:20 +0000 (12:03 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Remove cherry-picked items for 5.3.11
  Fix bug #61537 (json_encode() incorrectly truncates/discards information) and remove a test case that's now mooted by this fix.

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Johannes Schlüter [Thu, 12 Apr 2012 10:02:38 +0000 (12:02 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Remove cherry-picked items for 5.3.11
  Fix bug #61537 (json_encode() incorrectly truncates/discards information) and remove a test case that's now mooted by this fix.

Conflicts:
ext/json/json.c
ext/json/php_json.h

12 years agoRemove cherry-picked items for 5.3.11
Johannes Schlüter [Thu, 12 Apr 2012 09:21:41 +0000 (11:21 +0200)]
Remove cherry-picked items for 5.3.11

12 years agoMerge branch 'PHP-5.4'
Stanislav Malyshev [Thu, 12 Apr 2012 02:24:11 +0000 (19:24 -0700)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Copy default properties of internal classes for different threads

12 years agoCopy default properties of internal classes for different threads
Johannes Schlüter [Thu, 5 Apr 2012 16:46:52 +0000 (18:46 +0200)]
Copy default properties of internal classes for different threads

12 years agoMerge branch 'PHP-5.4'
Adam Harvey [Wed, 11 Apr 2012 00:33:11 +0000 (08:33 +0800)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Update test to fix breakage caused by the previous commit.
  Fix bug #61537 (json_encode() incorrectly truncates/discards information) and remove a test case that's now mooted by this fix.

Conflicts:
NEWS

12 years agoUpdate test to fix breakage caused by the previous commit.
Adam Harvey [Mon, 2 Apr 2012 02:30:02 +0000 (10:30 +0800)]
Update test to fix breakage caused by the previous commit.

12 years agoFix bug #61537 (json_encode() incorrectly truncates/discards information) and
Adam Harvey [Mon, 2 Apr 2012 01:46:18 +0000 (09:46 +0800)]
Fix bug #61537 (json_encode() incorrectly truncates/discards information) and
remove a test case that's now mooted by this fix.

12 years agoFix bug #61537 (json_encode() incorrectly truncates/discards information) and
Adam Harvey [Mon, 2 Apr 2012 01:46:18 +0000 (09:46 +0800)]
Fix bug #61537 (json_encode() incorrectly truncates/discards information) and
remove a test case that's now mooted by this fix.

12 years agoMerge branch '5.4'
Gustavo André dos Santos Lopes [Tue, 10 Apr 2012 18:45:47 +0000 (19:45 +0100)]
Merge branch '5.4'

12 years agoMerge .gitattributes EOL commit from 5.3.
Gustavo André dos Santos Lopes [Tue, 10 Apr 2012 18:41:33 +0000 (19:41 +0100)]
Merge .gitattributes EOL commit from 5.3.

This merge commit includes several changes from the 5.3 commit.
This is because of 1) different tests between the two branches
and 2) the svn:eol-style attributes differing between the two
branches.

12 years agoDisabled EOL conversions on certain tests
Gustavo André dos Santos Lopes [Tue, 10 Apr 2012 18:41:07 +0000 (19:41 +0100)]
Disabled EOL conversions on certain tests

12 years agoMerge branch 'PHP-5.4'
Anatoliy Belsky [Tue, 10 Apr 2012 13:24:19 +0000 (15:24 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fixed bug #61669 ext\standard\tests\file\rename_variation7-win32.phpt fails

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Anatoliy Belsky [Tue, 10 Apr 2012 13:23:38 +0000 (15:23 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fixed bug #61669 ext\standard\tests\file\rename_variation7-win32.phpt fails

Conflicts:
ext/standard/tests/file/rename_variation7-win32.phpt

12 years agoFixed bug #61669 ext\standard\tests\file\rename_variation7-win32.phpt fails
Anatoliy Belsky [Tue, 10 Apr 2012 13:16:48 +0000 (15:16 +0200)]
Fixed bug #61669 ext\standard\tests\file\rename_variation7-win32.phpt fails

12 years agoMerge branch 'PHP-5.4'
Anatoliy Belsky [Tue, 10 Apr 2012 13:13:12 +0000 (15:13 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fixed bug #61668 ext\standard\tests\file\rename_variation13-win32.phpt fails

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Anatoliy Belsky [Tue, 10 Apr 2012 13:12:42 +0000 (15:12 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fixed bug #61668 ext\standard\tests\file\rename_variation13-win32.phpt fails

Conflicts:
ext/standard/tests/file/rename_variation13-win32.phpt

12 years agoFixed bug #61668 ext\standard\tests\file\rename_variation13-win32.phpt fails
Anatoliy Belsky [Tue, 10 Apr 2012 13:09:21 +0000 (15:09 +0200)]
Fixed bug #61668 ext\standard\tests\file\rename_variation13-win32.phpt fails

12 years agoMerge branch 'PHP-5.4'
Anatoliy Belsky [Tue, 10 Apr 2012 13:04:24 +0000 (15:04 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fix bug #61667 ext\standard\tests\file\glob_variation-win32.phpt fails

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Anatoliy Belsky [Tue, 10 Apr 2012 13:03:41 +0000 (15:03 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fix bug #61667 ext\standard\tests\file\glob_variation-win32.phpt fails

Conflicts:
ext/standard/tests/file/glob_variation-win32.phpt

12 years agoFix bug #61667 ext\standard\tests\file\glob_variation-win32.phpt fails
Anatoliy Belsky [Tue, 10 Apr 2012 13:00:03 +0000 (15:00 +0200)]
Fix bug #61667 ext\standard\tests\file\glob_variation-win32.phpt fails

12 years agoMerge branch 'PHP-5.4'
Anatoliy Belsky [Tue, 10 Apr 2012 12:56:01 +0000 (14:56 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fixed bug #61666 ext\standard\tests\file\file_put_contents_variation8-win32.phpt fails

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Anatoliy Belsky [Tue, 10 Apr 2012 12:55:38 +0000 (14:55 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fixed bug #61666 ext\standard\tests\file\file_put_contents_variation8-win32.phpt fails

Conflicts:
ext/standard/tests/file/file_put_contents_variation8-win32.phpt

12 years agoFixed bug #61666 ext\standard\tests\file\file_put_contents_variation8-win32.phpt...
Anatoliy Belsky [Tue, 10 Apr 2012 12:13:15 +0000 (14:13 +0200)]
Fixed bug #61666 ext\standard\tests\file\file_put_contents_variation8-win32.phpt fails

12 years agoMerge branch 'PHP-5.4'
Anatoliy Belsky [Tue, 10 Apr 2012 12:05:45 +0000 (14:05 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fix bug #61659 Test ext\spl\tests\bug60082.phpt fails
  Fixed bug #61638 Test ext\sockets\tests\unixloop.phpt fails
  Fixed bug #61637 ext\sockets\tests\socket_sentto_recvfrom_unix.phpt
  Fixed bug #61635 ext\sockets\tests\socket_select-wrongparams-1.phpt
  Fixed bug #61638 Test ext\sockets\tests\unixloop.phpt fails
  Fixed bug #61637 ext\sockets\tests\socket_sentto_recvfrom_unix.phpt
  Fixed bug #61635 ext\sockets\tests\socket_select-wrongparams-1.phpt

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Anatoliy Belsky [Tue, 10 Apr 2012 12:05:07 +0000 (14:05 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fix bug #61659 Test ext\spl\tests\bug60082.phpt fails
  Fixed bug #61638 Test ext\sockets\tests\unixloop.phpt fails
  Fixed bug #61637 ext\sockets\tests\socket_sentto_recvfrom_unix.phpt
  Fixed bug #61635 ext\sockets\tests\socket_select-wrongparams-1.phpt

Conflicts:
ext/spl/tests/bug60082.phpt

12 years agoFix bug #61659 Test ext\spl\tests\bug60082.phpt fails
Anatoliy Belsky [Tue, 10 Apr 2012 12:03:19 +0000 (14:03 +0200)]
Fix bug #61659 Test ext\spl\tests\bug60082.phpt fails

12 years agoFixed bug #61638 Test ext\sockets\tests\unixloop.phpt fails
Anatoliy Belsky [Tue, 10 Apr 2012 11:58:15 +0000 (13:58 +0200)]
Fixed bug #61638 Test ext\sockets\tests\unixloop.phpt fails

12 years agoFixed bug #61637 ext\sockets\tests\socket_sentto_recvfrom_unix.phpt
Anatoliy Belsky [Tue, 10 Apr 2012 11:54:22 +0000 (13:54 +0200)]
Fixed bug #61637 ext\sockets\tests\socket_sentto_recvfrom_unix.phpt

12 years agoFixed bug #61635 ext\sockets\tests\socket_select-wrongparams-1.phpt
Anatoliy Belsky [Tue, 10 Apr 2012 11:40:20 +0000 (13:40 +0200)]
Fixed bug #61635 ext\sockets\tests\socket_select-wrongparams-1.phpt

12 years agoFixed bug #61638 Test ext\sockets\tests\unixloop.phpt fails
Anatoliy Belsky [Tue, 10 Apr 2012 11:58:15 +0000 (13:58 +0200)]
Fixed bug #61638 Test ext\sockets\tests\unixloop.phpt fails

12 years agoFixed bug #61637 ext\sockets\tests\socket_sentto_recvfrom_unix.phpt
Anatoliy Belsky [Tue, 10 Apr 2012 11:54:22 +0000 (13:54 +0200)]
Fixed bug #61637 ext\sockets\tests\socket_sentto_recvfrom_unix.phpt

12 years agoFixed bug #61635 ext\sockets\tests\socket_select-wrongparams-1.phpt
Anatoliy Belsky [Tue, 10 Apr 2012 11:40:20 +0000 (13:40 +0200)]
Fixed bug #61635 ext\sockets\tests\socket_select-wrongparams-1.phpt

12 years agoFixed bug #61638 Test ext\sockets\tests\unixloop.phpt fails
Anatoliy Belsky [Tue, 10 Apr 2012 11:58:15 +0000 (13:58 +0200)]
Fixed bug #61638 Test ext\sockets\tests\unixloop.phpt fails

12 years agoFixed bug #61637 ext\sockets\tests\socket_sentto_recvfrom_unix.phpt
Anatoliy Belsky [Tue, 10 Apr 2012 11:54:22 +0000 (13:54 +0200)]
Fixed bug #61637 ext\sockets\tests\socket_sentto_recvfrom_unix.phpt

12 years agoFixed bug #61635 ext\sockets\tests\socket_select-wrongparams-1.phpt
Anatoliy Belsky [Tue, 10 Apr 2012 11:40:20 +0000 (13:40 +0200)]
Fixed bug #61635 ext\sockets\tests\socket_select-wrongparams-1.phpt

12 years agoMerge branch 'PHP-5.4'
Anatoliy Belsky [Tue, 10 Apr 2012 11:11:14 +0000 (13:11 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fixed bug #61634 Test ext\sockets\tests\socket_listen-wrongparams.phpt fails
  Fixed bug #61633 Test ext\sockets\tests\socket_create_pair-wrongparams.phpt fails
  Fixed bug #61632 Test ext\sockets\tests\socket_create_listen.phpt fails
  Fixed bug #61633 Test ext\sockets\tests\socket_create_pair-wrongparams.phpt fails
  Fixed bug #61632 Test ext\sockets\tests\socket_create_listen.phpt fails
  Fixed bug 61621 Test fail in ext/standard/tests/dir

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Anatoliy Belsky [Tue, 10 Apr 2012 11:09:48 +0000 (13:09 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fixed bug #61634 Test ext\sockets\tests\socket_listen-wrongparams.phpt fails
  Fixed bug #61633 Test ext\sockets\tests\socket_create_pair-wrongparams.phpt fails
  Fixed bug #61632 Test ext\sockets\tests\socket_create_listen.phpt fails
  Fixed bug 61621 Test fail in ext/standard/tests/dir

12 years agoFixed bug #61634 Test ext\sockets\tests\socket_listen-wrongparams.phpt fails
Anatoliy Belsky [Tue, 10 Apr 2012 11:08:57 +0000 (13:08 +0200)]
Fixed bug #61634 Test ext\sockets\tests\socket_listen-wrongparams.phpt fails

12 years agoFixed bug #61633 Test ext\sockets\tests\socket_create_pair-wrongparams.phpt fails
Anatoliy Belsky [Tue, 10 Apr 2012 11:02:53 +0000 (13:02 +0200)]
Fixed bug #61633 Test ext\sockets\tests\socket_create_pair-wrongparams.phpt fails

12 years agoFixed bug #61632 Test ext\sockets\tests\socket_create_listen.phpt fails
Anatoliy Belsky [Tue, 10 Apr 2012 10:57:10 +0000 (12:57 +0200)]
Fixed bug #61632 Test ext\sockets\tests\socket_create_listen.phpt fails

12 years agoFixed bug #61633 Test ext\sockets\tests\socket_create_pair-wrongparams.phpt fails
Anatoliy Belsky [Tue, 10 Apr 2012 11:02:53 +0000 (13:02 +0200)]
Fixed bug #61633 Test ext\sockets\tests\socket_create_pair-wrongparams.phpt fails

12 years agoFixed bug #61632 Test ext\sockets\tests\socket_create_listen.phpt fails
Anatoliy Belsky [Tue, 10 Apr 2012 10:57:10 +0000 (12:57 +0200)]
Fixed bug #61632 Test ext\sockets\tests\socket_create_listen.phpt fails

12 years agoFixed bug #61633 Test ext\sockets\tests\socket_create_pair-wrongparams.phpt fails
Anatoliy Belsky [Tue, 10 Apr 2012 11:02:53 +0000 (13:02 +0200)]
Fixed bug #61633 Test ext\sockets\tests\socket_create_pair-wrongparams.phpt fails

12 years agoFixed bug #61632 Test ext\sockets\tests\socket_create_listen.phpt fails
Anatoliy Belsky [Tue, 10 Apr 2012 10:57:10 +0000 (12:57 +0200)]
Fixed bug #61632 Test ext\sockets\tests\socket_create_listen.phpt fails

12 years agoFixed bug 61621 Test fail in ext/standard/tests/dir
Anatoliy Belsky [Tue, 10 Apr 2012 10:47:01 +0000 (12:47 +0200)]
Fixed bug 61621 Test fail in ext/standard/tests/dir

12 years agoMerge branch 'PHP-5.4'
Anatoliy Belsky [Tue, 10 Apr 2012 10:38:19 +0000 (12:38 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fixed bug #61611 ext\date\tests\date_default_timezone_get-2.phpt fails
  Fixed bug #61631 mbstring mail related tests fail
  Fixed bug #61610 Test ext\date\tests\date_default_timezone_get-1.diff fails
  Fix bug #61609 Test ext\date\tests\bug52062.phpt fails As expressed in the comments http://de.php.net/manual/en/datetime.gettimestamp.php this is the generic 32 bit timestamp issue
  Fixed bug #61631 mbstring mail related tests fail
  Fixed bug #61610 Test ext\date\tests\date_default_timezone_get-1.diff fails
  Fix bug #61609 Test ext\date\tests\bug52062.phpt fails As expressed in the comments http://de.php.net/manual/en/datetime.gettimestamp.php this is the generic 32 bit timestamp issue
  MFH: fixed a mistake on reverting my previous patch.

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Anatoliy Belsky [Tue, 10 Apr 2012 10:37:37 +0000 (12:37 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fixed bug #61611 ext\date\tests\date_default_timezone_get-2.phpt fails
  Fixed bug #61631 mbstring mail related tests fail
  Fixed bug #61610 Test ext\date\tests\date_default_timezone_get-1.diff fails
  Fix bug #61609 Test ext\date\tests\bug52062.phpt fails As expressed in the comments http://de.php.net/manual/en/datetime.gettimestamp.php this is the generic 32 bit timestamp issue

12 years agoFixed bug #61611 ext\date\tests\date_default_timezone_get-2.phpt fails
Anatoliy Belsky [Tue, 10 Apr 2012 10:33:11 +0000 (12:33 +0200)]
Fixed bug #61611 ext\date\tests\date_default_timezone_get-2.phpt fails

The behaviour on windows is to select an arbitrary timezone from the
current system settings. This gives no chance to hardcode the timezone
name, for instance for UTC+1 it could choose from the multiple names
like Europe/Berlin or Europe/Paris . For this reason the test is
parametrized so there is no hardcoded timezone data.

The original test made to be skipped on windows and a duplicate was made
for windows. Tested on debian and win7 both x86.

12 years agoFixed bug #61631 mbstring mail related tests fail
Anatoliy Belsky [Tue, 10 Apr 2012 09:47:18 +0000 (11:47 +0200)]
Fixed bug #61631 mbstring mail related tests fail

12 years agoFixed bug #61610 Test ext\date\tests\date_default_timezone_get-1.diff fails
Anatoliy Belsky [Tue, 10 Apr 2012 09:03:41 +0000 (11:03 +0200)]
Fixed bug #61610 Test ext\date\tests\date_default_timezone_get-1.diff fails

The behaviour on windows is to select an arbitrary timezone from the current system settings.
This gives no chance to hardcode the timezone name, for instance for UTC+1 it could choose
from the multiple names like Europe/Berlin or Europe/Paris . For this reason the test is
parametrized so there is no hardcoded timezone data.

The original test made to be skipped on windows and a duplicate was made for windows.

12 years agoFix bug #61609 Test ext\date\tests\bug52062.phpt fails
Anatoliy Belsky [Tue, 10 Apr 2012 08:18:10 +0000 (10:18 +0200)]
Fix bug #61609 Test ext\date\tests\bug52062.phpt fails
As expressed in the comments http://de.php.net/manual/en/datetime.gettimestamp.php
this is the generic 32 bit timestamp issue

12 years agoFixed bug #61631 mbstring mail related tests fail
Anatoliy Belsky [Tue, 10 Apr 2012 09:47:18 +0000 (11:47 +0200)]
Fixed bug #61631 mbstring mail related tests fail

12 years agoFixed bug #61610 Test ext\date\tests\date_default_timezone_get-1.diff fails
Anatoliy Belsky [Tue, 10 Apr 2012 09:03:41 +0000 (11:03 +0200)]
Fixed bug #61610 Test ext\date\tests\date_default_timezone_get-1.diff fails

The behaviour on windows is to select an arbitrary timezone from the current system settings.
This gives no chance to hardcode the timezone name, for instance for UTC+1 it could choose
from the multiple names like Europe/Berlin or Europe/Paris . For this reason the test is
parametrized so there is no hardcoded timezone data.

The original test made to be skipped on windows and a duplicate was made for windows.

12 years agoFix bug #61609 Test ext\date\tests\bug52062.phpt fails
Anatoliy Belsky [Tue, 10 Apr 2012 08:18:10 +0000 (10:18 +0200)]
Fix bug #61609 Test ext\date\tests\bug52062.phpt fails
As expressed in the comments http://de.php.net/manual/en/datetime.gettimestamp.php
this is the generic 32 bit timestamp issue

12 years agoFixed bug #61631 mbstring mail related tests fail
Anatoliy Belsky [Tue, 10 Apr 2012 09:47:18 +0000 (11:47 +0200)]
Fixed bug #61631 mbstring mail related tests fail

12 years agoFixed bug #61610 Test ext\date\tests\date_default_timezone_get-1.diff fails
Anatoliy Belsky [Tue, 10 Apr 2012 09:03:41 +0000 (11:03 +0200)]
Fixed bug #61610 Test ext\date\tests\date_default_timezone_get-1.diff fails

The behaviour on windows is to select an arbitrary timezone from the current system settings.
This gives no chance to hardcode the timezone name, for instance for UTC+1 it could choose
from the multiple names like Europe/Berlin or Europe/Paris . For this reason the test is
parametrized so there is no hardcoded timezone data.

The original test made to be skipped on windows and a duplicate was made for windows.

12 years agoFix bug #61609 Test ext\date\tests\bug52062.phpt fails
Anatoliy Belsky [Tue, 10 Apr 2012 08:18:10 +0000 (10:18 +0200)]
Fix bug #61609 Test ext\date\tests\bug52062.phpt fails
As expressed in the comments http://de.php.net/manual/en/datetime.gettimestamp.php
this is the generic 32 bit timestamp issue

12 years agoMerge pull-request 46: Allowing more expressions into ${}
Etienne Kneuss [Mon, 9 Apr 2012 16:35:06 +0000 (18:35 +0200)]
Merge pull-request 46: Allowing more expressions into ${}

Fix lexer so that ${} interpolation accepts expressions starting
with an identifier that are not T_STRING_VARNAME.

12 years agoFix bug #61681: Malformed grammar
Nikita Popov [Mon, 9 Apr 2012 16:19:49 +0000 (18:19 +0200)]
Fix bug #61681: Malformed grammar

Generate T_STRING_VARNAME only if it actually is one. This is only the case
for "${varname}" and "${varname[offset]}" so we can just add a check for
} or [ after the LABEL.

12 years agoMFH: fixed a mistake on reverting my previous patch.
Rui Hirokawa [Mon, 9 Apr 2012 14:49:18 +0000 (23:49 +0900)]
MFH: fixed a mistake on reverting my previous patch.

12 years agofixed a mistake on reverting my previous patch:
Rui Hirokawa [Mon, 9 Apr 2012 14:32:41 +0000 (23:32 +0900)]
fixed a mistake on reverting my previous patch:
http://git.php.net/?p=php-src.git;a=commitdiff;h=50b2e02c045b61f99e8c72d54e6bec055aee98e4

12 years agoMerge branch 'PHP-5.4'
Nikita Popov [Sun, 8 Apr 2012 20:41:04 +0000 (22:41 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fix bug #61660: bin2hex(hex2bin($data)) != $data

12 years agoFix bug #61660: bin2hex(hex2bin($data)) != $data
Nikita Popov [Sun, 8 Apr 2012 20:36:50 +0000 (22:36 +0200)]
Fix bug #61660: bin2hex(hex2bin($data)) != $data

If the input data has an odd length a warning is thrown and false is returned.

12 years agoMerge branch '5.4'
Gustavo André dos Santos Lopes [Sat, 7 Apr 2012 15:34:37 +0000 (16:34 +0100)]
Merge branch '5.4'

12 years agoMerge branch '5.3' into 5.4
Gustavo André dos Santos Lopes [Sat, 7 Apr 2012 15:34:17 +0000 (16:34 +0100)]
Merge branch '5.3' into 5.4

12 years agoFixed bug in new stream_get_line() when using NUL as a delimiter.
Gustavo André dos Santos Lopes [Sat, 7 Apr 2012 15:32:19 +0000 (16:32 +0100)]
Fixed bug in new stream_get_line() when using NUL as a delimiter.

This is the issue Derick spotted a few days ago..

12 years agoMerge branch 'PHP-5.4'
Xinchen Hui [Fri, 6 Apr 2012 14:00:15 +0000 (22:00 +0800)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Update NEWS
  Fixed bug #61650 (ini parser crashes when using ${xxxx} ini variables (without apache2))

12 years agoUpdate NEWS
Xinchen Hui [Fri, 6 Apr 2012 13:58:28 +0000 (21:58 +0800)]
Update NEWS

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Xinchen Hui [Fri, 6 Apr 2012 13:57:56 +0000 (21:57 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fixed bug #61650 (ini parser crashes when using ${xxxx} ini variables (without apache2))

12 years agoFixed bug #61650 (ini parser crashes when using ${xxxx} ini variables (without apache2))
Xinchen Hui [Fri, 6 Apr 2012 13:42:40 +0000 (21:42 +0800)]
Fixed bug #61650 (ini parser crashes when using ${xxxx} ini variables (without apache2))

12 years agoMerge branch 'PHP-5.4'
Anatoliy Belsky [Wed, 4 Apr 2012 17:14:06 +0000 (19:14 +0200)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fix bug #61480 test bug - ext/gd/tests/bug48555.phpt
  updated the NEWS with the latest fileinfo changes

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Anatoliy Belsky [Wed, 4 Apr 2012 16:54:03 +0000 (18:54 +0200)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fix bug #61480 test bug - ext/gd/tests/bug48555.phpt
  updated the NEWS with the latest fileinfo changes

Conflicts:
NEWS

12 years agoFix bug #61480 test bug - ext/gd/tests/bug48555.phpt
Matt Ficken [Wed, 4 Apr 2012 16:39:24 +0000 (18:39 +0200)]
Fix bug #61480 test bug - ext/gd/tests/bug48555.phpt

12 years agoupdated the NEWS with the latest fileinfo changes
Anatoliy Belsky [Wed, 4 Apr 2012 10:36:34 +0000 (12:36 +0200)]
updated the NEWS with the latest fileinfo changes

12 years agoMerge branch 'PHP-5.4'
Xinchen Hui [Wed, 4 Apr 2012 09:43:12 +0000 (17:43 +0800)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  fix typo

12 years agofix typo
Xinchen Hui [Wed, 4 Apr 2012 09:41:25 +0000 (17:41 +0800)]
fix typo

12 years agoMerge branch 'PHP-5.4'
Xinchen Hui [Wed, 4 Apr 2012 09:40:01 +0000 (17:40 +0800)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Update NEWS for #61617

12 years agoUpdate NEWS for #61617
Xinchen Hui [Wed, 4 Apr 2012 09:38:43 +0000 (17:38 +0800)]
Update NEWS for #61617

12 years agoMerge branch 'PHP-5.4'
Xinchen Hui [Wed, 4 Apr 2012 09:38:15 +0000 (17:38 +0800)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fixed bug #61617 (Libxml tests failed(ht is already destroyed))
  Cherry-pick 4cc74767

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Xinchen Hui [Wed, 4 Apr 2012 09:36:18 +0000 (17:36 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fixed bug #61617 (Libxml tests failed(ht is already destroyed))
  Cherry-pick 4cc74767

Conflicts:
NEWS

12 years agoFixed bug #61617 (Libxml tests failed(ht is already destroyed))
Xinchen Hui [Wed, 4 Apr 2012 09:22:37 +0000 (17:22 +0800)]
Fixed bug #61617 (Libxml tests failed(ht is already destroyed))

12 years agoCherry-pick 4cc74767
Gustavo André dos Santos Lopes [Wed, 4 Apr 2012 08:59:51 +0000 (09:59 +0100)]
Cherry-pick 4cc74767

Headers: forbid \r and \n also after \0, allow CRLF followed by HT or SP and forbid \0. See bug #60227.

Conflicts:

ext/standard/tests/general_functions/bug60227.phpt
ext/standard/tests/general_functions/bug60227_1.phpt
ext/standard/tests/general_functions/bug60227_2.phpt
main/SAPI.c

12 years agoMerge branch 'PHP-5.4'
Xinchen Hui [Wed, 4 Apr 2012 08:38:43 +0000 (16:38 +0800)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fix warning "suggest parentheses around assignment"

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Xinchen Hui [Wed, 4 Apr 2012 08:37:29 +0000 (16:37 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fix warning "suggest parentheses around assignment"

Conflicts:
main/SAPI.c

12 years agoFix warning "suggest parentheses around assignment"
Xinchen Hui [Wed, 4 Apr 2012 08:35:32 +0000 (16:35 +0800)]
Fix warning "suggest parentheses around assignment"

12 years agoMerge branch 'PHP-5.4'
Xinchen Hui [Wed, 4 Apr 2012 08:16:54 +0000 (16:16 +0800)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fixed bug #61605 (header_remove() does not remove all headers)

Conflicts:
NEWS

12 years agoFixed bug Fixed bug #61605 (header_remove() does not remove all headers)
Xinchen Hui [Wed, 4 Apr 2012 08:14:28 +0000 (16:14 +0800)]
Fixed bug Fixed bug #61605 (header_remove() does not remove all headers)

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Xinchen Hui [Wed, 4 Apr 2012 08:13:02 +0000 (16:13 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4

12 years agoFixed bug #61605 (header_remove() does not remove all headers)
Xinchen Hui [Wed, 4 Apr 2012 08:01:43 +0000 (16:01 +0800)]
Fixed bug #61605 (header_remove() does not remove all headers)

12 years agoMerge branch 'PHP-5.4'
Xinchen Hui [Wed, 4 Apr 2012 07:24:41 +0000 (15:24 +0800)]
Merge branch 'PHP-5.4'

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Xinchen Hui [Wed, 4 Apr 2012 07:24:08 +0000 (15:24 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4

12 years agoFix test
Xinchen Hui [Sat, 24 Mar 2012 04:15:04 +0000 (12:15 +0800)]
Fix test

cherry-pick from php-5.4

12 years agoMerge branch 'PHP-5.4'
Ilia Alshanetsky [Tue, 3 Apr 2012 12:49:45 +0000 (08:49 -0400)]
Merge branch 'PHP-5.4'

* PHP-5.4:
  Fixed bug #61423 (gzip compression fails).