[PHP-DEV] RFC Proposal

2018-08-10 Thread Jesse G. Donat
I'm measuring reaction for an RFC Essentially right now preg regex's fail silently - and you have to actually check them manually with preg_last_error - something I've never actually seen done in code. see: https://github.com/php/php-src/pull/2910 https://bugs.php.net/bug.php?id=70110 https://bu

[PHP-DEV] The curious case of the comparable objects.

2018-08-10 Thread Sara Golemon
One of the contributors for the "Because, PHP" page came up with a fun example where the result of object comparison changes upon observation of that object. class A { public $a; } class B extends A { public $b; } $a = new B(); $a->a = 0; $a->b = 1; $b = new B(); $b->a = 1; $b->b = 0; var_dump($a

Re: [PHP-DEV] Status of ci.qa.php.net?

2018-08-10 Thread Christoph M. Becker
On 01.08.2018 at 20:29, Pedro Magalhães wrote: > Although travis and appveyor do most of the work, I think there is still > some value in having our own Jenkins. Namely, the ability to run other test > suites for each change in the PHP repo. IIRC, the old jenkins instance was > also running the wo

[PHP-DEV] Re: Old branches

2018-08-10 Thread Christoph M. Becker
On 30.07.2018 at 10:35, Gabriel Caruso wrote: > Recently, while checking some branches, I’ve noticed that we have really > old branches out there in php-src: > > 15+ years old: > >- experimental/RETURN_REF >- experimetnal/RETURN_REF_PATCH >- experimental/pre_new_hash_func >- expe

[PHP-DEV] Re: Getting rid of PHP_Incomplete_Class and "unserialize_callback_func"

2018-08-10 Thread Christoph M. Becker
On 06.08.2018 at 15:08, Nicolas Grekas wrote: > I recently submitted https://bugs.php.net/76681: Make unserialize() handle > a new "callback" option entry > > The full story is that I'd like a way to get rid of any > PHP_Incomplete_Class in my code. > The way to do it currently is to change the "