techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

4.6K
active users

#php

153 posts95 participants23 posts today

🎉 PHP 8.5.0 Alpha 4 is available for testing!

This is the third preview for PHP 8.5, including

- Continued integration of the new ext/uri extension
- Implementation of the "clone with" RFC
- Bug fixes thanks to your testing and feedback

… and more!

➕ Do: Test your projects!

➖ Don't: Run it in production. It's not fully ready yet.

Congratulations to Daniel, @edorian, and @adoy

🔗 php.net/archive/2025.php#2025-

www.php.netPHP: News Archive - 2025PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.
I'm less salty today :P.
I learned a lot about #symfony yesterday even though it made
me stick to plain PHP for my little site I am making now.

I'm using composer [0], and I had a hello world site running
symfony's routing, controllers, and I forgot what else.
The symfony doc's don't help you use it a la carte, but their
github pages do: (for example)

https://github.com/symfony/routing

[0]: I'm using composer for all of my php stuff.

#PHP
Maps an HTTP request to a set of configuration variables - symfony/routing
GitHubGitHub - symfony/routing: Maps an HTTP request to a set of configuration variablesMaps an HTTP request to a set of configuration variables - symfony/routing

Oh man, #PHP. Da grübelt man, weshalb eine Website so langsam ist. Dann stellt sich heraus, dass alleine die open_basedir-Option 50% der Leistung benötigt. Abgeschaltet, Serverlast und Antwortzeiten 50% geringer. WTF? Oder stimmt da etwas mit dem System nicht, wenn die lstats auf ext4 unter #Linux so viel Zeit brauchen?

🌘 PHP-ORT:為網頁提供機器學習推論功能
➤ 賦能 PHP 開發者,迎向 AI 驅動的網頁時代
krakjoe.github.io/ort/
本文介紹了 PHP-ORT,一個為 PHP 開發者帶來的首屈一指的機器學習推論解決方案。鑑於 PHP 在網頁開發中的主導地位,PHP-ORT 旨在使數百萬 PHP 開發者能夠在他們熟悉的環境中輕鬆地將智能功能整合到網站應用程式中,無需遷移至其他技術堆疊。它透過底層的 Tensor API、高效的數學函式庫及 ONNX 整合,實現了高效能的機器學習推論,並透過 WebAssembly 在瀏覽器中展示了其潛力。PHP-ORT 的目標是為 PHP 語言在 AI 時代中開闢新的可能性,使其成為生產環境中機器學習推論的關鍵基礎設施。
+ 聽起來太棒了!終於不用再依賴外部服務就能在 PHP 中實現 ML 了,這將大大簡化我們的開發流程。
+ 雖然 PHP 的生態系確實還有待加強,但 PHP-ORT 的出現絕對是一個令人振奮的開始。期待看到它如何推動
#機器學習 #PHP #網頁開發 #推論 #ONNX #WebAssembly

krakjoe.github.ioPHP-ORT: Machine Learning Inference for the Web

Time for a release Friday release: Bunny v0.6.0-alpha.1 is out with a host of changes since v0.5: github.com/jakubkulhan/bunny/r

It's been a lot of fun doing this major rework on Bunny's internals into a full @reactphp client while using fibers internally to simplify the public API.

Non-Breaking Changes:

Merged clients into one
Marked Client and Channel final through doc block and introduced interfaces for them for unit testing
Dropped build in event loop, socket, and stream ...
GitHubRelease v0.6.0-alpha.1 · jakubkulhan/bunnyNon-Breaking Changes: Merged clients into one Marked Client and Channel final through doc block and introduced interfaces for them for unit testing Dropped build in event loop, socket, and stream ...
#php#amqp#reactphp
Replied in thread

I feel this so much.

I've still had luck with those tools but it was a lot less automated than I would have liked.

I used PHP Code Sniffer to test one version increment at a time. And PHP CS Fixer one or two rules at a time.

And none of the projects had tests of course. 😏

@afilina