On 2012-03-06, Anthony Ferrara <ircmax...@gmail.com> wrote:
> My concern is the total lack of talk on-list about it.  It's obviously
> not perfect, but there has been little to no talk on-list about it.
> That is an indication to me that it's not ready or that it won't get
> in if put to a vote...
>
> Thoughts?

I really like the proposal you set forth. I have zero clue what impact
it would have on performance, however, so I'm deferring that discussion
to those who do. 

As a user and framework developer, I'd love to see it in place -- 
casting support at the function/method parameter level would greatly 
simplify a lot of code I write.


> On Tue, Mar 6, 2012 at 6:10 PM, Simon Schick
><simonsimc...@googlemail.com> wrote:
>> Hi,
>>
>> It got quite around that because we have some RFCs to this where the
>> functionality seems to be defined as the people thought it should be.
>> Otherwise they can raise their hands and write a mail that they want to
>> update the RFC - but as there's no one doing that, I think we're quite
>> close to what we wanted.
>>
>> Take a look at it and feel free to add your ideas in this thread.
>> https://wiki.php.net/rfc/parameter_type_casting_hints
>> https://wiki.php.net/rfc/object_cast_to_types
>>
>> Bye
>> Simon
>>
>> 2012/3/6 Kris Craig <kris.cr...@gmail.com>
>>
>>> Wow no offense, but your timing is terrible, Raymond!  We've been going
>>> back and forth on this for the past couple weeks now, though the discussion
>>> has quieted for the moment.
>>>
>>> I would suggest you go through some of the recent posts on Internals.
>>> Right now there basically is no solid consensus on this issue, though some
>>> of us have been working to change that.  But as it stands now, I'm not
>>> aware of any plans to introduce expanded typing of any kind in the
>>> foreseeable future.  And even if we did, I highly doubt it would happen
>>> before PHP 6.
>>>
>>> --Kris
>>>
>>>
>>> On Mon, Mar 5, 2012 at 6:20 PM, Raymond Irving <xwis...@gmail.com> wrote:
>>>
>>> > Hello,
>>> >
>>> > I came across some info on the web that states that scalar type hinting
>>> was
>>> > added to the PHP trunk but it did not make it's way into 5.4 because of
>>> > objections from the community. Will it ever make it's way into 5.5?
>>> >
>>> > I know PHP is considered to be a weak typed language but it should also
>>> be
>>> > about freedom. Freedom for a PHP developer to choose to use scalar type
>>> > hinting whenever he/she sees the need.
>>> >
>>> >
>>> > Best regards,
>>> > __
>>> > Raymond
>>> >
>>>


-- 
Matthew Weier O'Phinney
Project Lead            | matt...@zend.com
Zend Framework          | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to