Re: [PHP-DEV] Deprecated functions

2014-09-15 Thread Stas Malyshev
Hi! The above are, as far as I’m concerned, all potential candidates for removal in PHP 7, so in order to reliably test a deprecated function I would suggest introducing a hidden function with this signature: void __deprecated__() { } And mark that function as eternally deprecated using

Re: [PHP-DEV] PHP 5.4.33 RC1 = mod_proxy_fcgi still broken

2014-09-15 Thread Remi Collet
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 11/09/2014 09:19, Remi Collet a écrit : Le 11/09/2014 09:16, Remi Collet a écrit : Le 09/09/2014 07:54, Stas Malyshev a écrit : The big issue I see, is the news entry: . Fixed #65641 (PHP-FPM incorrectly defines the SCRIPT_NAME variable

Re: [PHP-DEV] Language specification patches in RFCs

2014-09-15 Thread Sebastian Bergmann
Am 14.09.2014 um 22:41 schrieb Andrea Faulds: Given PHP now has a (admittedly work-in-progress) language specification, would it be reasonable to make an RFC to amend the current rules, such that RFCs that change the language must include a patch to the specification? +1 -- PHP Internals -

Re: [PHP-DEV] PHP 5.6.1RC1 is ready for testing - Koschei

2014-09-15 Thread Remi Collet
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 12/09/2014 10:07, Julien Pauli a écrit : Hi! Our RC1 of PHP 5.6.1 was just released today. Hi. More QA/CI is always a good thing! Fedora have a new project named Koschei. See

[PHP-DEV] Re: [PHP-CVS] com php-src: fix int overflow preserving the old behavior: ext/standard/strnatcmp.c

2014-09-15 Thread Anatol Belski
Moin, On Mon, September 15, 2014 01:01, Nikita Popov wrote: On Sun, Sep 14, 2014 at 4:39 PM, Anatol Belski a...@php.net wrote: Commit:29f8b21cd71bc4af1ead7b8a93cfe09338d2eff5 Author:Anatol Belski a...@php.net Sun, 14 Sep 2014 16:37:38 +0200 Parents:

[PHP-DEV] Re: [PHP-CVS] com php-src: fix int overflow preserving the old behavior: ext/standard/strnatcmp.c

2014-09-15 Thread Nikita Popov
On Mon, Sep 15, 2014 at 10:11 AM, Anatol Belski a...@php.net wrote: Moin, On Mon, September 15, 2014 01:01, Nikita Popov wrote: On Sun, Sep 14, 2014 at 4:39 PM, Anatol Belski a...@php.net wrote: Commit:29f8b21cd71bc4af1ead7b8a93cfe09338d2eff5 Author:Anatol Belski a...@php.net

Re: [PHP-DEV] [VOTE] Removing Multiple Default Clauses in Switch Statements

2014-09-15 Thread Pascal MARTIN
Le 05/09/2014 22:29, Levi Morrison a écrit : I have opened voting on this RFC: https://wiki.php.net/rfc/switch.default.multiple#vote Levi Morrison Hi, After speaking with other members of AFUP (French UG) about this RFC, we all agree that having two 'default' cases in a switch construct

[PHP-DEV] Re: [PHP-CVS] com php-src: fix signed/unsigned mismatch: Zend/zend_execute.c

2014-09-15 Thread Anatol Belski
On Mon, September 15, 2014 13:13, Nikita Popov wrote: On Mon, Sep 15, 2014 at 12:58 PM, Anatol Belski a...@php.net wrote: Commit:836fd73cce8d0550baf5477bfb0ea0edbfae455a Author:Anatol Belski a...@php.net Mon, 15 Sep 2014 12:12:18 +0200 Parents:

[PHP-DEV] Re: [PHP-CVS] com php-src: fix signed/unsigned mismatch: Zend/zend_execute.c

2014-09-15 Thread Anatol Belski
On Mon, September 15, 2014 13:38, Anatol Belski wrote: On Mon, September 15, 2014 13:13, Nikita Popov wrote: On Mon, Sep 15, 2014 at 12:58 PM, Anatol Belski a...@php.net wrote: Commit:836fd73cce8d0550baf5477bfb0ea0edbfae455a Author:Anatol Belski a...@php.net Mon, 15 Sep

Re: [PHP-DEV] [VOTE][RFC] Scalar Type Hinting with Cast

2014-09-15 Thread Rowan Collins
Stas Malyshev wrote (on 15/09/2014): It's not the issue here. Nobody wants 100% of functions to do the same, and everybody knows there will be exceptions when some functions can not accept all values covered by type, or can accept multiple types but only in certain situations, etc. etc. What we

Re: [PHP-DEV] Re: [PHP-CVS] com php-src: fix signed/unsigned mismatch: Zend/zend_execute.c

2014-09-15 Thread Anatol Belski
On Mon, September 15, 2014 13:38, Anatol Belski wrote: On Mon, September 15, 2014 13:13, Nikita Popov wrote: On Mon, Sep 15, 2014 at 12:58 PM, Anatol Belski a...@php.net wrote: Commit:836fd73cce8d0550baf5477bfb0ea0edbfae455a Author:Anatol Belski a...@php.net Mon, 15 Sep

Re: [PHP-DEV] [VOTE][RFC] Scalar Type Hinting with Cast

