php

Back Open Paginator
20.02.2026 00:21
carbsrule_en (@carbsrule_en@polyglot.city)

Being fed up with Jira and such systems, I decided to revive my original #PHP issue tracking system (at least for nostalgia/experiments) which is >17 years old.

It was badly coded then and was still using the original, long-dead MySQL extension. With a few (hundred) small fixes it's starting to get back to a working state.

Now, despite its somewhat garbage code, it's simple and page loads are instant, like they should be. How does "the enterprise" get it so wrong?




Show Original Post


19.02.2026 23:10
TurboLearnPHP (@TurboLearnPHP@mastodon.social)

How to Block XSS With htmlspecialchars

One echo can turn comments into scripts.

youtube.com/watch?v=vbV024fdP_Q




Show Original Post


19.02.2026 21:08
Crell (@Crell@phpc.social)

I was interviewed by Marcos Marcolin for the Brazilian #PHP community. It's a long interview, but I had fun with it. 🙂

marcosmarcolin.com.br/blog/php

#PHP #Interview #GetFediHired




Show Original Post


19.02.2026 19:39
mmramadan496 (@mmramadan496@phpc.social)

Did you know PHP allows breaking multiple loop levels using an integer argument with `break`? It’s a small feature, but many developers overlook it.

💡 Read the full tip:
mmramadan.com/tips/53

⚡ Don’t miss any updates!

🔏 Register:
mmramadan.com/register

📬 Newsletter:
mmramadan.com/newsletter

📲 Telegram:
t.me/digging_code

#php #laravel #tech #developer #tips




Show Original Post


19.02.2026 18:30
nicolasgrekas (@nicolasgrekas@phpc.social)

Putting Guzzle #PHP on steroids with #Symfony HttpClient inside. 🎉
A PR I wouldn't have shipped without an LLM — and vice versa 😛
github.com/symfony/symfony/pul




Show Original Post


19.02.2026 17:40
ojrask (@ojrask@piipitin.fi)

I love how CakePHP's documentation uses oven mittens to denote possibly dangerous things.

#CakePHP #PHP #Framework





Show Original Post


19.02.2026 17:22
getlaminas (@getlaminas@phpc.social)

Released: laminas/laminas-cli 1.14.0
#php #laminas

github.com/laminas/laminas-cli




Show Original Post


19.02.2026 17:13
ingewikkeld (@ingewikkeld@phpc.social)

We found some old #WeCamp goodie bags. What if we raffle them to people who donate to the #PHP foundation? Would anyone be interested?




Show Original Post


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

How to Avoid require_once Path Confusion

Relative paths break when scripts run from new locations.

youtube.com/watch?v=hK5bApChyl8




Show Original Post


19.02.2026 17:06
getlaminas (@getlaminas@phpc.social)

Released: mezzio/mezzio-router 3.20.0
#php #mezzio

github.com/mezzio/mezzio-route




Show Original Post


19.02.2026 17:00
k47 (@k47@margaras.k47.cz)

i think i might be too deep in D lang metaprogramming when this is the fix for a phpmod.d bug where arguments default values on a constructor don't get propagated to the php side

-    private alias argTypes = Parameters!(T.__ctor);
+    static if (is(typeof(T.__ctor) ParamTypes == __parameters)) {}

https://github.com/kaja47/phpmod.d

#PHP #D




Show Original Post


19.02.2026 15:59
dseguy (@dseguy@phpc.social)

@edorian Like a teacher, I ask question but I know the answer.

Though I need some testing here : there is a limit to the size of the (say) binary, because #PHP will stop when the binary is too big to be represented as integer/float.

I think it might not stop if the leading digits are 0 because of no overflow.

And of course, who would write a 4GB hardcoded binary in a #PHP script?

Ah well, I guess it's me...




Show Original Post


1 ...121 122 123 124 125 126 127 128 129 130 131 ...525
UP