php

Back Open Paginator
26.12.2025 08:12
devto_vn_bot (@devto_vn_bot@mastodon.maobui.com)

Symfony 7.4 LTS (Nov 2025) đã loại bỏ Request::get(), buộc dev truy cập dữ liệu qua các bag cụ thể: $request->query, $request->request, $request->attributes. Hỗ trợ native PUT, QUERY method và cải thiện parsing body nhờ PHP 8.4. Ngoài ra, phương thức override HTTP trở nên nghiêm ngặt hơn. Nâng cấp ngay để giảm technical debt và chuẩn bị cho Symfony 8.0. #Symfony #PHP #WebDevelopment #LTS #Backend #Symfony7.4 #PHP8.4 #API #HTTP #Symfony #PHP #PhátTriểnWeb #LTS #Backend #Symfony7_4 #PHP8_4 #API #H




Show Original Post


26.12.2025 06:11
decompwlj (@decompwlj@mathstodon.xyz)

A066031: Composite numbers n the sum of whose prime factors divides n, but which are not themselves powers of primes

3D graph, threejs - webGL ➡️ decompwlj.com/3Dgraph/A066031.
3D graph Gen, threejs animation ➡️ decompwlj.com/3DgraphGen/A0660
2D graph, first 500 terms ➡️ decompwlj.com/2Dgraph500terms/

#decompwlj #math #mathematics #maths #sequence #OEIS #JavaScript #php #graph #3D #threejs #webGL #triangular #numbers #primes #PrimeNumbers #palindromes #animation #FundamentalTheoremOfArithmetic #sequences #NumberTheory #classification #integer #decomposition #number #theory #equation #graphs #sieve #fundamental #theorem #arithmetic #research





Show Original Post


26.12.2025 06:05
decompwlj (@decompwlj@mathstodon.xyz)

A065496: Numbers n such that sigma(n) is a nontrivial power, i.e., sigma(n) = a^b where a and b are greater than 1.

3D graph, threejs - webGL ➡️ decompwlj.com/3Dgraph/A065496.
3D graph Gen, threejs animation ➡️ decompwlj.com/3DgraphGen/A0654
2D graph, first 500 terms ➡️ decompwlj.com/2Dgraph500terms/

#decompwlj #math #mathematics #maths #sequence #OEIS #JavaScript #php #graph #3D #threejs #webGL #triangular #numbers #primes #PrimeNumbers #palindromes #animation #FundamentalTheoremOfArithmetic #sequences #NumberTheory #classification #integer #decomposition #number #theory #equation #graphs #sieve #fundamental #theorem #arithmetic #research





Show Original Post


26.12.2025 04:15
devto_vn_bot (@devto_vn_bot@mastodon.maobui.com)

🎯 Giải pháp DBAL generic cho Value Object ID trong Symfony/Doctrine: dùng một lớp UidType duy nhất, đăng ký FQCN (ví dụ App\Entity\ProductId) làm tên kiểu. Giảm boilerplate, tự động ánh xạ giữa PHP class và cột GUID. Tiết kiệm cấu hình, cải thiện DX. #PHP #Doctrine #Symfony #ValueObject #DBAL #LậpTrình #CôngNghệ

dev.to/yceruto/generic-dbal-ty




Show Original Post


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

PHP Attack Plan For Chaining Separate Calls Fluent

🔥 PHP Attack Plan For Chaining Separate Calls Fluent! Watch how junior developers write code vs how senior developers do it. The difference is HUGE! Your code quality will improve!

...

youtube.com/watch?v=IzzzF1MfHYc




Show Original Post


25.12.2025 20:20
sysedit (@sysedit@mastodon.social)

For quite some time I've been looking for a tool for me to really drill in details of language features. The program would prompt me and I would need to replicate the whole code down to the last space character.

For example:
"Give me the ternary operation higher or equal than 40 echo passes otherwise echo failed"

echo ($result >= 40) ? "Passed" : " Failed";

I've tried anki but it did not cut it. I'd prefer TUI but any suggestion would be appreciated.




Show Original Post


25.12.2025 18:35
michabbb (@michabbb@social.vivaldi.net)

🚀 #PHP 8.6 introduces Partial Application
Functions can be partially applied, returning a Closure where remaining parameters are supplied later. This reduces boilerplate, simplifies callbacks and supports cleaner functional programming patterns 💡

More details: thephp.foundation/blog/2025/12

#PHP #PHP86 #WebDev





Show Original Post


25.12.2025 18:26
michabbb (@michabbb@social.vivaldi.net)

#php pipe operator: do you remember the hype (some wannabe influencer created) ❓

dev.to/tegos/php-85-pipe-opera





Show Original Post


25.12.2025 18:15
michabbb (@michabbb@social.vivaldi.net)

⚠️ #PHP 8.2 deprecated dynamic properties - #PHP9 removes them completely! #webdev

🔴 Dynamic properties = adding properties to objects without declaring them in the class. Example: $user->age = 30; on an empty User class. This worked silently in older PHP versions.

🐛 Problem 1: Silent typos become hidden bugs. Write $user->custmer_email instead of customer_email - no error thrown, just returns null later when you try to read it. Hours of debugging for a simple typo.

🧵 👇





Show Original Post


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

PHP Anonymous Class Trick

Wait for the reveal! PHP anonymous classes create objects on the fly. See new class {}. This will change your code style!

youtube.com/watch?v=2TNZPgNrP2I




Show Original Post


25.12.2025 16:17
devto_vn_bot (@devto_vn_bot@mastodon.maobui.com)

Hệ sinh thái ML trong PHP đã trưởng thành dù không ồn ào. Với các thư viện rõ ràng như PHP-ML, RubixML và công cụ tính toán số, PHP không cạnh tranh về đào tạo模型 mà tập trung vào triển khai, tích hợp và kiểm soát dữ liệu trong sản phẩm thực tế. Rất thực tế cho developer!

#PHP #MachineLearning #LapTrinh #KhoaHocDuLieu #PHPML #AI #Developer #CongNghe

dev.to/samuel_akopyan_e902195a




Show Original Post


25.12.2025 15:17
jclermont (@jclermont@phpc.social)

Did you ever notice that Eloquent doesn't escape the percent sign in LIKE queries? Don't worry. It's not a security hole. In fact, it unlocks a useful feature you might not have considered. #php #laravel masteringlaravel.io/daily/2025




Show Original Post


1 ...236 237 238 239 240 241 242 243 244 245 246 ...527
UP