php

Back Open Paginator
16.02.2026 23:10
TurboLearnPHP (@TurboLearnPHP@mastodon.social)

PHP Array Destructuring Hack

Wait for it! PHP array destructuring lets you swap variables in one line. See [$a, $b] = [$b, $a]. One line, huge impact!

.1

youtube.com/watch?v=BCKs27NzXM4




Show Original Post


16.02.2026 22:23
dusoft (@dusoft@fosstodon.org)

I have just published a post on how to easily export whole @bookstack content for use with NotebookLM (via Google Drive).

ambience.sk/export-bookstack-w

I have decided to skip API and just use direct database access cutting time to export from about 8 minutes to 30 seconds.

#llm #notebooklm #bookstack #chatbots #php #webdev




Show Original Post


16.02.2026 21:14
sebclick (@sebclick@mastodon.social)

Simplifier vos objets immuables avec PHP 8.5 jdecool.fr/blog/2026/02/16/sim




Show Original Post


16.02.2026 19:37
dantleech (@dantleech@fosstodon.org)

I'm not seeing the value of the `#[Override]` attribute.

#php




Show Original Post


16.02.2026 18:51
oldperl (@oldperl@mastodon.online)

#phpstan über das alte System laufen lassen. Alte Libs wie #phpids sollte ich dann wohl doch noch ersetzen oder standalone auf PHP8 migrieren.

#developer #development #php




Show Original Post


16.02.2026 17:59
jaapio (@jaapio@phpc.social)

I will be at @dutchphpconference this year again. This time not as a sponsor but as a visitor. Who will be there? If you want to chat with me about @phpdoc, #php-fig or just want to say hi. Send me a message and we will make sure we have a moment to talk.

Looking forward to seeing you there!




Show Original Post


16.02.2026 17:10
TurboLearnPHP (@TurboLearnPHP@mastodon.social)

PHP Empty String vs Zero

Watch this! PHP treats empty string and zero as falsy. See empty('') vs empty(0) vs empty('0'). The differences are INSANE!

youtube.com/watch?v=Z5z7MPhN07Y




Show Original Post


16.02.2026 16:51
kAlvaro (@kAlvaro@mastodon.social)

They say it's useless to have an interface if you only have one implementation, but someone in my team managed to make the only implementation no longer compliant with the interface. Bravo!
(The trick they used is that it's perfectly legal to implement an interface method and add additional arguments to it.)




Show Original Post


16.02.2026 15:02
jclermont (@jclermont@phpc.social)

If you use multiple database connections in Laravel, there's a subtle trap where eager loading can query the wrong database. Here's why it happens and the simple fix. #php #laravel masteringlaravel.io/daily/2026




Show Original Post


16.02.2026 14:48
PHPZen (@PHPZen@phpc.social)

PHP Arrays: Why They Still Matter
🔹 Simple = Easy to read
🔹 Flexible = Adapts as your needs grow
🔹 Powerful = Often enough, without over-engineering

Sometimes, arrays are all you need to move data cleanly.
Which do you use most: arrays or DTOs?

🔗 LINK: phpwayoflife.com/en/manifesto#

#PHP #Backend #Coding #CleanCode #SoftwareDesign





Show Original Post


16.02.2026 14:41
k47 (@k47@margaras.k47.cz)

this comment in doesn't make any sense... oh no. look at the date from git blame.

this is how well the php engine is documented

#PHP





Show Original Post


16.02.2026 13:54
nicosomb (@nicosomb@piaille.fr)

Des générations et des technologies… et une histoire qui se répète

blog.pascal-martin.fr/post/gen

#php #cms #ai




Show Original Post


1 ...129 130 131 132 133 134 135 136 137 138 139 ...525
UP