On Tue, 21 Jul 2015 15:01:06 +0400, Marco Pivetta
wrote:
Hello,
I was looking at DateTimeInterface in order to provide my own
implementation of it, when I hit this:
http://3v4l.org/8GvgO
> "Fatal error: DateTimeInterface can't be implemented by user classes
in"
Is there any actual rea
On Wed, 25 Feb 2015 17:54:21 +0400, Dmitry Stogov wrote:
The object on the call-site should remain to be an object (if it's not
passed by reference), however the called function will receive a string.
It works in PHP-5 and PHP-7. Nothing should be changed.
$ sapi/cli/php -r 'class X {function
On Wed, 25 Feb 2015 16:55:57 +0400, Dmitry Stogov wrote:
On Wed, Feb 25, 2015 at 2:42 PM, Niktia Nefedov
wrote:
On Wed, 25 Feb 2015 16:30:32 +0400, Dmitry Stogov
wrote:
anyone may tell, what this will print without running :)
main.php
a.php
=
b.php
=
Thank
On Wed, 25 Feb 2015 15:42:11 +0400, Niktia Nefedov
wrote:
On Wed, 25 Feb 2015 16:30:32 +0400, Dmitry Stogov
wrote:
anyone may tell, what this will print without running :)
main.php
a.php
=
b.php
=
Thank. Dmitry.
Hi Dmitry,
This will error out because $a in
On Wed, 25 Feb 2015 16:30:32 +0400, Dmitry Stogov wrote:
anyone may tell, what this will print without running :)
main.php
a.php
=
b.php
=
Thank. Dmitry.
Hi Dmitry,
This will error out because $a in the scope of `foo` will be coerced to
int type when passed to bar
Hey folks,
Currently argument unpacking can only be used once in a call and only
after all positional arguments were passed.
E.g. func(1, 2, 3, ...[4, 5]) is allowed, but func(...[1, 2, 3], 4,
...[5]) is not.
This makes it impossible to use this feature with some of the ext/std
functions
On Thu, 15 Jan 2015 14:30:48 +0300, Arvids Godjuks
wrote:
Hello Andrea!
Consider what a mess was register_globals and problems it had, but at
least
it was a global setting. Declare will work on per file basis, and it will
end up even more of a mess.
I think PHP development community lea
On Sun, 21 Dec 2014 06:49:49 +0300, Xinchen Hui wrote:
Hey:
On Sun, Dec 21, 2014 at 11:43 AM, Pierre Joye
wrote:
On Dec 21, 2014 10:23 AM, "Xinchen Hui" wrote:
Hey:
I am strongly against to remove ext/mysql
that means, all wordpress users/maintainers, will not able to upgrade
to