PHP: The latest news in the PHP world
Have you ever wondered how Laravel switches between different drivers' implementations? Well, hang tight, we will learn how! TL;DR: We will discuss the strategy pattern in Laravel, how it works under the hood, and we will also discuss two other patterns: the builder pattern and the pending object pattern. Any feedback or questions are welcome. I've...
If you use else if (with a space between the words) instead of elseif (no space), would you please link to your project here, or DM me with a link? I am testing the "else if to elseif" conversion logic in PHP-Styler and would like to include more real life cases. EDIT: Too late now, but the intent here is not to argue the merits (or lack thereof) regarding...
I'm about to migrate laravel 10 to 11, and I'm reading upgrade guide. One part that is particurally disturbing is here: https://laravel.com/docs/11.x/upgrade#modifying-columns I have about 1000 migrations in my project, and now they change the attributes in models. How did you manage to work around this? Did you use this schema-dump approach, or did...
Alert: long post / ranting out of frustration Hello, I'm supposedly a "senior" PHP dev with 7 years of experience who hasn't passed technical interviews at 4 different companies. I did well in the technical challenges before these technical interviews, but I often encounter questions I don't know, such as: What's the difference between factory and...
submitted by /u/ofcRS [link] [comments]
I can't seem to compile PHP 8.2.19 on CentOS 7. The configure stops at: checking if intl requires -std=gnu++17... yes checking whether g++ -std=gnu++11 supports C++17 features with -std=c++17... no checking whether g++ -std=gnu++11 supports C++17 features with +std=c++17... no checking whether g++ -std=gnu++11 supports C++17 features with -h std=c++17......
Készítse el saját hírfolyamát
Készen áll, hogy kipróbálja?
Indítson egy 14 napos próbaverziót, ehhez nincs szüksége bankártyára.