🔐 Trusted #HTTPS for raw #IP addresses in #Docker: #serversideup /php v4.6.0-beta1 brings #LetsEncrypt short-lived certificates to #FrankenPHP #PHP 🧵👇
Damien Seguy
@dseguy.bsky.social
Code quality fanatic, static analysis expert @exakat, elephpant breeder, husband, father, speaker!
All you ever wanted to know about bizarre unicode that can be used as name in #PHP. #phptip #phptrick www.exakat.io/when-php-mee...
When PHP Meet Unicode: A Tour of Identifiers Beyond ASCII - Exakat
When PHP Meet Unicode: A Tour of usage of Unicode identifiers in PHP names, with its edge cases and manu surprises
exakat.io
I Checked Every php.* Domain on the Internet. There is room for the future for #PHP! www.exakat.io/i-checked-ev...
I Checked Every php.* Domain on the Internet - Exakat
I Checked Every php.* Domain on the Internet: 1437 of them, and there is the .net, the followers, the tools, and the one to be booked
exakat.io
Pop quizz #PHP on Friday evening: How can you remove an argument between the parent class and the child class? Is that an impossible task? #phptip #phptrick php-tips.readthedocs.io/en/latest/ti...
Enthusiasm for contributing to #PHP often fizzles out before it has a chance to catch fire. I've proposed a Working Groups RFC to change that. Here's the case for it and how you can help shape it. https://ben.ramsey.dev/blog/2026/07/who-do-i-talk-to
Who Do I Talk To?
PHP loses eager volunteers because there's no clear place for them to plug in. The Working Groups RFC proposes a framework to change that by empowering contributors, not adding bureaucracy.
ben.ramsey.dev
#PHP 8.4 introduced array_find() to look for a value in an array, and also, its cousin, array_find_key(), which returns the key where to find that value. The second got less attention, but is arguably more useful. #phptip #phptrick php-tips.readthedocs.io/en/latest/ti...
WE ARE ON BLUE SKY! #PHP debs, hello! @thephpf.bsky.social
PHP has been around for 31 years, but do many developers know who is shaping its future? 🐘 @secondej.bsky.social recently interviewed Elizabeth Barron, the new Executive Director of The #PHP Foundation, discussing the language, the community, and the future of PHP. 👉 Read the full interview:
So, it seems that it is possible to paint oneself in a corner and write an unreachable method. How would you call A::foo() in this code below? Come on, #PHP, there must be something here. #phptip #phptrick php-tips.readthedocs.io/en/latest/ti...
A manually curated list of multi-language applications that also supports #PHP www.exakat.io/also-php-a-c...
exakat.io
My latest guide covers using Composer to install dependencies in production-ready Docker images for PHP applications: nth-root.nl/en/guides/co...
Composer in Docker: best practices for production images
Learn how to use Composer to build production-ready Docker images for PHP applications, including best practices for caching dependencies and optimizing image size.
nth-root.nl
Convert a #PHP multi-dimensional array or list of objects to a Hash map easily, with array_column(). #phptip #phptrick php-tips.readthedocs.io/en/latest/ti...
array_column() To Hash
array_column() is a very handy PHP native function, which extracts a index from a list of arrays, or a public property from a list of objects
php-tips.readthedocs.io
RE: https://mastodon.social/@nunomaduro/116737484529116730 Tagging with #PHP for greater reach 😁
mastodon.social
Happy 31st Birthday to the #PHP programming language. en.wikipedia.org/wiki/PHP
PHP - Wikipedia
en.wikipedia.org
Yield or return, when using ... in a function call? Not an easy question to ask on a first date. #phptip #phptrick php-tips.readthedocs.io/en/latest/ti...
Generators vs Fibers in #PHP: both suspend execution, totally different mechanism. Generator: saves ONE execute_data frame. Yield pauses it, ->next() resumes. One level deep. Fiber: saves the ENTIRE call stack. Generator, stackless coroutine. Fiber, stackful coroutine.
🗂️ Use #GoogleSheets as a #Laravel database! laravel-google-sheets-database-driver maps spreadsheet = DB, tab = table, row 1 = columns. Full #Eloquent & Query Builder support. #PHP #opensource github.com/AmazingBV/l...
A few edge cases for integers, floats and divisions with #PHP #phptips #phptricks php-tips.readthedocs.io/en/latest/ti...
Of Integers And Floats
First thing to unpack in this post: PHP accepts any number of decimals when it is hardcoded in the source
php-tips.readthedocs.io
$GLOBALS used to introduce aliasing complexity in the engine. Because it could reference local variables, Zend had to handle indirect entries (IS_INDIRECT) in certain array access paths. #PHP 8.1 restricted $GLOBALS writes, removing that edge case and simplifying hot paths.
Review of the various usage of the empty string in #PHP This is not a modern feature, by no measure, but a versatile piece of data that leads to paradoxical usages. #phptip #phptrick www.exakat.io/the-empty-st...
The Empty String in PHP: One Value, Too Many Jobs - Exakat
The Empty String in PHP: One Value, Too Many Jobs. It is used as default value, value upon success or error, accumulator and cast operator
exakat.io
🐘 Mago 1.29.0 is out! ✨ Readable closure & anon-class names ✨ Regex-pattern issue ignores ✨ WordPress security rules 🐛 Generic template inference fixes github.com/carthage-sof... #php #mago
Release Mago 1.29.0 · carthage-software/mago
Mago 1.29.0 A maintenance release with two themes: tightening generic template inference (the #1859 false-positive cluster) and giving closures + anonymous classes stable, human-readable names. New...
github.com
La journée de conférences continue à Bordeaux, Lille, Lyon et Paris. Partout, le même écho : des conférences intéressantes, un public bienveillant et des équipes d'orga dévouées. Merci et bonne après-midi à toutes et tous !
Passing array by value, and updating its elements. Nothing new, it is the readonly and array_fill() syndrom for arrays. Better know about it. #phptip #phptrick php-tips.readthedocs.io/en/latest/ti...
#PHP quiz of the day: how can a property be both not set, empty() and failing at comparison with falsy value? And more than one of us has this bug ATM. #phptip #phptrick php-tips.readthedocs.io/en/latest/ti...
#PHP quiz of the day: how can a property be both not set, empty() and failing at comparison with falsy value? And more than one of us has this bug ATM. #phptip #phptrick php-tips.readthedocs.io/en/latest/ti...
I always thought that the order of properties in a #PHP class didn't matter, but that's not true. It does matter when comparing two instances of the same class. Each property is evaluated one after another in the order they were declared until the first difference is found. 3v4l.org/NTP5c
#PHP news: lemmy.world/c/php?dataTy...
PHP - Lemmy.World
<? namespace lemmy\php; /* Welcome to the PHP community on Lemmy #Rules: 1: Soon™ #Helpful stuff: PHP Documentation [https://www.php.net/docs.php] Composer [https://getcomposer.org/doc/00-intro.md] PHP Standards [https://www.php-fig.org/psr/] #Common frameworks: Symfony [https://symfony.com/doc/current/getting_started/index.html] Larvel [https://laravel.com/docs/] */ echo “Welcome”;
lemmy.world