Renaming Parameters in a method Renaming parameters in a method used to be an innocuous operation: one could do it without impact. Since PHP 8.0, such renaming may break existing calls. With named parameters, not only the method name, but also its parameters are part of the call. And it is a common challenge to […]
Current PHP RFCs in Voting Phase (March 2026) The PHP community has five current PHP RFCs in Voting Phase. The PHP community is actively voting on features that are shaping the future of the language. They range from new functions, code federation, development organisation and license aspects. The current, future and old ones are all […]
All PHP 8.5 hash algorithms Choosing the right hashing algorithm is difficult, balancing the need for security, speed, and reliability. PHP offers a almost 60 built-in hashing options, but not all are created equal : some are industry standards for cryptographic security, while others are optimized for lightning-fast non-cryptographic tasks like caching or checksums; some […]
Convert a string to integer with PHP PHP 8.5 provides a new error message when one tries to convert a string to integer with PHP. The float-string “%s” is not representable as an int, cast occurred This is new with this version, and besides the warning itself, it is not even a changed behavior. It […]
Understanding Relationships Between Classes, Interfaces, Traits, and Enums in PHP Modern PHP offers four major code structures — classes, interfaces, traits, and enums — each with its own purpose and rules. But the real power of PHP comes from how these structures can interact with each other. This page gathers all relations between classes in […]
How to make emojis in PHP You might want to use emojis both in your online comments and your PHP code. The later, mostly to hander the former, although PHP handles emojis gracefully. That are the methods to make emojis in PHP? Straight in the code PHP supports code savec in UTF-8. And emojis are […]
The Ultimate Guide to Navigating PHP Features Updates As PHP evolves, so do the language’s features, functionalities. And even the nuances in its behaviors. Yes, there are changed behaviors in PHP. They range from syntax changes to change in behavior of certain functions. And it can be overwhelming to keep track of how each new […]
A PHP Dictionary In the vast and dynamic ecosystem of PHP development, newcomers often find themselves grappling with a plethora of unfamiliar terms and concepts. From functions and methodologies to frameworks and patterns, navigating the PHP landscape can sometimes feel like learning a new language altogether. That’s why why we are introducing a PHP Dictionary. […]
Features that make PHP go forward Open source projects often support older PHP versions, and sometimes, really much older. At some point, they take the decision to move on. With the drop of older versions, (relatively) new features can be used to modernize the sources. These features are the ones that make PHP go forward: […]
The Forbidden PHP Features Encyclopedia Within the vast realm of PHP development, certain features have incurred the disapproval of various developers, leading to their outright exclusion from conscientious coding practices. This comprehensive encyclopedia serves as a curated catalog, shedding light on the forbidden features that have faced scrutiny and are best avoided in the pursuit […]
Top 100 most used PHP constants Here is the top 100 PHP constants : it is the list of the most often used PHP native global constants. The classes are ranked in order of project frequency. In a corpus of 3000 OSS projects, the PHP native constants were detected. They may be used directly E_ALL […]










