Re: [PHP-DEV] Re: Let's discuss enums!

2015-09-22 Thread Dan Cryer
> > You can always serialize things however you want. Using `serialize()` > is just a convenience – there is absolutely nothing that prevents you > from using a custom serialization routine. Note that while Java has > built in serialization it is often not used, and instead libraries > like Google'

Re: [PHP-DEV] [RFC] [Discussion] Short Closures

2015-09-03 Thread Dan Cryer
> > I had this RFC in draft since some time, but delayed it due to all the > ongoing PHP 7 discussions. Also we have no master branch to merge features > in until 5.4 EOL. Thus I'm reviving this now. > > Time for the first RFC targeting PHP 7.1 (assuming PHP 8 isn't going to be > the next version ;

Re: [PHP-DEV] Naming of 'weak' type hints

2015-03-30 Thread Dan Cryer
> > We could > also consider going for ‘lax’ or ‘lenient’ as the opposite of ‘strict’, > although I think we can easily do without introducing a new word into the > vocabulary here. > >From an user perspective, I'd suggest that "lax" would potentially carry more negative connotations than "weak."

Re: [PHP-DEV] Renaming type-hints to something else?

2014-09-17 Thread Dan Cryer
> > > What do you guys think? > Has the ship not already sailed on this one? The php.net web site ( http://php.net/manual/en/language.oop5.typehinting.php), and userland developers, have been calling them type hints for years now, I'd imagine whatever new name comes up will largely be ignored outs

Re: [PHP-DEV] Wake up

2013-09-11 Thread Dan Cryer
Well said, Florin. :) I'm not a core contributor, I never have been and probably never will be as I don't know C... but I do follow internals quite keenly. It strikes me that the biggest problem here is that there's no one entity to decide the rules of the road, so everything (including the rules

Re: [PHP-DEV] Feature Proposal: Allow letter decrementing

2013-07-19 Thread Dan Cryer
> > http://feather.perl6.nl/syn/S03.html#line_516 > > > > Specifically: decrementing 'AAA' would not turn into 'ZZ' but would > error, > > according to that link > > > > Carry handle of decrements is more complex than increments. > It may be the reason. > > Regards, > > -- > Yasuo Ohgaki > yohg...@ohgaki.net > -- *Dan Cryer* 07590 698944 d...@dancryer.com +Dan <https://plus.google.com/101400775372325517263> @dancryer <http://www.twitter.com/dancryer>

Re: [PHP-DEV] PHP 5.5 and APC user cache upgrade path

2013-05-09 Thread Dan Cryer
applications as these modules behave a little different regarding return > values etc.. > > Greetings, > > Pierre > > -- > Pierre Schmitz, https://pierre-schmitz.com > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit

Re: [PHP-DEV] Voting periods

2013-01-30 Thread Dan Cryer
> That's what Ralf and I suggested all along. By the way, the problem is > that most of the web developers don't know anything about IT. I guess > most of them use Windows (and you can't expect a Windows user to > compile stuff), and the majority of the other half uses Ubuntu and > never even saw t

Re: [PHP-DEV] 6.0 And Moving Forward

2012-07-17 Thread Dan Cryer
6, but providing a legacy extension/compile time option, which would bring with it almost complete backwards compatibility with PHP 5. *Dan Cryer* +Dan <https://plus.google.com/101400775372325517263> @dancryer <http://www.twitter.com/dancryer> On 17 July 2012 16:32, Andrew Faulds w