[PHP-DEV] SOAP extension and object records

2008-03-08 Thread Giovanni Giacobbi
]= object(stdClass)#2 (1) { [title]= string(12) Product name } } But I'd expect another encoding violation fault, because there was NOT minOccurs=0 in Product's id element definition. Am I doing something wrong? Thank you -- Giovanni Giacobbi -- PHP Internals - PHP Runtime Development

Re: [PHP-DEV] [RFC] prototyping

2009-01-15 Thread Giovanni Giacobbi
in a production environment, but probably some people would taste an experimental feature included in a stable version. Just my 2 cents. Regards, -- Giovanni Giacobbi -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Bug in HTTP stream context causes problems in SoapClient/get_sdl()

2009-01-25 Thread Giovanni Giacobbi
); smart_str_appendl(headers, Connection: close, sizeof(Connection: close)-1); } +#endif if (headers.len 0) { zval *str_headers; Regards -- Giovanni Giacobbi -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net

Re: [PHP-DEV] Bug in HTTP stream context causes problems in SoapClient/get_sdl()

2009-01-25 Thread Giovanni Giacobbi
of Apache#2, because it is legitimately using the HTTP protocol. -- Giovanni Giacobbi -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP 5.2.10

2009-05-15 Thread Giovanni Giacobbi
, but doesn't he have to explicitly require version = 5.2.10 in his pecl/memcached extension? It's not like that with this change his extension is going to work for 5.2.x. Requiring = 5.2.10 is such a strict requirement that should be replaced with = 5.3.0. -- Giovanni Giacobbi -- PHP Internals - PHP

Re: [PHP-DEV] 5.3.0 stable delayed until next Tuesday

2009-06-24 Thread Giovanni Giacobbi
only changing the version number between them? I saw other projects doing this and I think it helps to prevent major issues due to last-time fixes. I have this feeling that 5.3.0 release is going to be traumatic! Just my 2 cents. -- Giovanni Giacobbi -- PHP Internals - PHP Runtime

Re: [PHP-DEV] Type hinting - Request for Discussion

2009-07-10 Thread Giovanni Giacobbi
to deal with, but if you trigger one of those errors, then it means you are not respecting the APIs, which means there is a bug in your application. -- Giovanni Giacobbi -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Type hinting - Request for Discussion

2009-07-10 Thread Giovanni Giacobbi
{ } function StandardHint(is_int $a); IDEs can still act smart because is_int() is a PHP standard function, and we could add a few more like cast_int(), and is_int_null(). -- Giovanni Giacobbi -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net

Re: [PHP-DEV] [PATCH] #52563: Adding E_NONE and/or E_EVERYTHING constants

2010-08-24 Thread Giovanni Giacobbi
. I would avoid adding more E_* constants which don't represent a single channel. I would find it confusing. 2c -- Giovanni Giacobbi -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] BC break in 5.3.2 - 5.3.3 with parent:: and __call/__callStatic

2010-10-24 Thread Giovanni Giacobbi
reasonable, and maybe introduce another way when you actually want to get rid of the context, something like static:: -- Giovanni Giacobbi -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] BC break in 5.3.2 - 5.3.3 with parent:: and __call/__callStatic

2010-10-24 Thread Giovanni Giacobbi
PHP_5_3 is enough to fix my problem, but it would break again 51176. As this is a BC break compared to the 5.3.x series, IMHO it's the right way to go and then find another solution for 51176. -- Giovanni Giacobbi -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http

[PHP-DEV] Big patch for FPM (config and initialization)

2011-07-02 Thread Giovanni Giacobbi
to be lazy-expanded in post process time instead of parsing time. 2) possibility to include more than one file per section Looking forward to have some feedback from you :) Kind regards -- Giovanni Giacobbi -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http

[PHP-DEV] Re: Big patch for FPM (config and initialization)

2011-07-03 Thread Giovanni Giacobbi
Sorry I always forget this mailing list is special and strip my attachments... Here is a link: http://pastebin.com/7JpXr22c On Sun, Jul 3, 2011 at 02:50, Giovanni Giacobbi giova...@giacobbi.net wrote: Greetings dear devs! A few days ago I made my first nginx+php-fpm setup, and I soon

Re: [PHP-DEV] Big patch for FPM (config and initialization)

2011-07-03 Thread Giovanni Giacobbi
On Sun, Jul 3, 2011 at 22:42, Antony Dovgal t...@daylessday.org wrote: On 07/03/2011 04:50 AM, Giovanni Giacobbi wrote: Detailed changelog of the patch: - Renamed options pm.status_path, ping.path, ping.response into a new logical group diagnostics, so they are now respectively

[PHP-DEV] 4.3.2RC4: patch for php.ini-dist and php.ini-recommended

2003-05-27 Thread Giovanni Giacobbi
couldn't find an email address where to direct ready patches for CVS. (maybe you should write it in the package documentation?) Regards -- Giovanni Giacobbi --- php-4.3.2RC4/php.ini-dist.orig Thu May 8 03:23:35 2003 +++ php-4.3.2RC4/php.ini-dist Tue May 27 17:08:04 2003 @@ -67,7 +67,7 @@ ; Enable

