> Do you think this is might be a gmail related issue? Or should i just
> ignore it?
No gmail issue. Same issue for my GMX account.
It just looks like a message is broken, see
http://news.php.net/php.internals/69050 (Takes about 15s to load)
--
PHP Internals - PHP Runtime Development Mailing L
> Hi!
>
> This is the (official) RFC thread for the patch proposed in
> http://php.markmail.org/message/7rn4mbwkbytqa3ig
>
> https://wiki.php.net/rfc/keywords_as_identifiers
>
> Any feedback about the RFC or the implementation?
There is still an open request, see https://bugs.php.net/bug.php?id
> function doStuffWithNumbers(...$numbers) {
> if (!is_int(...$numbers)) {
> throw new InvalidArgumentException('blah');
> ...
>
> Thoughts?
Returning bool in this case will make it impossible to respond with a
meaningful error message. Which of the provided arguments !is_int()?
Inst
2:31 PM, Patrick ALLAERT
> wrote:
>
> > 2013/5/6 Sebastian Bergmann :
> > > On 04/30/2013 10:04 AM, Frank Liepert wrote:
> > >> Voting starts as of now and ends on 7th May, 2013.
> > >
> > > I voted -1; not because I do not think the feature is usef
See https://wiki.php.net/rfc/instance_counter#vote
Voting starts as of now and ends on 7th May, 2013.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
> It is not entirely clear how the function treats subclasses. Does it
> count
> only the *direct* instances of a class, or does it also count the
> instances
> of subclasses?
>
> class A {}
> class B extends A {}
>
> echo get_objects_count('A');
> // 0
>
> $a = new B;
>
> echo $a instanceof A;
Hello internals,
again an update on the RFC, see https://wiki.php.net/rfc/instance_counter:
- added support for object as argument
- added support for array argument (indexed array with class names)
- added more code examples
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscr
Hello internals,
I updated the RFC (https://wiki.php.net/rfc/instance_counter):
- added support for a class name, so the function can be narrowed down to a
specific class
- added use case
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.ph
https://wiki.php.net/rfc/instance_counter
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hello Internals,
I'm thinking about a new function returning an array of classes and their
individual number of instances. It would look pretty much like the result of
get_declared_classes().
An Example:
print_r (get_instantiated_classes());
// Array ()
$foo = new StdClass;
print_r (get_insta
> -Ursprüngliche Nachricht-
> Von: Carlos Rodrigues [mailto:carlos.v...@gmail.com]
> Gesendet: Mittwoch, 20. März 2013 19:08
> An: internals@lists.php.net
> Betreff: [PHP-DEV] Method check - Can someone create a RFC for it?
>
> Hi,
>
> I'd like to suggest a new functionality for PHP. I do
> So the question is only whether "+0" or "-0" (or "+0", etc.) should be
> accepted as integers by FILTER_VALIDATE_INT. I think they should,
> because
> we also accept non-canonical inputs such as "+5", i.e., we always
> accept a
> sign. It's true that 0 is neither positive or negative, but I don't
The change to FILTER_VALIDATE_INT seems to be inconsistent.
First of all, take the following bug (https://bugs.php.net/bug.php?id=54096)
where it says "PHP defines -0 as an int.". Where does PHP define it? The
documentation says: "An integer is a number of the set ℤ = {..., -2, -1, 0, 1,
2, ...
13 matches
Mail list logo