Marcel covered how it works in the announcement. But from the perspective of a PHP developer, it is all nicely wrapped in familiar tooling and syntax. The tool by Marcel Pociot provides simple APIs and tooling to build cross-platform desktop apps just like you would when building your usual web apps.īehind the scenes, it uses either Electron or Tauri, so ‘Native’ in the name might be a bit misleading. NativePHP – Develop desktop applications with PHP.Is a PHP script causing a segfault? Do you want to develop a PHP extension? This image is for you! It contains all the tools you’ll need. Kévin Dunglas prepared a Docker image specifically for debugging and developing the PHP interpreter. dunglas/php-dev-docker – Docker image to hack the PHP interpreter.✅ PR: Add fallback value syntax for ini variablesĪ neat addition by Gabriel Fontes is coming in PHP 8.3! It will be possible to use default values in the php.ini settings in addition to environment variables:.The RFC by Dan Ack suggests adding a set of specific subclasses with a separate class for each supported database. However, depending on the actual DB driver extensions you have in your installation, this class can have a different set of methods. What do you expect the following code to print? $value = ‘5d9’ $value++ $value++ $value++ Ĭurrently, PHP has a single PDO class for all databases. #PHP is always good for some excitement during the day. If you want a real showcase of the problem, check out this example: The behavior of the ++ and - operators will be more consistent in PHP 8.3 ✅ RFC: Path to Saner Increment/Decrement operators.It is similar to what other languages have, such as Java, Kotlin, Swift, and C#. When applied to a method, it will prompt the engine to verify the existence of a method with the same name in a parent class or any implemented interfaces. If you feel that multiple inheritance is wrong and interfaces should never have an implementation, Larry Garfield suggests giving it a second thought before rejecting a weird idea.īrent also talks about this in his What is a Best Practice? video and elaborates even deeper in his “Is A” or “Acts As” post.Īs George mentioned, some might have voted against the proposal because it’s a drastic change brought up too close to the feature freeze of PHP 8.3. Levi proposed that interfaces could have implementations for methods, similar to what is possible with Kotlin, Swift ( extend protocols), Java, C#, and other languages. This RFC by Levi Morisson has stirred up a lot of discussion. Most of the Core news is covered in detail in the PHP Core Roundup series from the PHP Foundation, so we’ll only make a few brief mentions: Currently, 5.5% of WordPress installations still use PHP 5. So 2/3 for EOL versions /QwZvO9e3zCīy the way, WordPress is dropping PHP 5 support in the next WordPress 6.3 release. Slow but nice growth for PHP 8 compared to last year, when it was 59.7%.Īccording to Remi Repository stats, which probably represents a slightly different segment of users, 35% of users use PHP 8.* and 63% use PHP 7.*. 68.8% of clients use PHP 8.*, and PHP 7.* accounts for 29.7%. when they run a composer update command). The author of elePHPant design and PHP 8 logo author, Vincent Pontier, came up with the idea for the PHP 9 logo:Ī regular overview of the PHP versions used, based on the data that clients send to (e.g. Thanks to Thomas Jarrand, php.net now has an endpoint to get the current state of all PHP branches: php.net/releases/states. Otherwise, Docker images are probably the best option to try it without any hassle. If you are on Mac, check out Nuno Maduro’s how-to-install PHP 8.3 instructions. With the first beta release, the active development phase has ended, meaning that the list of new features and changes in the 8.3 branch can be considered final. Welcome to the July edition of PHP Annotated! We’ll recap the most interesting developments in the PHP community over the past month, featuring handpicked news, articles, tools, and videos.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |