The reason I'm not so polite is because I'm so angry. Firstly, the Deprecate
functions with overloaded signatures RFC's approach to FFI recommendations is
unfounded, and secondly, the PR
commit(https://github.com/php/php-src/commit/4acf0084dcd63ec369a610ec966db33f322694c8)
has not been voted o
My Submit RFC:
https://wiki.php.net/rfc/ffi-non-static-deprecated
Since no one responded to the first announcement, I am not sure if anyone
agrees, so I will announce it again。
Since this RFC is the opposite of a PR, and the PR has already been merged
and is expected to be released in PHP 8.4, ca
https://github.com/php/php-src/commit/4acf0084dcd63ec369a610ec966db33f322694c8
This PR has been merged and will probably be released in PHP 8.4, so hopefully
a result will come out soon.
Regards
Chopin Xiao
I've added a new RFC to deprecate FFI instance calls to non-static method.
The PR
https://github.com/php/php-src/commit/4acf0084dcd63ec369a610ec966db33f322694c8
deprecation of static methods is not a good solution. Now that the FFI API is a
mess, this PR will make a fix impossible
My RFC link
h
Haven't been paying attention for a while and found that FFI::new(),
FFI::type(), FFI::cast()statically are marked as deprecated, which is a bad
implementation.
Suggesting in
RFC:https://wiki.php.net/rfc/deprecate_functions_with_overloaded_signatures#fficast_ffinew_and_ffitype
that you should r
Similar to a tick event, an async function will be called automatically after
the block of code .
and the async function is cleared when script shutown.
Async function can be cleared after they have returned, or they can continue to
be called at the next event after they have returned.
and some
发件人: Alexandru Pătrănescu
发送时间: 2023年8月23日 16:16
收件人: chopins xiao
抄送: internals@lists.php.net
主题: Re: [PHP-DEV] Replace ugly attribute token #[] to other
On Wed, Aug 23, 2023 at 9:36 AM chopins xiao
mailto:chopins.x...@gmail.com>> wrote:
I use @ instead of #[] as attribute
I use @ instead of #[] as attribute token. attribute use whitespace marks are
closed. Of course you can start with @@ or #, other.
error control use @@ instead of @, add T_SILENCE token
new syntax:
one attribute: @attribute{WHITESPACE} @otherAttribute(12){WHITESPACE}
group attribute: @attribute1(
0. when dot object opeator is enable, use small sign and add sign [<+] be
equivalent to [.] for string concat mark.
compatibility is achieved through configuration switches.
syntax :
>>> $a = 'str0';
>>> $a .= 'str1' <+ 'str2' <+ 'str3' <+ $str_var <+ strcall();