[PHP-DEV] Re: Basic Type Alias

2023-10-27 Thread Oladoyinbo Vincent
So, we have to discuss and conclude on the best syntax to use for the Type Alias: Syntax 1: ```php type T = int|string|null; ``` Syntax 2: ```php type T: int|string|null; ``` Syntax 3: ```php use int|string|null as T; ``` And also, we need a function to check of type exist, maybe `type

[PHP-DEV] Discussion - PHP with distributed programming features.

2023-10-27 Thread Kirill Nesmeyanov
>Пятница, 27 октября 2023, 14:38 +03:00 от juan carlos morales >: >  >Imagine a request comes to NgInx, then we process the request in PHP > suddenly while execution of PHP is running, we dont have more >resources in the server , so we need to process that PHP code on other >server with more

Re: [PHP-DEV] Discussion - PHP with distributed programming features.

2023-10-27 Thread Robert Landers
On Fri, Oct 27, 2023 at 1:38 PM juan carlos morales wrote: > > Imagine a request comes to NgInx, then we process the request in PHP > suddenly while execution of PHP is running, we dont have more > resources in the server , so we need to process that PHP code on other > server with more resou

[PHP-DEV] Discussion - PHP with distributed programming features.

2023-10-27 Thread juan carlos morales
Imagine a request comes to NgInx, then we process the request in PHP suddenly while execution of PHP is running, we dont have more resources in the server , so we need to process that PHP code on other server with more resources. How can we "move" the complete PHP process to another server wi

[PHP-DEV][Discussion] PHP distributed programming

2023-10-27 Thread juan carlos morales
Imagine a request comes to NgInx, then we process the request in PHP suddenly while execution of PHP is running, we dont have more resources in the server , so we need to process that PHP code on other server with more resources. How can we "move" the complete PHP process to another server wi

Re: [PHP-DEV] Basic Type Alias

2023-10-27 Thread Mike Schinkel
> On Oct 26, 2023, at 3:23 PM, Larry Garfield wrote: > > App-wide aliases run into the autoloading problem. If the engine runs across > the add() function above, and "numeric" isn't defined, what can it do? > Currently, all it can do is trigger autoloading, which only works for > class-ish c

Re: [PHP-DEV] Basic Type Alias

2023-10-27 Thread Robert Landers
Why are we reinventing alias syntax? We already have "use" to alias per file: use My\Namespace\MyFancyType as MyNewFancyType; use string|int|bool as MyFancyType; Further, in PHP we specify a type using a colon, not an equal sign, thus this feels more idiomatic to PHP (and less ambiguous): type M

[PHP-DEV] PHP 8.1.25 Released

2023-10-27 Thread Patrick ALLAERT
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 The PHP development team announces the immediate availability of PHP 8.1.25. This is a bugfix release. All PHP 8.1 users are encouraged to upgrade to this version. For source downloads of PHP 8.1.25 please visit our downloads page. Windows binaries

Re: [PHP-DEV] Request of RFC karma

2023-10-27 Thread Ilija Tovilo
Hi Alessandro Sorry for the delayed response. On Wed, Oct 25, 2023 at 4:11 PM Alessandro Rosa wrote: > I would like receiving the wiki RFC Karma for my account, in order to > submit an RFC on the built-in "empty" function. > My account is alessandro.a.rosa_gmail.com RFC karma was granted. Good

Re: [PHP-DEV] Basic Type Alias

2023-10-27 Thread Claude Pache
> Le 26 oct. 2023 à 21:23, Larry Garfield a écrit : > > App-wide aliases run into the autoloading problem. If the engine runs across > the add() function above, and "numeric" isn't defined, what can it do? > Currently, all it can do is trigger autoloading, which only works for > class-ish