]> granicus.if.org Git - php/log
php
12 years agoMerge branch 'bug64023' into PHP-5.4
Gustavo Lopes [Tue, 22 Jan 2013 11:24:33 +0000 (12:24 +0100)]
Merge branch 'bug64023' into PHP-5.4

* bug64023:
  Fix bug #64023 (__toString() & SplFileInfo)

Conflicts:
Zend/zend_vm_def.h
Zend/zend_vm_execute.h

12 years agoFix bug #64023 (__toString() & SplFileInfo)
Gustavo Lopes [Sat, 19 Jan 2013 15:21:26 +0000 (16:21 +0100)]
Fix bug #64023 (__toString() & SplFileInfo)

Defining a __toString() method was having no effect when concatenating
the object. This was because the cast_object() handler would ignore
__toString().

Using echo() directly would actually use __toString(), but this was a
bug: the ECHO handler would try zend_std_cast_object_tostring() before
cast_object(), but cast_object() should have priority as
zend_std_cast_object_tostring() assumes an object with a
zend_class_entry.

12 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

12 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)

12 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)

12 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

12 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.

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

12 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().

12 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).

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

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

12 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

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

12 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.

12 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."

12 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.

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

12 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.

12 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

12 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)

12 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.

12 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 ").

12 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.

12 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

12 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

12 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

12 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

12 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

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

12 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.

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

12 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.

12 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

12 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

