Hi PHP!
I'm willing to write some awesome RFCs to make PHP great again, I'll build
a wall and it'll be tremendous. Very very great. :-P
But I'll start with something simple first :-P it is about improving
ArrayIterator (you can find a draft here
https://gist.github.com/Netmosfera/200c5e923f34cbc0
class SomeStruct{ public int $a; }
class Joe
{
public SomeStruct $struct;
function test1() : SomeStruct{
return new SomeStruct();// TypeError: can't return
a type whose fields' type declarations aren't fulfilled
}
function test2(SomeStruct $struct){
I'd also deprecate anything related to passing the session id in query
strings in ext/session and have it only working with cookies.
session.use_cookies
session.use_only_cookies
url_rewriter.tags
and possibly also arg_separator.* if related
I like the idea a lot, although I'm not so sure of the proposed syntax.
I would make it less specific. Preconditions/Postconditions assertions are
indeed useful but the functionality could be extended to regular checks as
well by making the error user defined.
Plus, I would prefer having named ch
I've asked Sara to add the NO_NUMERIC_VALUE constant to IntlChar because it
is missing, but she suggested the method could return NULL instead.
Any of the two options is fine for me...
2015-07-08 21:45 GMT+02:00 Stanislav Malyshev :
> Hi!
>
> > ICU documentation:
> >
> http://icu-project.org/apir
ICU documentation:
http://icu-project.org/apiref/icu4c/uchar_8h.html#a36982efc84143b9bb5a11bf54b86af48
Currently the PHP function returns the U_NO_NUMERIC_VALUE constant, which
is set to the very weird "float(-123456789)"; basically it's a value that
it's certain it doesn't have an Unicode numeric