🎩🚀 Behold the miraculous #chimera of tech: a #PHP, #Go, and #Rust jamboree, promising #world #peace and bug-free code. Apparently, the secret sauce to success is to mix everything under the sun and hope for the best, because why not? 🤷♂️🚀
https://yekdeveloper.com/p/4-the-rise-of-hybrid-php #tech #coding #humor #HackerNews #ngated
I appreciate the attempt #ai but this is not valid #PHP syntax. But hey, a man can dream right? Maybe one day we'll get this. One day

Trying to figure out #JSON and how to use it with #PHP. If I wanted to have a log file of entries, is this the proper structure? I thought this would be an object of objects that gets turned into an array of arrays with `json_decode()`, but the result is coming out `NULL`.

Stop just consuming technology. Learn how things work and build a better and fair digital ecosystem.
https://makertube.net/w/9n7Uy3LXXw7qyWNrK8ieCx
#webdevelopment #server #pagination #javascript #php #mysql #tutorial #CodingTutorial #LearnToCode #CodeWithMe #WebDev #WebDesign #OnlineEducation #EdTech
Server-Side Pagination Tutorial | Javascript, PHP and MySQL
https://makertube.net/w/9n7Uy3LXXw7qyWNrK8ieCx
I used #rectorPHP last month to upgrade a #laravel 8 app to 12, it was really intuitive and easy, after upgrading I just had to fix deprecated syntax and remove deprecated libraries and bingo, I also installed #phpstan to enforce code quality 👍 ... #php
Starting with Rector PHP: Improving Your PHP Code with Automation - DEV Community
https://dev.to/robertobutti/starting-with-rector-php-improving-your-php-code-with-automation-1ahd
i really wish `match` supported bracketed branches in #php - yes I _could_ use `match` but guess I'm going to use if statements - and on that note I really wish if statements were expressions. (yeah, I want PHP to be more like Rust)
Thankfully @valorin just recently published this amazing In Depth article with a really really good walkthrough on how you can enable 2FA in your Laravel app yourself. I thoroughly recommend it!
https://securinglaravel.com/in-depth-setting-up-two-factor-authentication/
I was on holiday last week so didn’t notice it then, but what a huge shame to see the 2FA PR declined for Laravel!
It looked really good, and 2FA support missing out of the box is such a major shortcoming in Laravel!
I wonder if there’s a good reason for this, or of it’s just Taylor being Taylor again…
https://github.com/laravel/livewire-starter-kit/pull/84?ref=securinglaravel.com
😱 Máš poslední 2️⃣ dny na nákup early bird vstupenek na letošní 🩵 TechMeetup konferenci 2025 - největší IT event na severní Moravě, kde vystoupí nespočet odborníků z vývoje, #devops, #uxui, #agile, #php & businessu..
Neváhej 👉 https://goout.net/cs/techmeetup-ostrava-2025/szghyrx/
⏱️ jen do neděle 31.8. za 990,- / 490,- Kč
🤷♂️ od 1. září to bude dražší..

fun little php detail
if i run this
$arr = [];
for ($i = 0; $i < 1_000_000; $i++) $arr[] = str_repeat('*', 3041);
$arr = null;
final resident set size (amount of used physical memory) is something like 33 MB
but if i run this
$arr = [];
for ($i = 0; $i < 1_000_000; $i++) $arr[] = str_repeat('*', 3040);
$arr = null;
final RSS is 3 GB
it's caused by the fact that php never releases memory chunks (2 MB pages) that were used for small allocations.
which is ok for web requests that run only for a bit (it also simplifies the common case of small objects allocation) but might cause problems for some long running scripts.
#PHP was created as a dead language 😜