12 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.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 agoMySQL 5.6 EXPIRE PASSWORD flag tests
ULF WENDEL [Thu, 10 Jan 2013 13:51:14 +0000 (14:51 +0100)]
MySQL 5.6 EXPIRE PASSWORD flag tests

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Remi Collet [Thu, 10 Jan 2013 10:17:53 +0000 (11:17 +0100)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fix test after fix for bug #63943 (Bad warning text from strpos() on empty needle) See commit c05ee74e7ff28b49018bf3e8f452bfd5386d1b68

12 years agoFix test after fix for bug #63943 (Bad warning text from strpos() on empty needle)
Remi Collet [Thu, 10 Jan 2013 10:14:38 +0000 (11:14 +0100)]
Fix test after fix for bug #63943 (Bad warning text from strpos() on empty needle)
See commit c05ee74e7ff28b49018bf3e8f452bfd5386d1b68

12 years agoAdd mysqli support - constants and checking in mysqli_options() for the
Andrey Hristov [Wed, 9 Jan 2013 18:14:48 +0000 (19:14 +0100)]
Add mysqli support - constants and checking in mysqli_options() for the
new constant for password expriration

12 years agobackport handling of expired passwords in mysqlnd to 5.4
Andrey Hristov [Wed, 9 Jan 2013 17:58:29 +0000 (18:58 +0100)]
backport handling of expired passwords in mysqlnd to 5.4

12 years agofix compilation error after merge
Andrey Hristov [Wed, 9 Jan 2013 17:39:59 +0000 (18:39 +0100)]
fix compilation error after merge

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Andrey Hristov [Wed, 9 Jan 2013 17:27:50 +0000 (18:27 +0100)]
Merge branch 'PHP-5.3' into PHP-5.4

12 years agoUse during connect the flags set with set_client_option()
Andrey Hristov [Wed, 9 Jan 2013 17:27:06 +0000 (18:27 +0100)]
Use during connect the flags set with set_client_option()

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Dmitry Stogov [Wed, 9 Jan 2013 13:36:44 +0000 (17:36 +0400)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fixed compilator bug that might cause jump depended on unitialized value

12 years agoFixed compilator bug that might cause jump depended on unitialized value
Dmitry Stogov [Wed, 9 Jan 2013 13:16:47 +0000 (17:16 +0400)]
Fixed compilator bug that might cause jump depended on unitialized value

12 years agoFixed bug #63882 (zend_std_compare_objects crash on recursion)
Dmitry Stogov [Wed, 9 Jan 2013 07:30:50 +0000 (11:30 +0400)]
Fixed bug #63882 (zend_std_compare_objects crash on recursion)

12 years agoupdate NEWS
Xinchen Hui [Wed, 9 Jan 2013 02:55:50 +0000 (10:55 +0800)]
update NEWS

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Xinchen Hui [Wed, 9 Jan 2013 02:54:23 +0000 (10:54 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4

12 years agoFixed bug #63943 (Bad warning text from strpos() on empty needle)
Xinchen Hui [Wed, 9 Jan 2013 02:53:20 +0000 (10:53 +0800)]
Fixed bug #63943 (Bad warning text from strpos() on empty needle)

12 years agoAdd NEWS for the previously cherry picked commit.
Adam Harvey [Tue, 8 Jan 2013 03:40:51 +0000 (11:40 +0800)]
Add NEWS for the previously cherry picked commit.

12 years agosapi/litespeed/lsapi_main.c: Fix bug #63228
George Wang [Fri, 12 Oct 2012 17:04:22 +0000 (13:04 -0400)]
sapi/litespeed/lsapi_main.c: Fix bug #63228

Fix compiling error at line 606 (error: format not a string
literal and no format arguments [-Werror=format-security]

12 years agoMerge branch 'PHP-5.4' of git.php.net:/php-src into PHP-5.4
Derick Rethans [Sun, 6 Jan 2013 15:09:55 +0000 (15:09 +0000)]
Merge branch 'PHP-5.4' of git.php.net:/php-src into PHP-5.4

12 years agoUpdate news with new bug fix.
Derick Rethans [Sun, 6 Jan 2013 15:08:26 +0000 (15:08 +0000)]
Update news with new bug fix.

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Derick Rethans [Sun, 6 Jan 2013 15:07:13 +0000 (15:07 +0000)]
Merge branch 'PHP-5.3' into PHP-5.4

12 years agoAdding test for bug #63462
Lars Strojny [Sun, 6 Jan 2013 13:46:49 +0000 (14:46 +0100)]
Adding test for bug #63462

12 years agoFixed bug #55397: Comparsion of incomplete DateTime causes SIGSEGV.
Derick Rethans [Sun, 6 Jan 2013 13:38:22 +0000 (13:38 +0000)]
Fixed bug #55397: Comparsion of incomplete DateTime causes SIGSEGV.

12 years agoCoding style, ANSI C compatibility
Lars Strojny [Sun, 6 Jan 2013 13:08:23 +0000 (14:08 +0100)]
Coding style, ANSI C compatibility

12 years agobump year
Xinchen Hui [Sun, 6 Jan 2013 02:22:15 +0000 (10:22 +0800)]
bump year

12 years agoMerge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
Xinchen Hui [Sun, 6 Jan 2013 02:20:10 +0000 (10:20 +0800)]
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Xinchen Hui [Sun, 6 Jan 2013 02:20:00 +0000 (10:20 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4

12 years agobump year
Xinchen Hui [Sun, 6 Jan 2013 02:19:09 +0000 (10:19 +0800)]
bump year

12 years agoAdding test from 5.5
Lars Strojny [Sun, 6 Jan 2013 02:15:08 +0000 (03:15 +0100)]
Adding test from 5.5

12 years agoBug #63699: performance improvements for varios ext/date functions
Lars Strojny [Sun, 6 Jan 2013 02:06:09 +0000 (03:06 +0100)]
Bug #63699: performance improvements for varios ext/date functions

12 years agoUpdate NEWS
Xinchen Hui [Fri, 4 Jan 2013 03:05:24 +0000 (11:05 +0800)]
Update NEWS

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Xinchen Hui [Fri, 4 Jan 2013 03:03:52 +0000 (11:03 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4

12 years agoFixed bug #63899 (Use after scope error in zend_compile)
Xinchen Hui [Fri, 4 Jan 2013 03:02:21 +0000 (11:02 +0800)]
Fixed bug #63899 (Use after scope error in zend_compile)

12 years ago5.4.12-dev
Stanislav Malyshev [Fri, 4 Jan 2013 01:25:23 +0000 (17:25 -0800)]
5.4.12-dev

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Johannes Schlüter [Thu, 3 Jan 2013 21:59:38 +0000 (22:59 +0100)]
Merge branch 'PHP-5.3' into PHP-5.4

Conflicts:
configure.in
main/php_version.h

12 years agoThis will be PHP 5.3.22
Johannes Schlüter [Thu, 3 Jan 2013 21:56:46 +0000 (22:56 +0100)]
This will be PHP 5.3.22

12 years agoadd bug #63762
Stanislav Malyshev [Wed, 2 Jan 2013 06:09:32 +0000 (22:09 -0800)]
add bug #63762

12 years agoadd fix #43177
Stanislav Malyshev [Wed, 2 Jan 2013 05:24:11 +0000 (21:24 -0800)]
add fix #43177

12 years agoBug #43177: If an eval() has a parse error, the overall exit status and return code...
Stanislav Malyshev [Wed, 2 Jan 2013 04:14:44 +0000 (20:14 -0800)]
Bug #43177: If an eval() has a parse error, the overall exit status and return code should not be affected.

Without this fix, a webpage using eval() may return code 500.  That might display
fine and the 500 go unnoticed, but using AJAX or wget, the 500 will cause problems.

12 years agofix NEWS
Stanislav Malyshev [Mon, 31 Dec 2012 01:58:40 +0000 (17:58 -0800)]
fix NEWS

12 years agoHappy New Year
Xinchen Hui [Tue, 1 Jan 2013 08:28:54 +0000 (16:28 +0800)]
Happy New Year

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Xinchen Hui [Tue, 1 Jan 2013 08:25:09 +0000 (16:25 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4

12 years agoHappy New Year
Xinchen Hui [Tue, 1 Jan 2013 08:23:31 +0000 (16:23 +0800)]
Happy New Year

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Xinchen Hui [Tue, 1 Jan 2013 08:07:55 +0000 (16:07 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4

12 years agoHappy New Year~
Xinchen Hui [Tue, 1 Jan 2013 08:02:16 +0000 (16:02 +0800)]
Happy New Year~

12 years agoNews entry for +0/-0 filter fix
Lars Strojny [Sat, 29 Dec 2012 02:34:23 +0000 (03:34 +0100)]
News entry for +0/-0 filter fix

12 years agoAdd more tests for the new +0/-0 behaviour.
Martin Jansen [Wed, 26 Dec 2012 10:51:55 +0000 (11:51 +0100)]
Add more tests for the new +0/-0 behaviour.

12 years agoTreat "+0" and "-0" as valid integers just like var_dump() does.
Martin Jansen [Mon, 24 Dec 2012 13:58:01 +0000 (14:58 +0100)]
Treat "+0" and "-0" as valid integers just like var_dump() does.

This fixes bug #54096.

12 years agoFixed #63859 Memory leak when reusing curl-handle
Pierrick Charron [Thu, 27 Dec 2012 18:31:55 +0000 (13:31 -0500)]
Fixed #63859 Memory leak when reusing curl-handle

When CURLOPT_POSTFIELDS is called more than once on the same
curl handle, php/curl did not free the memory of the previous
post data. This commit will fix the problem unless the curl
handle was previously duplicated using the curl_copy_handle()
function in which case we can not know if the post data is
still in use or not by any curl handle

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Pierrick Charron [Wed, 26 Dec 2012 15:17:37 +0000 (10:17 -0500)]
Merge branch 'PHP-5.3' into PHP-5.4

12 years agoRevert "Remove a useless memory write in zend_llist_del_element"
Pierrick Charron [Wed, 26 Dec 2012 15:13:56 +0000 (10:13 -0500)]
Revert "Remove a useless memory write in zend_llist_del_element"

This reverts commit fad960a4045da86cdbd8308a165ffc47892f05b9 as
required by Stas and Christopher

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Pierrick Charron [Wed, 26 Dec 2012 01:57:21 +0000 (20:57 -0500)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Remove a useless memory write in zend_llist_del_element

12 years agoRemove a useless memory write in zend_llist_del_element
Pierrick Charron [Wed, 26 Dec 2012 01:45:24 +0000 (20:45 -0500)]
Remove a useless memory write in zend_llist_del_element

The zend_llist_element *next pointer is not necessary and removing
it will also remove a write on memory

12 years agospelling
Dmitry Stogov [Tue, 25 Dec 2012 12:21:25 +0000 (16:21 +0400)]
spelling

12 years agoFixed ZTS build
Dmitry Stogov [Tue, 25 Dec 2012 09:38:14 +0000 (13:38 +0400)]
Fixed ZTS build

12 years agoTraits refactoring
Dmitry Stogov [Tue, 25 Dec 2012 06:23:08 +0000 (10:23 +0400)]
Traits refactoring

12 years agoUpdate NEWS file
Pierrick Charron [Sun, 23 Dec 2012 00:09:56 +0000 (19:09 -0500)]
Update NEWS file

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Pierrick Charron [Sun, 23 Dec 2012 00:04:45 +0000 (19:04 -0500)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fixed segfault due to libcurl connection caching

12 years agoFixed segfault due to libcurl connection caching
Pierrick Charron [Sun, 23 Dec 2012 00:03:24 +0000 (19:03 -0500)]
Fixed segfault due to libcurl connection caching

Libcurl is doing connection caching. When easy handle is cleaned up,
if the handle was previously used by the curl_multi_api, the connection
remains open un the curl multi handle is cleaned up. Some protocols are
sending content like the FTP one, and libcurl try to use the
WRITEFUNCTION or the HEADERFUNCTION. Since structures used in those
callback are freed, we need to use an other callback to which avoid
segfaults.

Libcurl commit d021f2e8a00 fix this issue and should be part of 7.28.2

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Pierrick Charron [Sat, 22 Dec 2012 00:24:28 +0000 (19:24 -0500)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Update NEWS file
  Fixed bug #63352 (Can't enable hostname validation when using curl stream wrappers)
  CURL >= 7.28.0 no longer support value 1 for CURLOPT_SSL_VERIFYHOST)

Conflicts:
ext/curl/interface.c
ext/curl/tests/bug63363.phpt

12 years agoUpdate NEWS file
Pierrick Charron [Sat, 22 Dec 2012 00:19:25 +0000 (19:19 -0500)]
Update NEWS file

12 years agoFixed bug #63352 (Can't enable hostname validation when using curl stream wrappers)
Pierrick Charron [Sat, 22 Dec 2012 00:12:43 +0000 (19:12 -0500)]
Fixed bug #63352 (Can't enable hostname validation when using curl stream wrappers)

12 years agoCURL >= 7.28.0 no longer support value 1 for CURLOPT_SSL_VERIFYHOST)
Pierrick Charron [Sat, 22 Dec 2012 00:10:55 +0000 (19:10 -0500)]
CURL >= 7.28.0 no longer support value 1 for CURLOPT_SSL_VERIFYHOST)

Fixed bug #63795

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Pierrick Charron [Fri, 21 Dec 2012 17:24:52 +0000 (12:24 -0500)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fix test to work on every libcurl version
  - Fixed typo on "SKIPIF" (causing make test to abort on some systems)

Conflicts:
tests/output/bug63377.phpt