Re: [PHP-DEV] Throwable and Error exceptions break existing PHP 5.x code

2016-01-12 Thread Giovanni Giacobbi
I want to thank Markus and Björn for getting me up to speed with the pointers. Please see the rest of my response below. On 11 January 2016 at 15:05, Rowan Collins <rowan.coll...@gmail.com> wrote: > Giovanni Giacobbi wrote on 11/01/2016 13:31: > >> set_exception_handler(callb

[PHP-DEV] Throwable and Error exceptions break existing PHP 5.x code

2016-01-11 Thread Giovanni Giacobbi
Greetings, Short premise before I get flamed: I know PHP 7 is rolling and it is way too late for this, that I should've tested the RCs, follow the mailing list and so on, but I'm a dev like you guys and struggle with the time to do everything by the book, including reading the previous threads

Re: [PHP-DEV] Allow "static" type

2017-01-28 Thread Giovanni Giacobbi
ction PHP had taken the past years (good old times when the strict type hinting was rejected because it made it too complicated for newcomers, lol). Cheers -- Giovanni Giacobbi

[PHP-DEV] String to array odd behaviour in 7.1

2017-01-25 Thread Giovanni Giacobbi
Greetings, There is something weird with 7.1 and implicit strings to array conversions, so I wanted to double check with you that the behaviour is wanted (and perhaps the migration71 doc should be updated to reflect this. So in the migration docs [1] you say that: " Applying the empty index

Re: [PHP-DEV] Explicit constructor call and polymorphic dispatch

2017-01-14 Thread Giovanni Giacobbi
;Fleshgrinder" Fussenegger > > IMHO it already IS safe. > > In PHP 4 the "constructor" was a method thad had the same name as the > class. But now it is a class that has always the same name and is always > preceded with two underscores. There is no way to "a

Re: [PHP-DEV] Explicit constructor call and polymorphic dispatch

2017-01-15 Thread Giovanni Giacobbi
fry me in another thread :P On 15 January 2017 at 07:06, Wes <netmo@gmail.com> wrote: > you guys went slightly off topic :P > -- Giovanni Giacobbi

Re: [PHP-DEV] json_encode() / json_decode() warnings

2017-07-28 Thread Giovanni Giacobbi
n == "") return null; $retval = json_decode($json, true, 512, JSON_BIGINT_AS_STRING); if (json_last_error() != JSON_ERROR_NONE) throw new JsonDecodeException(json_last_error_msg(), json_last_error()); return $retval; } ``` So yes, the behaviour of json_decode() might not be optimal, but it's fine the way it is. -- Giovanni Giacobbi

Re: [PHP-DEV] Add is_vectorlike($array) function

2017-05-02 Thread Giovanni Giacobbi
On 2 May 2017 at 11:55, Rowan Collins wrote: > On 02/05/2017 10:13, Jesse Schalken wrote: > >> Related to the optimisation made by Sara Golemon here: >> https://github.com/php/php-src/commit/c74bc87c74f48bc55541b3 >> bf2fc67d595f58a3b5 >> >> I often define a function

[PHP-DEV] PCRE JIT broken in PHP 7.2

2017-09-18 Thread Giovanni Giacobbi
mp(preg_match('/a/', "a")); => segmentation fault If you need any further information let me know. Kind regards -- Giovanni Giacobbi

Re: [PHP-DEV] PCRE JIT broken in PHP 7.2

2017-09-18 Thread Giovanni Giacobbi
On 18 September 2017 at 13:46, Dan Ackroyd <dan...@basereality.com> wrote: > On 18 September 2017 at 12:28, Giovanni Giacobbi <giova...@giacobbi.net> > wrote: > > > > just an heads up, I started testing my project with PHP 7.2.0RC2 but it > was > > causin

Re: [PHP-DEV] PCRE JIT broken in PHP 7.2

2017-09-18 Thread Giovanni Giacobbi
On 18 September 2017 at 19:04, Dmitry Stogov wrote: > This commit should fix the problem https://github.com/php/php-src/commit/ > 5ef10d08ec2d0823fb21ad189dacfb43d900a0b5 > > > Yes! I tested 7.2.0RC2 with this patch applied and it fixes the problem. Thank you!

Re: [PHP-DEV] PHP 7.2.0 RC6 Released

2017-11-09 Thread Giovanni Giacobbi
On 9 November 2017 at 18:46, Thomas Hruska wrote: > On 11/9/2017 7:36 AM, Sara Golemon wrote: > >> The sixth (and likely final) release candidate for 7.2.0 was just >> released and can be >> downloaded from: >> https://downloads.php.net/~pollita/ >> Or using the git tag:

Re: [PHP-DEV] PHP 8 Release Announcement Page

2021-11-19 Thread Giovanni Giacobbi
On Fri, 19 Nov 2021 at 10:13, Pierre wrote: > Le 19/11/2021 à 10:10, Kamil Tekiela a écrit : > > I would suggest option number 5. Leave it as it is. Many people are still > > not aware that PHP 8 has been released. > > If that's not possible, then we should keep the page (opt 3), otherwise > we