Re: [PHP-DEV] RFC Proposal: Maybe monad and execution time polymorphic methods

2016-03-27 Thread Kubo2
Hi Facundo Martínez, I think the best solution to yourself described problem above would be the Null Object Design Pattern (https://en.wikipedia.org/wiki/Null_Object_pattern). In my opinion, NULL belongs to PHP and this language never aimed to become Java or similar. Jakub On 22 March 2016 at 01

[PHP-DEV] Handling "Bad file descriptor" during stream_select()

2016-03-27 Thread Grzegorz Zdanowski
Hello! During refactoring of one of my server projects written in PHP I was curious what PHP will do if one of FDs given to stream_select() will gone away. Of course by „gone away“ I mean some underlying error like forceful close of FD and not a standard disconnection of the client. I did some te

[PHP-DEV] [RESULT] Warn about invalid strings in arithmetic

2016-03-27 Thread Andrea Faulds
Hi again, The vote on the "Warn about invalid strings in arithmetic" RFC has now closed. It ran from 2016-03-20 to 2016-03-28. There were 29 votes in favour and there was one vote against, which is well over the required 2/3 majority, and so the RFC has been accepted for PHP 7.1. You can r

Re: [PHP-DEV] [RFC][Discussion] Precise session data management

2016-03-27 Thread Stanislav Malyshev
Hi! >> Could we also add HTTPS detection and enable the secure flag by default >> when a session is established on an HTTPS endpoint? You can not see if your connection would be HTTPS or not - connection can be terminated on frontend services (like nginx or varnish) that handle https and the pass

[PHP-DEV] php.net smtp broken?

2016-03-27 Thread Stanislav Malyshev
Hi! I'm trying to send an email to several @php.net addresses and getting constant delivery failures with this: 550 5.7.1 Please change the topic, and retry Does anybody know what's going on and who could look into it? -- Stas Malyshev smalys...@gmail.com -- PHP Internals - PHP Runtime Develo

Re: [PHP-DEV] Allow empty property names

2016-03-27 Thread Nikita Popov
On Sat, Mar 26, 2016 at 12:17 AM, Yasuo Ohgaki wrote: > On Sat, Mar 26, 2016 at 8:08 AM, Yasuo Ohgaki wrote: > > On Sat, Mar 26, 2016 at 8:00 AM, Marco Pivetta > wrote: > >> On 25 March 2016 at 23:56, Yasuo Ohgaki wrote: > >>> > >>> Hi all, > >>> > >>> On Sat, Mar 26, 2016 at 5:31 AM, Marco Pi

[PHP-DEV] crypt_blowfish salt padding

2016-03-27 Thread Solar Designer
Hi, This commit: commit 03315d9625dc87515f1dfbf1cc7d53c4451b5ec9 Author: Pierre Joye Date: Mon Jul 18 21:26:29 2011 + - update blowfish to 1.2 (Solar Designer) documented this hack: $ git show 03315d9625dc87515f1dfbf1cc7d53c4451b5ec9 | fgrep -i hack + if (tmp == '$') break; /*