Re: [PHP-DEV] Official Preprocessor

2023-02-02 Thread Rowan Tommins
On 02/02/2023 14:19, someniatko wrote: I suggest to introduce an official type-checker / static analyser / preprocessor / transpiler for PHP, somewhat similar to TypeScript in the JavaScript world, which will allow to introduce the features otherwise impossible for the PHP world, at the cost of i

Re: [PHP-DEV] Re: Official Preprocessor

2023-02-02 Thread Deleu
On Thu, Feb 2, 2023, 11:22 AM someniatko wrote: > I'd like to also emphasize that the concept of compilation and static > type-checking / analysis is not foreign to the PHP community. Major > frameworks like Symfony already have a concept of compiling e.g. a DI > container, and static analyzers l

[PHP-DEV] PHP 8.2.2 Released!

2023-02-02 Thread Sergey Panteleev
The PHP development team announces the immediate availability of PHP 8.2.2. This is a bugfix release. All PHP 8.2 users are encouraged to upgrade to this version. For source downloads of PHP 8.2.2 please visit our downloads page. Windows binaries can be found on the PHP for Windows site. The list

[PHP-DEV] Re: Official Preprocessor

2023-02-02 Thread someniatko
I'd like to also emphasize that the concept of compilation and static type-checking / analysis is not foreign to the PHP community. Major frameworks like Symfony already have a concept of compiling e.g. a DI container, and static analyzers like Psalm, PHPStan and others are actively used. -- PHP

[PHP-DEV] Official Preprocessor

2023-02-02 Thread someniatko
Hi Internals The main gist: -- I suggest to introduce an official type-checker / static analyser / preprocessor / transpiler for PHP, somewhat similar to TypeScript in the JavaScript world, which will allow to introduce the features otherwise impossible for the PHP world, at the cost