Re: [PHP-DEV] [RFC] Invoke __callStatic when non-static public methods are called statically

2024-03-29 Thread Aleksander Machniak
. It's side-tracking, but I'd like to note that I would vote against such an idea. I don't have a strong opinion on the proposed RFC yet. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net

Re: [PHP-DEV] [RFC] [Discussion] Support object type in BCMath

2024-03-28 Thread Aleksander Machniak
since PHP 8.1. Therefore, there is currently no precedent that can be compared on the same terms as `BCMath\Number`…. Enums have 'value' and 'name' properties. Although they are kinda special. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer

Re: [PHP-DEV] [RFC] [Discussion] Support object type in BCMath

2024-03-27 Thread Aleksander Machniak
ps. that also means withScale(null) should be possible. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] PGP: 19359DC1 # Blog: https://kolabian.wordpress.com

Re: [PHP-DEV] [RFC] [Discussion] Support object type in BCMath

2024-03-27 Thread Aleksander Machniak
n is more clear here, and I think it applies to all cases you mentioned, including div or pow. If you know you need to change the scale just add ->withScale(X) before. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [htt

Re: [PHP-DEV] [RFC] [Discussion] Support object type in BCMath

2024-03-26 Thread Aleksander Machniak
{} public function sqrt(): BcNum {} but I have no clue about BCMath. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] PGP: 19359DC1 # Blog: https

Re: [PHP-DEV] [RFC] [Discussion] Support object type in BCMath

2024-03-26 Thread Aleksander Machniak
reading https://wiki.php.net/rfc/namespaces_in_bundled_extensions again I see it is a perfect case to apply it. While it's not a must, I think we should go with BCMath/Number. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https

Re: [PHP-DEV] [RFC] [Discussion] Support object type in BCMath

2024-03-26 Thread Aleksander Machniak
', I guess. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] PGP: 19359DC1 # Blog: https://kolabian.wordpress.com

Re: [PHP-DEV] [RFC] Add http_(get|clear)_last_request_headers() function

2024-01-03 Thread Aleksander Machniak
_get_params($context)['response_headers']; Or something like that. I don't know. While on this I found out that we already have stream_get_meta_data() and `wrapper_data` there. So, maybe we should/could make it more unified. Maybe it should be mentioned in the RFC. -- Aleksander Machniak Kolab Groupware Dev

[PHP-DEV] bugs.php.net still active?

2023-12-07 Thread Aleksander Machniak
Hi, I was under impression that bugs.php.net was supposed to be phased out. I.e. made read-only or something. https://bugs.php.net/bug.php?id=78628=1 proves that it's not the case and I'm receiving annoying spam recently. -- Aleksander Machniak Kolab Groupware Developer[https

Re: [PHP-DEV] Adding a donate link to the PHP website

2023-11-30 Thread Aleksander Machniak
y, do you know you still have voting rights?". I can see that some people might not like the idea of bringing more new-old voters, though. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://rou

Re: [PHP-DEV] [RFC] [Discussion] Resource to object conversion

2023-11-21 Thread Aleksander Machniak
t analysis for this section either. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] PGP: 19359DC1 # Blog: https://kolabian.wordpress.com -- PHP Internals - P

Re: [PHP-DEV] [RFC] [Discussion] Change how JIT is disabled by default

2023-11-16 Thread Aleksander Machniak
On 16.11.2023 10:21, Daniil Gentili wrote: No problem, I can change the defaults but remove the fatal error if jit=non-zero and jit_buffer_size=0, can I still turn it into a warning though? Whatever you do, please mention it in the Proposal section of the RFC. -- Aleksander Machniak Kolab

Re: [PHP-DEV] Passing null to parameter

2023-11-10 Thread Aleksander Machniak
that currently, most likely, none of such proposals would get 2/3 of votes. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] PGP: 19359DC1 # Blog: https

Re: [PHP-DEV] New RFC : empty() function

2023-10-30 Thread Aleksander Machniak
for that. The RFC is not clear either. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] PGP: 19359DC1 # Blog: https://kolabian.wordpress.com -- PHP Internals - PHP

Re: [PHP-DEV] Re: Basic Type Alias

2023-10-28 Thread Aleksander Machniak
could be class names with namespace. Types should also support visibility (public|protected|private) when in class/trait context. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net]

