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

2014-09-15 Thread Patrick Schaaf
Hello, thinking a bit again on the whole topic, which I thought I was pretty much completely opposed to because of the arbitrary-new-set-of-rules issue in die validation details, I noticed that from my writing PHP code, there _is_ a single thing that I really _would_ like to be able to express as

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

2014-09-15 Thread Pierre Joye
hi Andrea, On Mon, Sep 15, 2014 at 3:07 PM, Andrea Faulds wrote: > > On 14 Sep 2014, at 00:35, Andrea Faulds 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 poi

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 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 wrote: > >> > >> > >> > >>> Commit:836fd73cce8d0550baf5477bfb0ea0e

[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=9&user_id=209582&urlpassed=W3ZpZXdfaW5fYnJvd3Nlcl9saW5rXQ%3D%3D&controller=stats&action=analyse&wysija-page=1&wysijap=subscriptions ) GREETINGS FROM UTD LIVING

[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

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 reserved

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

[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 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 vacation, I t

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 fol

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 Andrea Faulds
On 15 Sep 2014, at 17:42, Sebastian Bergmann 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 words (keyword

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 cla

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

2014-09-15 Thread Andrea Faulds
On 15 Sep 2014, at 17:24, Levi Morrison 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 ze

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 co

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 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 not feel

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 wrote: >> >> >> >>> Commit:836fd73cce8d0550baf5477bfb0ea0edbfae455a >>> Author:Anatol Belski Mon, 15 Sep 2014 >>> 12:

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 w

[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 wrote: >> >> >> >>> Commit:836fd73cce8d0550baf5477bfb0ea0edbfae455a >>> Author:Anatol Belski Mon, 15 Sep 2014 >>> 12:

[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 wrote: > > >> Commit:836fd73cce8d0550baf5477bfb0ea0edbfae455a >> Author:Anatol Belski Mon, 15 Sep 2014 12:12:18 >> +0200 >> Parents: c8ed0d81e755c700f86cddb74f62eda27bc6e2de >

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 d

[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 wrote: > Moin, > > On Mon, September 15, 2014 01:01, Nikita Popov wrote: > > On Sun, Sep 14, 2014 at 4:39 PM, Anatol Belski wrote: > > > > > >> Commit:29f8b21cd71bc4af1ead7b8a93cfe09338d2eff5 > >> Author:Anatol Belski Sun, 14 Sep 2

[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 wrote: > > >> Commit:29f8b21cd71bc4af1ead7b8a93cfe09338d2eff5 >> Author:Anatol Belski Sun, 14 Sep 2014 16:37:38 >> +0200 >> Parents: eda5ba1f8fa935b8d1b8bae9d189c6afbe83

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 http://blog.famillecollet.com/post/2014/08/12/Koschei-continuo