> Le 6 janv. 2021 à 16:46, Nikita Popov a écrit :
>
> On Sat, Dec 26, 2020 at 12:03 PM Craig Francis
> wrote:
>
>> Hi,
>>
>> Could htmlspecialchars() use ENT_QUOTES by default?
>>
>> I recently worked on an example script, where I tried to keep it simple by
>> using htmlspecialchars directl
On 2021-01-07 11:00, Claude Pache wrote:
Le 6 janv. 2021 à 16:46, Nikita Popov a écrit :
On Sat, Dec 26, 2020 at 12:03 PM Craig Francis
wrote:
Hi,
Could htmlspecialchars() use ENT_QUOTES by default?
I recently worked on an example script, where I tried to keep it simple by
using htmlspec
Hi internals,
I'd like to propose that string keys be allowed when unpacking into arrays:
https://wiki.php.net/rfc/array_unpacking_string_keys
Especially as unpacking in calls supports string keys now, I believe it is
time to drop this limitation for arrays as well.
Regards,
Nikita
The PHP development team announces the immediate availability of PHP
7.3.26. This is a security release.
All PHP 7.3 users are encouraged to upgrade to this version.
For source downloads of PHP 7.3.26 please visit our downloads page.
Windows binaries can be found on the PHP for Windows site.
The
On Wed, Dec 16, 2020 at 10:50 PM Craig Duncan wrote:
> While making internal functions treat non-nullable types consistently with
> userland is an absolute win,
> I do wonder if it should be done simultaneously with changing some
> functions
> to formally accept nulls.
>
PHP 8 made quite a few f
Hi,
> Le 26 déc. 2020 à 12:02, Craig Francis a écrit :
>
> (...)
> PHP uses the numeric version ' with ENT_QUOTES, and it should continue
> to do so - because the named version, ' was added in HTML5, but can
> still cause problems with legacy parsers; for example Android 4, and the
> one still i
The PHP development team announces the immediate availability of PHP
7.4.14. This is a security bug fix release.
All PHP 7.4 users are encouraged to upgrade to this version.
For source downloads of PHP 7.4.14 please visit our downloads page.
Windows binaries can be found on the PHP for Windows si
On Sat, Dec 26, 2020 at 12:03 PM Craig Francis wrote:
> Could htmlspecialchars() use ENT_QUOTES by default?
> [...]
> I'd also be tempted to suggest ENT_SUBSTITUTE should be included, as I prefer
> to keep as much of the valid data (rather than losing everything), but that's
> not as important a
On Thu, 7 Jan 2021 at 14:11, Claude Pache wrote:
> Hi,
>
> > Le 26 déc. 2020 à 12:02, Craig Francis a
> écrit :
> >
> > (...)
> > PHP uses the numeric version ' with ENT_QUOTES, and it should
> continue
> > to do so - because the named version, ' was added in HTML5, but can
> > still cause probl
The PHP development team announces the immediate availability of PHP
8.0.1. This is a security release.
All PHP 8.0 users are encouraged to upgrade to this version.
For source downloads of PHP 8.0.1 please visit our downloads page.
Windows binaries can be found on the PHP for Windows site.
The li
Hello!
I cannot access php.net anymore. error 500.
Atenciosamente,
David Rodrigues
Hi,
Since a couple of minutes => 500 internal server error on the homepage of
php.net.
Would it be, by any chance, related?
Cheers,
Patrick
Hi,
That is only the homepage.
The rest of the site works fine.
Could be related to the release of PHP 8.0.1 that happened a few minutes
ago.
Patrick
Le jeu. 7 janv. 2021 à 17:49, David Rodrigues a
écrit :
> Hello!
>
> I cannot access php.net anymore. error 500.
>
>
> Atenciosamente,
> David
On Thu, 7 Jan 2021 at 13:51, Patrick ALLAERT wrote:
> Hi,
>
> Since a couple of minutes => 500 internal server error on the homepage of
> php.net.
> Would it be, by any chance, related?
>
> Cheers,
> Patrick
>
Should be fixed by http://git.php.net/?p=web/php.git;a=commit;h=511182cf
My apologies
On Thu, 7 Jan 2021 at 13:56, Patrick ALLAERT wrote:
> Hi,
>
> That is only the homepage.
> The rest of the site works fine.
>
> Could be related to the release of PHP 8.0.1 that happened a few minutes
> ago.
>
> Patrick
>
> Le jeu. 7 janv. 2021 à 17:49, David Rodrigues a
> écrit :
>
> > Hello!
>
Hi Gabriel,
I can see that https://bugs.php.net/bug.php?id=80426 isn't part of
the ChangeLog while I'm pretty sure it is fixed in that release.
Not that I care about that one in particular, but maybe that isn't the only
one missing there.
Cheers,
Patrick
Le jeu. 7 janv. 2021 à 17:44, Gabriel Ca
On Thu, Jan 7, 2021, at 5:30 AM, Nikita Popov wrote:
> Hi internals,
>
> I'd like to propose that string keys be allowed when unpacking into arrays:
> https://wiki.php.net/rfc/array_unpacking_string_keys
>
> Especially as unpacking in calls supports string keys now, I believe it is
> time to drop
Den tor. 7. jan. 2021 kl. 21.19 skrev Larry Garfield :
> Hard yes. I ran into a case just yesterday (while doing some sample code for
> immutability) when I wanted to merge associative arrays this way and the
> alternate was much yuckier.
Seconded, I ran into a similar thing yesterday and it to
Den 2021-01-06 kl. 17:51, skrev Nikita Popov:
On Tue, Dec 15, 2020 at 12:14 AM Björn Larsson
mailto:bjorn.x.lars...@telia.com>> wrote:
Den 2020-12-07 kl. 16:49, skrev Nikita Popov:
> On Mon, Dec 7, 2020 at 3:49 PM Björn Larsson
mailto:bjorn.x.lars...@telia.com>>
> wrote:
>
Hi internals,
1. In 2038, `(new DateTime())->getTimestamp()` and other time apis such as
strtotime will start throwing "ValueError: Epoch doesn't fit in a PHP integer"
on 32-bit php builds, where PHP's `int` type is 32-bits.
(other APIs will return negative 32-bit integers)
See https://e
Hi Nikita,
> I'd like to propose that string keys be allowed when unpacking into arrays:
> https://wiki.php.net/rfc/array_unpacking_string_keys
>
> Especially as unpacking in calls supports string keys now, I believe it is
> time to drop this limitation for arrays as well.
+1, was considering pro
Hi internals,
I've started a straw poll
https://wiki.php.net/rfc/readline_interactive_shell_result_function_straw_poll
after feedback on the RFC: https://externals.io/message/112568#112737
Notably, there was discussion of whether it made sense to provide the ability
to dump expression results w
22 matches
Mail list logo