Re: [PHP-DEV] POST, content-type: application/json and json_decode

2012-09-25 Thread Ivan Enderlin @ Hoa
On 24/09/12 20:09, Andrew Faulds wrote: On 21/09/12 12:05, Ivan Enderlin @ Hoa wrote: Hello, If PHP receives a HTTP request with the method POST and with the header Content-Type: application/x-www-form-encoded, then, it automatically parses the request body to populate an array in $_POST.

Re: [PHP-DEV] mbstring, a proposition of additional functions

2012-09-25 Thread Ivan Enderlin @ Hoa
On 24/09/12 20:04, Andrew Faulds wrote: On 24/09/12 15:41, Ivan Enderlin @ Hoa wrote: Recently, I crafted a String object that support most of the propositions written here. Please, see https://github.com/hoaproject/String (file String.php). The code is very simple (it implies that it do not

[PHP-DEV] DateTimeZone Serialize/Unserialize

2012-09-25 Thread Lonny Kapelushnik
Morning! I was creating a patch to allow serialize/unserialize of the DateTimeZone object. When running `make test` I found that we already have a test for the serialize/unserialize of DateTimeZone. The test checks that we are _not_ able to serialize/unserialize the DateTimeZone object:

[PHP-DEV] OpenSSL Ini Options

2012-09-25 Thread Ralph Schindler
Hey all, An odd problem has cropped up that I think can be solved at the PHP level. Basically, on Ubuntu (and other distributions), using ssl stream context with verify_peer = true could potentially fail. This is due to the fact that OpenSSL, seemingly, only has a compile-time value for

Re: [PHP-DEV] DateTimeZone Serialize/Unserialize

2012-09-25 Thread Stas Malyshev
Hi! object. When running `make test` I found that we already have a test for the serialize/unserialize of DateTimeZone. The test checks that we are _not_ able to serialize/unserialize the DateTimeZone object:

Re: [PHP-DEV] OpenSSL Ini Options

2012-09-25 Thread Pierre Joye
Hi Ralph, Btw, I added custom capath ini setting for curl already. It allows you to set it and use updated cert db as provided on curl site: http://www.php.net/manual/en/curl.configuration.php#ini.curl.cainfo Something similar could be possible for openssl. Can you open a feature request on