Hey:
On Mar 7, 2015, at 1:23 PM, Juan Basso jrba...@gmail.com wrote:
I was testing CakePHP framework with PHP 7 and some tests were failing.
Digging into the issue I found that using compact in a certain way can
cause PHP to create an array with length but no content inside.
I reported
Great, that was quick. Tested the change with CakePHP tests and it passes
now.
Thank you.
On Sat, Mar 7, 2015 at 3:50 AM, Xinchen Hui larue...@gmail.com wrote:
Hey:
On Mar 7, 2015, at 1:23 PM, Juan Basso jrba...@gmail.com wrote:
I was testing CakePHP framework with PHP 7 and some tests
Hi internals,
I'd like to deprecate function: sizeof() [1][2], which is an alias of
count(). some people
expect it return the memory size of the variable.
The doc page's[1] user contributed notes indicate that too.
What do you think?
[1] http://php.net/sizeof
[2]
On 06/03/2015 23:03, Yasuo Ohgaki wrote:
We have a lot of array_u*() functions such as
http://php.net/manual/en/function.array-uintersect-uassoc.php
array array_uintersect_uassoc ( array $array1 , array $array2 [, array $...
], callable $value_compare_func , callable $key_compare_func )
this
Hi,
2015-03-07 17:41 GMT+01:00 Kalle Sommer Nielsen ka...@php.net:
I'm a big -1 on this, while I know it returns the memory size in a C
perspective, I think it makes perfect sense to remain an alias, it
would break lots of applications for a very tiny to nothing gain.
I don't think the alias
On 07/03/15 17:35, Sebastian B.-Hagensen wrote:
On the other side: Removal of sizeof is doable with a patch release
for almost all projects and shouldn't really require more than 5 to 10
minutes (+ time to review the diff) for most projects.
If taken in conjunction with tidying up the IEEE C
Hi,
2015-03-07 8:28 GMT-03:00 Robert Stoll p...@tutteli.ch:
-Ursprüngliche Nachricht-
Von: Patrick Schaaf [mailto:p...@bof.de]
Gesendet: Samstag, 7. März 2015 08:22
An: Philip Sturgeon
Cc: internals; Robert Stoll
Betreff: Re: [PHP-DEV] [RFC] Anonymous Classes
Am
On 07/03/2015 01:30, Yasuo Ohgaki wrote:
Hi Rowan,
On Fri, Mar 6, 2015 at 8:50 AM, Rowan Collins rowan.coll...@gmail.com
mailto:rowan.coll...@gmail.com wrote:
On 5 March 2015 22:05:05 GMT, Yasuo Ohgaki yohg...@ohgaki.net
mailto:yohg...@ohgaki.net wrote:
Hi Rowan,
On Fri,
Hi
2015-03-07 18:35 GMT+01:00 Sebastian B.-Hagensen sbj.ml.r...@gmail.com:
Hi,
I don't think the alias make sense and is really misleading and I've
seen sizeof(abc); often enough (Don't get me wrong that's equally
bad with count, but sizeof encourages that usage, imo).
Having two functions
On 7 March 2015 at 20:42, Kalle Sommer Nielsen ka...@php.net wrote:
Hi
Well we could make count()/sizeof() work for strings, so that if:
C:\ php -r echo sizeof('abc');
3
although it would not really accomplish much imo., I think it is more
of what background you come from that makes the
Hi
2015-03-07 16:51 GMT+01:00 reeze re...@php.net:
Hi internals,
I'd like to deprecate function: sizeof() [1][2], which is an alias of
count(). some people
expect it return the memory size of the variable.
The doc page's[1] user contributed notes indicate that too.
What do you think?
'm
Le 07/03/2015 02:39, Yasuo Ohgaki a écrit :
We may provide new names and new parameter order in new namespace.
The difference is alias or namespace basically. I don't object to use
namespace for it at all. In fact, I would love to have it even if there is
issue
like writing extremely difficult
Hello PHP Internals!
I'd like to put the variadic empty() RFC to vote.
RFC: https://wiki.php.net/rfc/variadic_empty
Voting will finish in 14 days time on March 21st.
Thanks,
Tom
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe,
2015-03-07 8:22 GMT+01:00 Patrick Schaaf p...@bof.de:
Am 06.03.2015 20:14 schrieb Philip Sturgeon pjsturg...@gmail.com:
Right, this here RFC has been drastically improved.
https://wiki.php.net/rfc/anonymous_classes
Anyone got any doubts or troubles at this point?
Can we / could we
-Ursprüngliche Nachricht-
Von: Patrick Schaaf [mailto:p...@bof.de]
Gesendet: Samstag, 7. März 2015 08:22
An: Philip Sturgeon
Cc: internals; Robert Stoll
Betreff: Re: [PHP-DEV] [RFC] Anonymous Classes
Am 06.03.2015 20:14 schrieb Philip Sturgeon pjsturg...@gmail.com:
Right,
Hi Gregory,
On Sun, Mar 8, 2015 at 2:12 AM, Grégory Planchat greg...@luni.fr wrote:
Le 07/03/2015 02:39, Yasuo Ohgaki a écrit :
We may provide new names and new parameter order in new namespace.
The difference is alias or namespace basically. I don't object to use
namespace for it at all.
Hi Rowan,
On Sun, Mar 8, 2015 at 3:35 AM, Rowan Collins rowan.coll...@gmail.com
wrote:
On 06/03/2015 23:03, Yasuo Ohgaki wrote:
We have a lot of array_u*() functions such as
http://php.net/manual/en/function.array-uintersect-uassoc.php
array array_uintersect_uassoc ( array $array1 , array
Hi!
I'd like to deprecate function: sizeof() [1][2], which is an alias of
count(). some people
expect it return the memory size of the variable.
Why? So, some people are wrong, why we need to mess with the language to
accommodate them?
I don't think it is a good idea.
--
Stas Malyshev
On 7 March 2015 22:47:48 GMT, Yasuo Ohgaki yohg...@ohgaki.net wrote:
Hi Rowan,
On Sun, Mar 8, 2015 at 3:35 AM, Rowan Collins rowan.coll...@gmail.com
wrote:
On 06/03/2015 23:03, Yasuo Ohgaki wrote:
We have a lot of array_u*() functions such as
Le 23/02/2015 19:15, Nikita Popov a écrit :
Voting on the engine exceptions RFC, which proposes to convert existing
fatal and recoverable fatal errors into exceptions, has opened:
https://wiki.php.net/rfc/engine_exceptions_for_php7#vote
Hi,
After discussing the main proposition of this
Hi all,
On Sat, Mar 7, 2015 at 7:32 PM, Lester Caine les...@lsces.co.uk wrote:
On 06/03/15 23:18, Yasuo Ohgaki wrote:
Hi Lester,
On Thu, Mar 5, 2015 at 8:46 PM, Lester Caine les...@lsces.co.uk wrote:
On 05/03/15 09:40, Rowan Collins wrote:
Good point!
I'll update documents so
On Sun, Mar 8, 2015 at 3:39 AM, Rowan Collins rowan.coll...@gmail.com
wrote:
On 07/03/2015 01:30, Yasuo Ohgaki wrote:
Hi Rowan,
On Fri, Mar 6, 2015 at 8:50 AM, Rowan Collins rowan.coll...@gmail.com
mailto:rowan.coll...@gmail.com wrote:
On 5 March 2015 22:05:05 GMT, Yasuo Ohgaki
Hi all,
On Sun, Mar 8, 2015 at 5:41 AM, Stanislav Malyshev smalys...@gmail.com
wrote:
I'd like to deprecate function: sizeof() [1][2], which is an alias of
count(). some people
expect it return the memory size of the variable.
Why? So, some people are wrong, why we need to mess with the
Hi!
Message-ID: 54f07fc7.8050...@php.net
Date: Fri, 27 Feb 2015 15:31:35 +0100
Guilherme volunteered to create a new RFC for the Throwable interface
immediately after this RFC is accepted. Sounds good to me :-)
I would say create the RFC :) Nothing says we should immediately rush
Am 23.02.2015 um 19:15 schrieb Nikita Popov:
Voting is open until 2015-03-08.
Voting ends today and it looks like the RFC will be accepted. How
should we proceed with regards to the comments I made in
Message-ID: 54f07fc7.8050...@php.net
Date: Fri, 27 Feb 2015 15:31:35 +0100
Guilherme
Hi Rowan,
On Sun, Mar 8, 2015 at 8:31 AM, Rowan Collins rowan.coll...@gmail.com
wrote:
What? That's not the same thing at all. I'm pretty sure those functions
are deprecated *because* we have array callback forms, so you can use
call_user_func to call a method.
PHP has a well-defined
26 matches
Mail list logo