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

2016-03-28 Thread Grzegorz Zdanowski
2016-03-28 11:19 GMT-05:00 Dan Ackroyd : > On 28 March 2016 at 02:57, Grzegorz Zdanowski wrote: >> by „gone away“ >> I mean some underlying error like forceful close of FD and not a >> standard disconnection >> of the client. > > What problem exactly are you t

[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

Re: [PHP-DEV] Deprecation of the Error Control Operator (@ symbol)

2016-01-05 Thread Grzegorz Zdanowski
precating @ operator I think we should make a RFC which cover unified setting to convert all E_* to exceptions (like PhpWarningException). I know it's just a temporary solution, because exception should be more specific, but it's a huge amount of work to replace all errors and warnings with proper exceptions. Of course it's possible to convert all errors and warnings to exceptions using set_error_handler(), but it will be next boilerplate code for all apps. -- Cheers, Grzegorz Zdanowski. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Simple project started segfaulting on 7.1-dev - where to report that?

2016-01-01 Thread Grzegorz Zdanowski
ting, but in this case I’m little puzzled what to do next. Travis-CI build which segfaults can be found here: https://travis-ci.org/kiler129/CherryHttp/jobs/99736122 -- Best regards. Grzegorz Zdanowski -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC Discussion] Precise Session Management

2015-12-22 Thread Grzegorz Zdanowski
is going to make current situation worse. I know users should not use names starting with __, but in reality I see them almost everyday. I even seen __SESSION_INTERNAL__ used once. — Grzegorz Zdanowski -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Push Litespeed SAPI 6.9 to PHP 7.0.1

2015-12-16 Thread Grzegorz Zdanowski
2015-12-16 19:20 GMT+01:00 Anatol belski : > > Hi, > > > -Original Message- > > > > For some reason Litespeed 6.9 is committed to the 7.0 branch as Litespeed > 6.9, > > but the bugfix is not included? > > > > https://github.com/php/php-src/blob/PHP- > > 7.0/sapi/litespeed/lsapi_main.c#L604