Timm Friebe

Results 17 issues of Timm Friebe

Add `||=` and `&&=` operators accompanying the `??=` operator: ```php $a ||= $b; // equivalent of $a || ($a= $b); $a &&= $b; // equivalent of $a && ($a= $b);...

enhancement
question

As noted in the "Future Scope" section of the property hooks RFC, [reusable package hooks](https://wiki.php.net/rfc/property-hooks#reusable_hooks) are not part of the first RFC, but the authors @iluuu1994 and @Crell envision it...

question
php

How about using `::namespace` for namespace resolution just like `::class`? Example: ```php

question

Inspired by https://externals.io/message/119470#119488 and https://wiki.php.net/rfc/local_variable_types ## What we would like to achieve ```php int $i= 0; $i= 'Test'; // Should throw an exception ``` ## How it can be implemented...

question
php

See https://wiki.php.net/rfc/dnf_types, accepted in PHP 8.2

enhancement
help wanted

Compilers, interpreters, and build pipelines supporting Unicode should throw errors or warnings for unterminated bidirectional control characters in comments or string literals, and for identifiers with mixed-script confusable characters. https://trojansource.codes/...

good first issue

See https://wiki.php.net/rfc/tagged_unions: ```php // Declaration enum Distance { case Kilometers(public int $km); case Miles(public int $miles); } // Usage $walk= Distance::Miles(500); print $walk->miles; // prints "500" ``` The famous "Maybe"...

question