On Sun, Nov 20, 2022, at 7:20 AM, Dan Ackroyd wrote:
> Hi Larry,
>
> Regarding the syntax, up until now PHP has only supported the letters
> a-z and underscore in keywords.
>
> I realise this is an aesthetic thing, but "private(set)" looks like a
> function to me, and not a keyword. I saw the previ
On Tue, Nov 22, 2022, at 12:08 PM, Tim Düsterhus wrote:
> Hi
>
> On 11/14/22 21:02, Claude Pache wrote:
>> To clarify my position:
>>
>> * The set visibility must be either more restrictive or of the same
>> restriction level than the get visibility.
>>
>> * When the set visibility is absent, it
PHP 8.2.0RC7 has just been released and can be downloaded from:
https://downloads.php.net/~pierrick
or
https://qa.php.net/
or use the git tag: php-8.2.0RC7
Windows binaries are available at: https://windows.php.net/qa/#php-8.2
Please test it carefully, and report any bugs to
https://github.co
On 24.11.2022 at 16:35, Thomas Hruska wrote:
> In ext/standard/file.c:
>
> #define PHP_STREAM_TO_ZVAL(stream, arg) \
> ZEND_ASSERT(Z_TYPE_P(arg) == IS_RESOURCE); \
> php_stream_from_res(stream, Z_RES_P(arg));
>
> Can someone clarify why that macro is named PHP_STREAM_TO_ZVAL? The
> curren
In ext/standard/file.c:
#define PHP_STREAM_TO_ZVAL(stream, arg) \
ZEND_ASSERT(Z_TYPE_P(arg) == IS_RESOURCE); \
php_stream_from_res(stream, Z_RES_P(arg));
Can someone clarify why that macro is named PHP_STREAM_TO_ZVAL? The
current name seems to imply the inverse of what actually
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
The PHP development team announces the immediate availability of PHP
8.1.13.
This is a bugfix release.
All PHP 8.1 users are encouraged to upgrade to this version.
For source downloads of PHP 8.1.13 please visit our downloads page. Windows
binaries
Can anyone explain to me why it is desirable/beneficial for the DateTime
class to store a warning that trailing characters were ignored while
parsing a date/time string with the + symbol in createFromFormat()?
Basic example: https://3v4l.org/Sod9o
$dt = DateTime::createFromFormat('h:i:A+', '01:31