php

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

How to Prevent empty From Treating "0" as Empty

empty treats "0" as false and hides real data.

youtube.com/watch?v=fMGe39pejIw




Show Original Post


15.02.2026 22:52
DefectiveWings (@DefectiveWings@infosec.exchange)

Me: "Why won't this app break on this line!?"

Also me: Helps to have #xdebug enabled if you're trying to debug something :blobcatfacepalm:

#php




Show Original Post


15.02.2026 21:26
petafloppa (@petafloppa@meow.social)

Finally I've rewritten my #blog from #typescript on #cloudflare to #php on a self-hosted server.

I'm using the latest PHP version (8.5.3) so I can use modern stuff like pipe operators and URL parsing libraries.

*Almost* everything works, except the rss feed. I'm working on that!




Show Original Post


15.02.2026 21:12
habr (@habr@zhub.link)

DDD и CQRS на PHP без Symfony: собираем легковесный стек с помощью ИИ

Собрал три легковесных PHP-пакета — DI-контейнер с autowiring, DataMapper поверх PDO и PSR-15 роутер — и с помощью ИИ построил на них DDD-приложение с CQRS. Чистый домен без внешних зависимостей, 92 теста и vendor в 10 раз легче Symfony.

habr.com/ru/articles/996854/

#ии #php #autowiring #router #orm #mapping




Show Original Post


15.02.2026 20:40
LeedsPHP (@LeedsPHP@phpc.social)

RE: phpc.social/@LeedsPHP/11600042

Only 6 spaces left for our event on Wednesday! 🎉

Join us to learn more about AI in production code and PHP quirks meetup.com/leedsphp/events/312

#leedsphp #leedstech
#php




Show Original Post


15.02.2026 20:31
hashbangcode (@hashbangcode@fosstodon.org)

New! Leaving Meetup.com And Extracting Past Event Data Without API Access

In this article Phil shows how he was able to dig into the meetup.com site to see how the data was presented, and how he was able to MacGyver a solution in PHP to download the past data for a group as a CSV file.

hashbangcode.com/article/leavi
#api #php #hashbangcode




Show Original Post


15.02.2026 17:35
tobyS (@tobyS@ruhr.social)

@huan #PHP here. :)




Show Original Post


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

How to Avoid array_merge Reindexing Your Keys

Numeric keys get rewritten and ruin mapping.

youtube.com/watch?v=KztC7frMN-Y




Show Original Post


15.02.2026 15:02
habr (@habr@zhub.link)

Сравнение рейтинга TIOBE и вакансий на HH

Доброго времени суток! Моя первая статья, не судите строго. В следующий раз, постараюсь учесть все, что вы напишите в комментариях. Идея статьи Я знаю, что рейтинг TIOBE не совсем показывает реальность, которая есть в мире языков программирования, но на него часто ссылаются. И зародилась идея сравнить места в рейтинге TIOBE и как языки чувствуют себя на HH. Полностью осознаю, что каждый из читающих, которые имеют хотя бы один палец (или даже без пальцев), может сделать, то что сделано в этой статье :-) Я просто постарался сделать это за вас, ну и сама статья не несет чего то фундаментального, а просто интересное сравнение.

habr.com/ru/articles/996740/

#sql #python #c++ #javascript #c# #go #php #kotlin #matlab #java




Show Original Post


15.02.2026 14:02
habr (@habr@zhub.link)

Как я написал production-ready PHP-роутер за один вечер с помощью ИИ

Production-ready PHP-роутер за один вечер: 2 100 строк кода, PHPStan level 9, полное покрытие тестами — и всё при помощи ИИ Я решил проверить, можно ли за один вечер с помощью ИИ-ассистента создать не прототип и не «потом допилим», а полноценную библиотеку, готовую к публикации на Packagist. Результат — PSR-15 роутер с prefix-trie матчингом, атрибутной маршрутизацией, middleware-пайплайном и кешированием. 8 коммитов, 5 часов 40 минут, ~4 800 строк PHP-кода. Под катом — честный разбор: хронология по git log, где ИИ ускоряет в разы, а где без головы разработчика никуда.

habr.com/ru/articles/996728/

#ии #router #php




Show Original Post


15.02.2026 08:09
decompwlj (@decompwlj@mathstodon.xyz)

A124268: Primes indexed by 3-almost primes
A124268 ➡️ oeis.org/A124268

3D graph, threejs - webGL ➡️ decompwlj.com/3Dgraph/A124268.
3D graph Gen, threejs animation ➡️ decompwlj.com/3DgraphGen/A1242
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


15.02.2026 08:03
decompwlj (@decompwlj@mathstodon.xyz)

A123929: Simili-primes of order 2
A123929 ➡️ oeis.org/A123929

3D graph, threejs - webGL ➡️ decompwlj.com/3Dgraph/A123929.
3D graph Gen, threejs animation ➡️ decompwlj.com/3DgraphGen/A1239
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


1 ...131 132 133 134 135 136 137 138 139 140 141 ...525
UP