That’s an invalid comparison function. It causes the current usort to reverse
sort the array and I see no problem with that changing (you’re saying that a
value for $a less than $b is in fact greater than it, and a value of $b less
than or equal to $a is equal to it).
> On 17/01/2015, at 06:17,
> On 16/01/2015, at 18:46, Yasuo Ohgaki wrote:
>
> Hi Levi,
>
> On Wed, Jan 14, 2015 at 6:18 PM, Levi Morrison wrote:
>
>> [1]: https://wiki.php.net/rfc/return_types#vote
>>
>
> I read the RFC quickly and could not find closure syntax example.
>
> function():array use ($var) {}
>
> or
>
> On 15/01/2015, at 06:33, Marcio Almada wrote:
>
> Marc Bennewitz, Stas,
>
>> But I think adding "default" as new keyword is a big BC break!
>> I personally also don't like it and asked myself why can't the parameter
> simply skipped?
>
> Default is already a reserved word AFAIK. But I've bee
On 17/03/2013, at 8:33 AM, Daniele Orlando wrote:
> Hi List,
>
> I'm interested in proposing an RFC and I would know your opinion.
>
> === Current Situation ===
> Since PHP 5.3 we can use an object instance, who defines the __invoke()
> method, as a callable object.
> Example:
>
> // PHP Code.
On 13/09/2012, at 8:28 PM, Lars Strojny wrote:
> Hi Dmitry,
>
> Am 13.09.2012 um 10:17 schrieb Dmitry Stogov :
> [...]
>> I think the syntax is wired.
>> Instead of classname::class I would prefer something like class(classname).
>
> Wouldn’t this look too much like a function with all the impl
On 21/07/2012, at 10:22 AM, Hartmut Holzgraefe wrote:
> On 07/20/2012 11:07 PM, Stas Malyshev wrote:
>> 1.0.0 and 1.0 are different things. If you want to make a comparison
>> that takes into account only two components, you can just cut them both
>> to two components, then compare.
>
> it is ha
On 18/04/2012, at 10:54 AM, Stas Malyshev wrote:
> Hi!
>
> One of the annoying things I've encountered in working with PHP was
> dealing with functions having long optional parameter lists, especially
> if you need to change only the last one - you have to copy all the
> defaults. Full named para
On 18/08/2011, at 10:46 AM, Reindl Harald wrote:
> Wouldn't it be a good idea to specify here a user/pwd/database for
> build-systems without force them open root without password?
>
> SKIP mysql_get_host_info() [ext/mysql/tests/mysql_get_host_info.phpt] reason:
> Can't connect to MySQL Server -