As mentioned on doc (http://php.net/manual/en/dateinterval.construct.php)
the format is based on ISO 8601 (
https://en.wikipedia.org/wiki/ISO_8601#Durations), but it doesn't respects,
for instance, decimal values. There are some reason for that?
This bug was related on 2011 and we have not update
Results for project PHP master, build date 2017-06-20 19:23:39-07:00
commit: 7802cf8
previous commit:c18ba68
revision date: 2017-06-20 23:25:09+03:00
environment:Haswell-EP
cpu:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz 2x18 cores,
stepping 2, LLC 45 MB
Hi!
> I think that `if ($_GET['x']?? === 1)` looks and feels a lot like `if
> (@$_GET['x'] === 1)`...
>
> Yes, the latter has runtime performance issues and will still send
> notices to error handlers and logs. But perhaps if we're going to
> extend syntax, the syntax could be something along t
On Wed, Jun 21, 2017 at 11:19 PM, Rowan Collins
wrote:
>
> The short form is still constrained to be a single expression, because
> otherwise you can't omit the "return" statement;
For the sake of discussion, Groovy has optional returns where the last
evaluated expression in a closure is returne
On 21/06/2017 15:04, Rasmus Schultz wrote:
> > For me (and I am not alone), this feature is NOT a new syntax for
closures
>
> Regardless of why you want it, that's exactly what it is though -
another way to declare a closure.
>
> Even if it has different semantics, the resulting object is stil
On Wed, Jun 21, 2017 at 4:15 PM, Andrea Faulds wrote:
>> The double @@ could indicate "No, really, don't send any kind of
>> warning (or lower) anywhere. Just deal with it. And as a bonus, the
>> @@ syntax is valid in older PHPs (acting like a single @).
>
> I'm not entirely sure if you're troll
> Once you start getting into multi statement closures, all the weird
syntax elements that are being proposed just make it harder to read and
harder to visually parse.
The same is true for current function syntax. But that's what line-breaks
are for :-)
> Automatically importing variables isn’t “
Hi Sara,
Sara Golemon wrote:
On Wed, Jun 21, 2017 at 1:05 PM, Andrea Faulds wrote:
Here's a small RFC for a small feature, which I've wondered about for a
while: https://wiki.php.net/rfc/unary_null_coalescing_operator
What do you think of it?
I think that `if ($_GET['x']?? === 1)` looks an
On Wed, Jun 21, 2017 at 1:05 PM, Andrea Faulds wrote:
> Here's a small RFC for a small feature, which I've wondered about for a
> while: https://wiki.php.net/rfc/unary_null_coalescing_operator
>
> What do you think of it?
>
I think that `if ($_GET['x']?? === 1)` looks and feels a lot like `if
(@$
On 6/21/2017 7:05 PM, Andrea Faulds wrote:
> Hi all,
>
> Here's a small RFC for a small feature, which I've wondered about for a
> while: https://wiki.php.net/rfc/unary_null_coalescing_operator
>
> What do you think of it?
>
> Thanks!
I would prefer [1] to be extended to any and everything that
Hi all,
Here's a small RFC for a small feature, which I've wondered about for a
while: https://wiki.php.net/rfc/unary_null_coalescing_operator
What do you think of it?
Thanks!
--
Andrea Faulds
https://ajf.me/
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http
On 6/21/2017 5:38 PM, Nikita Popov wrote:
> Can you please clarify where functions that are declared in a header and
> defined in a source file should be documented? I believe the usual
> recommendation is to document in the source file, because it's closer to
> the implementation and thus more lik
On Sat, Jun 17, 2017 at 9:53 AM, Fleshgrinder wrote:
> Hi!
>
> I started voting on the Doxygen RFC:
>
> https://wiki.php.net/rfc/doxygen
>
> --
> Richard "Fleshgrinder" Fussenegge
>
Can you please clarify where functions that are declared in a header and
defined in a source file should be docume
On 6/21/2017 4:13 AM, Christopher Jones wrote:
>
> On 17/6/17 5:53 pm, Fleshgrinder wrote:
>> Hi!
>>
>> I started voting on the Doxygen RFC:
>>
>> https://wiki.php.net/rfc/doxygen
>>
> Did I miss seeing when the vote ends?
>
> Chris
>
You did not, I forgot to mention it. The vote will close on
On 6/19/2017 2:31 PM, Jakub Zelenka wrote:
> On Sat, Jun 17, 2017 at 8:53 AM, Fleshgrinder wrote:
>
>> Hi!
>>
>> I started voting on the Doxygen RFC:
>>
>> https://wiki.php.net/rfc/doxygen
>>
>>
> I just wanted to send my feedback and the reason why I voted "yes". First
> of all I don't really li
Hi,
The message I sent to announce the vote didn't start a new thread. So,
here is another one.
Opening vote for :https://wiki.php.net/rfc/url-opcode-cache
Voting period will end Monday, July 3, 2017, 00:00 UTC.
Regards
François
--
PHP Internals - PHP Runtime Development Mailing List
To
> For me (and I am not alone), this feature is NOT a new syntax for closures
Regardless of why you want it, that's exactly what it is though - another
way to declare a closure.
Even if it has different semantics, the resulting object is still an
instance of Closure, right?
It should pass type-ch
Hi Stas,
> -Original Message-
> From: Stanislav Malyshev [mailto:smalys...@gmail.com]
> Sent: Tuesday, June 20, 2017 10:33 PM
> To: Johannes Schlüter ; PHP Internals
> ; Anatol Belski
> Subject: Re: [PHP-DEV] Missing commits in 7.0 branch
>
> Hi!
>
> > From the history it looks like you
Hi,
On Mon, Jun 19, 2017 at 9:12 PM, François Laupretre
wrote:
> Hi,
>
> Opening vote for : https://wiki.php.net/rfc/url-opcode-cache
>
> Voting period will end Monday, July 3, 2017, 00:00 UTC.
>
You should start a new thread to announce the vote start, or people
not actively engaged in the (alr
On 21.06.2017 at 05:33, Anish Mistry wrote:
> PDO ODBC #42765 uninitialized length bug patch
> https://bugs.php.net/bug.php?id=42765
>
> Any takers? Would we be able to get this patch committed? It's a
> pretty straight forward fix.
While the patch still looks good to me, I have no environment
Hello dear PHP internals!
I’m looking for information about the PHP version (e.g. 7.1) versus the API
version (e.g. 320160303).
The best way I found is to dig through the git history of this file:
Zend/zend_extensions.h
For older versions I’ve found this nice doc, but it isn’t up to date:
htt
21 matches
Mail list logo