Re: [PHP-DEV] Basic Type Alias

2023-10-26 Thread Aleksander Machniak
or not. For example, here int could be cast to string in non-strict types mode. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] PGP: 19359DC1 # Blog: https

Re: [PHP-DEV] Two new functions array_first() and array_last()

2023-10-17 Thread Aleksander Machniak
array, just to do some error checking. Please, no. What's wrong with count() or empty()? +1 for array_first() and array_last(). The only problem is probably a big BC break. I myself have array_first() defined in my framework. -- Aleksander Machniak Kolab Groupware Developer[https

Re: [PHP-DEV] [RFC] [Discussion] XML_OPTION_PARSE_HUGE

2023-09-21 Thread Aleksander Machniak
was introduced in, - maybe existence of this constant should be mentioned in the RFC. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] PGP: 19359DC1 # Blog: https

Re: [PHP-DEV] [RFC] [Vote] Deprecate functions with overloaded signatures

2023-06-26 Thread Aleksander Machniak
, setTime() method already exists (not the best name), so addition of setDate() and setDateTime() will make it worse. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net

Re: [PHP-DEV] [RFC] [Discussion] Add new function `array_group`

2023-05-31 Thread Aleksander Machniak
tps://hackage.haskell.org/package/groupBy-0.1.0.0/docs/Data-List-GroupBy.html>. Sorry, I'm sick right now and have no clue, but how does it relate to https://wiki.php.net/rfc/array_column_results_grouping -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube W

Re: [PHP-DEV] [RFC] [Discussion] Clone with

2023-05-29 Thread Aleksander Machniak
On 29.05.2023 14:12, Aleksander Machniak wrote: In "Property name expressions" section's first code example I think you intended to do `clone $self` (not `clone $this`) inside the foreach() loop. Also, I have a feeling that it would be better to implement `clone $object with $

Re: [PHP-DEV] [RFC] [Discussion] Clone with

2023-05-29 Thread Aleksander Machniak
e $self` (not `clone $this`) inside the foreach() loop. Also, I have a feeling that it would be better to implement `clone $object with $properties` syntax first and if that is accepted think about expressions support. It's not a strong feeling though. -- Aleksander Machniak Kolab Groupware Dev

Re: [PHP-DEV] [RFC] [Discussion] Deprecate functions with overloaded signatures

2023-05-02 Thread Aleksander Machniak
On 27.04.2023 23:28, Máté Kocsis wrote: https://wiki.php.net/rfc/deprecate_functions_with_overloaded_signatures stream_context_set_option() should be removed from the Future Scope as it already is being changed by the RFC. -- Aleksander Machniak Kolab Groupware Developer[https

Re: [PHP-DEV] [RFC] [Discussion] Clone with

2023-04-20 Thread Aleksander Machniak
n the table, no need for a new keyword. $point = clone($point, x: $x, y: $y, z: $z); -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] PGP: 19359DC1 # Blog: https://

Re: [PHP-DEV] [RFC] [Discussion] Clone with

2023-04-20 Thread Aleksander Machniak
$point with (x: $x, y: $y, z: $z); $point = clone $point with (...['x' => $x, 'y' => $y, 'z' => $z]); or $point = clone($point, x: $x, y: $y, z: $z); Also, I didn't see it mentioned, but maybe for future scope, these new arguments should be passed to __clone(). -- Aleksander Machn

Re: [PHP-DEV] [RFC] New core autoloading mechanism with support for function autoloading

2023-04-10 Thread Aleksander Machniak
$callback, int $type, bool $prepend = false): void; then Loader::register($callback, Loader::TYPE_CLASS | Loader::TYPE_FUNCTION); Or sth like that. My 2c. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net

Re: [PHP-DEV] [RFC] Pass Scope to Magic Accessors

2023-01-19 Thread Aleksander Machniak
methods. I guess it would be tricky with calls to the parent magic method when you need the "outer calling scope", but I'd like to see some reasoning in the RFC. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://rou

Re: [PHP-DEV] RFC Idea - is_json - looking for feedback

2022-07-30 Thread Aleksander Machniak
these with is_json(). On the other hand maybe the function should be as simple as possible, but I'd like it to be considered. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net

Re: [PHP-DEV] [RFC] Add json_encode indent parameter

2022-07-05 Thread Aleksander Machniak
s citizen. Therefore I will vote against this current implementation. I voted No for the same reason. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] PGP: 19359DC

Re: [PHP-DEV] [RFC][Vote] New Curl URL API

2022-07-05 Thread Aleksander Machniak
;Setting a part to a null value will effectively remove that part's contents", but the $content argument is of type string not ?string. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [h

Re: [PHP-DEV] Re: NULL Coercion Consistency

2022-05-28 Thread Aleksander Machniak
ts can see this makes sense. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] PGP: 19359DC1 # Blog: https://kolabian.wordpress.com -- PHP Internals - PHP Runtime Developme

Re: [PHP-DEV] NULL Coercion Consistency

2022-05-08 Thread Aleksander Machniak
lso a win. Ok, this was my take, now I will shut up. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] PGP: 19359DC1 # Blog: https://kolabian.wordpress.com -- PHP Int

Re: [PHP-DEV] NULL Coercion Consistency

2022-05-07 Thread Aleksander Machniak
mo, the BC break is much less problematic than the one we're trying to solve here. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] PGP: 19359DC1 # Blog: https://

Re: [PHP-DEV] NULL Coercion Consistency

2022-05-07 Thread Aleksander Machniak
inconsistency" or sth like that, as this section isn't really much about the documentation, rather the current state. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] --

Re: [PHP-DEV] [RFC][Under discussion] Deprecate ${} string interpolation

2022-03-12 Thread Aleksander Machniak
a dozen or so occurrences of option 3 and none of option 4. Plus a few of option 3 in my projects' code (that I'm fixing right now). That includes some popular packages. That being said, I think I will be +1 on this RFC. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org

Re: [PHP-DEV] [VOTE] User Defined Operator Overloads

2022-01-05 Thread Aleksander Machniak
ns with $a + $b * $c? there's no clear answer - why not allow the tilde operator to be used in a different context?, e.g. in PostgreSQL it is used as a regular expression match, e.g. $a ~ '^[a-z]+$' - the Implied Operators table does not mention ~= operation. - I don't like the Reflection API ch

[PHP-DEV] 8.1 regressions

2021-10-15 Thread Aleksander Machniak
not get much attention yet. Regards -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] PGP: 19359DC1 # Blog: https://kolabian.wordpress.com -- PHP Internals - PHP Runtime

Re: [PHP-DEV] [Pre-Vote Announcement] Move RNG functions Random Extension

2021-09-22 Thread Aleksander Machniak
On 22.09.2021 13:21, Go Kudo wrote: > The voting phase for the following RFCs will begin as soon as two weeks > have passed. The RFC title is not correct English (missing "to" or "into"). The first paragraph in Introduction is also hard to read. -- Aleksander Machniak

Re: [PHP-DEV] [RFC] Add parse_query_string as an alternative to parse_str

2021-08-06 Thread Aleksander Machniak
name. And as we already have http_build_query() I would rather see http_parse_query(). The RFC should target 8.2. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net]

Re: [PHP-DEV] Request for karma to vote on RFCs

2021-07-20 Thread Aleksander Machniak
yone. I suggest to remove this point. I think the voting would need to be in a form we're using for RFCs, counting votes on mailing list will be error-prone and time-consuming (you don't know who's a voter). -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube

Re: [PHP-DEV] [RFC] Under Discussion: Default User-Agent for cURL

2021-06-27 Thread Aleksander Machniak
nsion. Another option might be PHP_INI_PERDIR (for both). Why? Because that's what's used for (similar) openssl extension configuration. ps. anyway, right now I'm on -1 for the new config option. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail De

Re: [PHP-DEV] [RFC] Under Discussion: Default User-Agent for cURL

2021-06-26 Thread Aleksander Machniak
ly don't need another setting. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] PGP: 19359DC1 # Blog: https://kolabian.wordpress.com -- PHP Internals - PHP Runtime Dev

Re: [PHP-DEV] [RFC] is_trusted - was is_literal

2021-06-24 Thread Aleksander Machniak
=-1, RCVD_IN_BL_SPAMCOP_NET=1.347, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no -- Aleksander Machniak Kolab Groupware Developer[https://kolab.

Re: [PHP-DEV] A little syntactic sugar on array_* function calls?

2021-05-25 Thread Aleksander Machniak
dn't go that far with this (possible BC break), maybe a future scope. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] PGP: 19359DC1 # Blog: https://kolabian.wordpre

Re: [PHP-DEV] [RFC] First-class callable syntax

2021-05-20 Thread Aleksander Machniak
o a Closure, but I'm not sure now: $fn = clone $this->myFunc; or is this a heresy? ;) -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] PGP: 19359DC1 # Blog: https://kolab

Re: [PHP-DEV] [RFC][Draft] Body-less __construct

2021-05-10 Thread Aleksander Machniak
// empty } } The question to the proposal. Will this new syntax apply to: 1. all methods 2. all constructors 3. only to constructors with property promotion? I think 3 makes most sense here and is less contentious. So, just be sure to specify this in the RFC. -- Aleksander Machniak

Re: [PHP-DEV] Unable to log in to wiki.php.net

2021-04-19 Thread Aleksander Machniak
On 19.04.2021 17:03, Gabriel Caruso wrote: > You need to reset it: https://externals.io/message/113981#113981 :) Thanks. All's good now. I guess you can add me to the list of users confused by the password change. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.

[PHP-DEV] Unable to log in to wiki.php.net

2021-04-19 Thread Aleksander Machniak
I was about to log in to vote on some RFCs, but I cannot log in. I reset the password twice, the new passwords didn't work either. My username is 'alec'. Could someone verify that? -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https

Re: [PHP-DEV] [VOTE] Direct execution opcode file without php source code file

2021-04-05 Thread Aleksander Machniak
On 05.04.2021 04:11, €– ”k”k wrote: > https://wiki.php.net/rfc/direct-execution-opcode I voted No because I can't imagine anyone voting Yes to a RFC as badly written as this one. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [ht

Re: [PHP-DEV] [RFC] Auto-capture multi-line closures and short functions take 2

2021-03-28 Thread Aleksander Machniak
to-capture. E.g. `procedure` or `macro`. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] PGP: 19359DC1 # Blog: https://kolabian.wordpress.com -- PHP Internal

Re: [PHP-DEV] What should we do with utf8_encode and utf8_decode?

2021-03-22 Thread Aleksander Machniak
ion. Or the intention was different. ps. to Kamil, We use utf8_encode() to make the string safe to be put in utf-8 database column/table. We use utf8_decode() to convert that back to what it was before. The tests prove that the conversion is lossless. -- Aleksander Machniak Kolab Groupware Develo

Re: [PHP-DEV] What should we do with utf8_encode and utf8_decode?

2021-03-22 Thread Aleksander Machniak
; $this->assertSame($str, utf8_decode(utf8_encode($str))); Could anyone point to a sample input that will not work with my use-case? -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] --

Re: [PHP-DEV] [RFC] noreturn type

2021-03-10 Thread Aleksander Machniak
aves as expected. I see it's a subtype, I don't get why. Wouldn't it be better to be a separate type so return type covariance is not allowed (as it is with void)? Was it a design decision or a side product of the implementation? -- Aleksander Machniak Kolab Groupware Developer[http

Re: [PHP-DEV] [RFC] noreturn type

2021-03-10 Thread Aleksander Machniak
On 10.03.2021 19:06, Matthew Brown wrote: > Ondřej Mirtes and I present an RFC for the noreturn type: > https://wiki.php.net/rfc/noreturn_type I don't like that type covariance would be allowed. Why such an exception to the rules? -- Aleksander Machniak Kolab Groupware Developer

Re: [PHP-DEV] [RFC] Static variables in inherited methods

2021-02-25 Thread Aleksander Machniak
he Traits behavior being consistent. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] PGP: 19359DC1 # Blog: https://kolabian.wordpress.com -- PHP Internals - PHP R

Re: [PHP-DEV] [RFC] Enumerations, Round 2

2020-12-30 Thread Aleksander Machniak
at this point. I'm talking about ":string"/":int" in the enum definiton as well as ->value and ->from(). -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] -

Re: [PHP-DEV] [RFC] Enumerations, Round 2

2020-12-30 Thread Aleksander Machniak
s = 'H'; case Diamonds = 'D'; case Clubs = 'C'; case Spades = 'S'; } 'H' === Suit::Hearts->value; // true 'Hearts' === Suit::Hearts->value; // false Also, how about using a method instead of property for ->value? -- Aleksander Machniak Kolab Groupware Developer[https://kolab

Re: [PHP-DEV] [rfc:direct-execution-opcode] Whether need __FILE__ the value of the file to replace the compiled opcode file path

2020-12-10 Thread Aleksander Machniak
out the idea. But this need to be redacted, because in the current form it's really hard to read. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] PGP: 19359DC1 #

Re: [PHP-DEV] [RFC] Enumerations

2020-12-08 Thread Aleksander Machniak
t; for enums with a large number of cases. As an unfortunate side effect, this > will preclude per-case methods, at least for now. :-( Imo, this is good. This whole sub-classing part looked to me as too much (at least for this step). Thank you for all this work. -- Aleksander Machniak Kolab Grou

Re: [PHP-DEV] [VOTE] Shorter Attribute Syntax Change

2020-08-18 Thread Aleksander Machniak
lo world") ) function someFunc() { } It's almost identical to #[] or @[], but it looks like PHP and has no BC breaks. To me it also sounds good - "declare attribute(s) [for] something". ps. sorry Mike for a duplicate, I pressed the wrong button. -- Aleksander Machniak Kolab Groupware

Re: [PHP-DEV] [VOTE] Shorter Attribute Syntax Change

2020-08-12 Thread Aleksander Machniak
ght actually be a mistake to implement the feature with any of the options on the table. Maybe we should look for different approaches? Here's one. To not have to use a new keyword I choose to try how "declare" would fit: declare( SomeAttr, AntoherAttr("Hello world") ) cla

Re: [PHP-DEV] Re: @@Jit Attribute Considerations

2020-08-06 Thread Aleksander Machniak
. Also make sure to define what happens if you use the attribute on a function as well as class or e.g. class constant. In other words, when it's not applicable will it be ignored or throw a warning/error? -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail D

Re: [PHP-DEV] [RFC] [VOTE] Shorter Attribute Syntax

2020-06-18 Thread Aleksander Machniak
if you write: @@@ExampleAttribute() class Foo { } @@@some_function(); -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] PGP: 19359DC1 # Blog: https://kolabian.w

Re: [PHP-DEV] Deprecating uniqid()

2020-05-06 Thread Aleksander Machniak
t's simple, i.e. is a simple function that returns base32 string. The only argument might be the output string length. My 2 cents. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https:

Re: [PHP-DEV] Renaming PhpAttribute to Attribute

2020-05-02 Thread Aleksander Machniak
th "class attribute", "attribute class" or just "attribute"? Then PhpAttribute would not be needed. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] -

Re: [PHP-DEV] [RFC] [VOTE] Immutable/final/readonly properties

2020-03-17 Thread Aleksander Machniak
ure the RFC can be edited during vote, but the second code block in the RFC is wrong - missing "". -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] PG

Re: [PHP-DEV] [RFC] Attributes v2

2020-03-10 Thread Aleksander Machniak
t; How does the return statement affect this example? The return statement > would be inside the braces, the attributes would be before the braces. I think he meant return type declaration. That's why the question about the `use` clause is as well

Re: [PHP-DEV] [RFC] Attributes v2

2020-03-09 Thread Aleksander Machniak
ewArguments('Hello', 'World'); >> function foo() {} or if there's not many attributes, in the same line: <> It may look better for the short version, but I'm not so sure about the long version. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube We

Re: [PHP-DEV] iconv vs. mbstring

2020-03-05 Thread Aleksander Machniak
son for charset conversion cases? -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] PGP: 19359DC1 # Blog: https://kolabian.wordpress.com -- PHP Internals - PHP Runtime Deve

Re: [PHP-DEV] Who are the current eligible voters?

2020-01-16 Thread Aleksander Machniak
ode https://github.com/php/web-wiki/blob/9bc9ba2c3d2d0d26ab510e4959466ab8680b7de7/dokuwiki/lib/plugins/doodle/syntax.php#L226 suggests above statements are false. -- Aleksander Machniak Kolab Groupware Developer[https://kolab.org] Roundcube Webmail Developer [https://roundcube.net]