Hi Tim,
> The 14 days of voting are a *minimum* period. Anything substantially longer
> would be unusual, but not disallowed.
I misunderstood that it needed to be exactly 2 weeks. As you said, I will
revert it back to the original date of the 30th.
Regards.
Saki
--
PHP Internals - PHP Runtime
Hi
On 11/24/23 01:25, Saki Takamachi wrote:
Voting will end November 30th, 00:00 GMT.
I made a mistake in my calculation. It's until the 29th.
The voting results as of now are pretty clear, but reducing the voting
period after the vote has started is probably not a good thing, because
fol
On Fri, Nov 24, 2023 at 2:30 PM Deleu wrote:
>>
>> Hey Mike,
>>
>> Using a static method to enforce LSP when it should have been enforced
>> in the first place, merely proves my point that it violates LSP. I
>> don't know how else to spell it out, I guess we can try this one next:
>>
>> class A {
>
> Hey Mike,
>
> Using a static method to enforce LSP when it should have been enforced
> in the first place, merely proves my point that it violates LSP. I
> don't know how else to spell it out, I guess we can try this one next:
>
> class A {
> final public static function foo() {
> r
Hi Robert,
Am 23.11.23 um 21:31 schrieb Robert Landers:
However, we can make certain methods private anyway, namely,
constructors (I haven't gone hunting for other built-in methods yet).
This is perfectly allowed:
class P {
public function __construct($name = 'waldo') {
echo "hell
On Fri, Nov 24, 2023 at 12:46 PM Mark Trapp wrote:
>
> On Thu, Nov 23, 2023 at 12:31 Robert Landers wrote:
> >
> > Hello Internals,
> >
> > As you may know, an inherited method cannot reduce the visibility of
> > an overridden method. For example, this results in a fatal error
> > during compilat
On Thu, Nov 23, 2023 at 12:31 Robert Landers wrote:
>
> Hello Internals,
>
> As you may know, an inherited method cannot reduce the visibility of
> an overridden method. For example, this results in a fatal error
> during compilation:
>
> class P {
> public function hello($name =3D 'world') {
On Thu, Nov 23, 2023 at 12:31 PM Robert Landers
wrote:
>
> Hello Internals,
>
> As you may know, an inherited method cannot reduce the visibility of
> an overridden method. For example, this results in a fatal error
> during compilation:
>
> class P {
> public function hello($name = 'world') {
Hi,
Thinking about it some more, I think we can go even further than that
and actually implement defer (enjoying the code golf)!
Dropping this here, just in case :)
https://github.com/php-defer/php-defer
From the posts on this thread (and the star count on php-defer), it
seems there is in
On Fri, Nov 24, 2023 at 11:27 AM Michał Marcin Brzuchalski
wrote:
>
> Hi Robert,
>
> pt., 24 lis 2023 o 10:24 Robert Landers napisał(a):
>>
>> ...
>> You can also emulate this with:
>>
>> class Defer {
>> private function __construct(private \Closure $callback) {}
>> public function __destruc
Hi Robert,
pt., 24 lis 2023 o 10:24 Robert Landers
napisał(a):
> ...
> You can also emulate this with:
>
> class Defer {
> private function __construct(private \Closure $callback) {}
> public function __destruct() { $this->callback(); }
> public static function _(\Closure $callback) { retu
On Fri, Nov 24, 2023 at 5:06 AM Mike Schinkel wrote:
>
>
>
> On Nov 23, 2023, at 4:50 PM, Robert Landers wrote:
>
> On Thu, Nov 23, 2023 at 10:30 PM Deleu wrote:
>
>
> Constructors are an implementation detail of a specialized class and as such
> they're not subject to LSP because the goal of L
On Mon, Nov 20, 2023 at 10:06 AM chopins xiao wrote:
>
> 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
>
Hi,
> it is not golang's defer, they is similar javascript async call function of
> working mode.
For that, you can easily async libraries like amphp/revolt (https://amphp.org),
which use fibers (as PHP fibers were created mainly for amphp/revolt, by the
developer of amphp/revolt).
You probab
14 matches
Mail list logo