2014-09-15 Thread Andrea Faulds
On 14 Sep 2014, at 00:35, Andrea Faulds a...@ajf.me wrote: I have postponed the vote after further thought. It’s been a while since this was discussed on the list. However, it is my intent to open voting properly at some point soon, if all goes to plan. I have withdrawn the RFC. I do

Re: [PHP-DEV] [VOTE][RFC] Integer Semantics

2014-09-15 Thread Levi Morrison
This RFC has been put to a vote. It starts today (2014-09-14) and ends in a week’s time (2014-09-21). https://wiki.php.net/rfc/integer_semantics#vote A few people have asked why I voted no; the only reason is that division by zero will return `false` and emit a warning. Integers can be

Re: [PHP-DEV] [VOTE][RFC] Integer Semantics

2014-09-15 Thread Andrea Faulds
On 15 Sep 2014, at 17:24, Levi Morrison le...@php.net wrote: This RFC has been put to a vote. It starts today (2014-09-14) and ends in a week’s time (2014-09-21). https://wiki.php.net/rfc/integer_semantics#vote A few people have asked why I voted no; the only reason is that division by

Re: [PHP-DEV] [VOTE][RFC] Scalar Type Hinting with Cast

2014-09-15 Thread Sebastian Bergmann
Am 14.09.2014 um 01:30 schrieb Andrea Faulds: https://wiki.php.net/rfc/scalar_type_hinting_with_cast If I understand the Syntax section correctly, then int, float, numeric, bool, and string are added as new reserved words (keywords). This would break existing code, for instance userland

Re: [PHP-DEV] [VOTE][RFC] Scalar Type Hinting with Cast

2014-09-15 Thread Andrea Faulds
On 15 Sep 2014, at 17:42, Sebastian Bergmann sebast...@php.net wrote: Am 14.09.2014 um 01:30 schrieb Andrea Faulds: https://wiki.php.net/rfc/scalar_type_hinting_with_cast If I understand the Syntax section correctly, then int, float, numeric, bool, and string are added as new reserved

Re: [PHP-DEV] [VOTE][RFC] Scalar Type Hinting with Cast

2014-09-15 Thread Sebastian Bergmann
Am 15.09.2014 um 18:45 schrieb Andrea Faulds: Why are you looking at the initial commit from two years ago? Sorry, my bad. No idea how that I happened, I should have looked at http://bit.ly/1AQLqdD instead. And in there I see rules such as %token T_STRING_TYPE that introduce new reserved

Re: [PHP-DEV] [VOTE][RFC] Scalar Type Hinting with Cast

2014-09-15 Thread Stas Malyshev
Hi! I agree that 100% is an unrealistic goal, but I don't think I've yet seen someone actually point at a documented set of rules that even 80% of current functions follow. I guess there is a default/normal usage of The rules are in zpp, and every function that uses zpp automatically

[PHP-DEV] Re: Can someone merge `Catchable Call to a member function bar() on a non-object`?

2014-09-15 Thread Timm Friebe
Hi everyone, Timm Friebe p...@thekid.de hat am 16. August 2014 um 18:09 geschrieben: two weeks ago, the RFC `Catchable Call to a member function bar() on a non-object` was accepted by a vote. I don't have commit access to php-src/Zend, so I can't commit this myself. Back from my summer

Re: [PHP-DEV] [VOTE][RFC] Scalar Type Hinting with Cast

2014-09-15 Thread Rowan Collins
Stas Malyshev wrote (on 15/09/2014): Hi! I agree that 100% is an unrealistic goal, but I don't think I've yet seen someone actually point at a documented set of rules that even 80% of current functions follow. I guess there is a default/normal usage of The rules are in zpp, and every function

Re: [PHP-DEV] [VOTE][RFC] Scalar Type Hinting with Cast

2014-09-15 Thread Rowan Collins
Sebastian Bergmann wrote (on 15/09/2014): In any case, I think it would be best to build on the great work Nikita did with the AST-based parser for PHP 7 and refactor the compiler to allow reserved words as names for namespaces, classes, interfaces, ... *before* we introduce new

[PHP-DEV] Re: When, When, When???

2014-09-15 Thread Jorge F. Hernandez
Stephen asked me to check in your list, but I don't see anything new, so does anybody have any idea? Signature On 9/15/2014 3:32 PM, Stephen Zarkos wrote: Hi, -Original Message- From: Jorge F. Hernandez [mailto:jfh...@gmail.com] Somebody please tell us when PHP is finally going to

[PHP-DEV] UTD Apartments Sukhumvit Hotel and Residence

2014-09-15 Thread UTD Living Thailand Customer Service
UTD Apartments Sukhumvit Hotel and Residence Display problems? View this newsletter in your browser. ( http://utdliving.com/ms/?email_id=9user_id=209582urlpassed=W3ZpZXdfaW5fYnJvd3Nlcl9saW5rXQ%3D%3Dcontroller=statsaction=analysewysija-page=1wysijap=subscriptions ) GREETINGS FROM UTD LIVING

Re: [PHP-DEV] Re: [PHP-CVS] com php-src: fix signed/unsigned mismatch: Zend/zend_execute.c

2014-09-15 Thread Nikita Popov
On Mon, Sep 15, 2014 at 2:47 PM, Anatol Belski a...@php.net wrote: On Mon, September 15, 2014 13:38, Anatol Belski wrote: On Mon, September 15, 2014 13:13, Nikita Popov wrote: On Mon, Sep 15, 2014 at 12:58 PM, Anatol Belski a...@php.net wrote: Commit: