#PHP

PHP's avatar
PHP

@php@fosstodon.org

🎉 PHP 8.5.0 Alpha 1 is available for testing!

In this very initial preview for PHP 8.5, we have:

- Pipe operator (|>)
- Final property promotion
- New array_first() and array_last() functions
- New #[\NoDiscard] attribute

… 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-

selwynpolit

@selwynpolit@mastodon.world

Drupal at your fingertips - free Drupal developers quick reference guide at drupalatyourfingertips.com
Check out the latest updates. Please feel free to share, promote, contribute your code snippets, wisdom or financially as a github sponsor at github.com/sponsors/selwynpoli

Image of developer pointing at Druplicon
ALT text detailsImage of developer pointing at Druplicon
sublimer@あすてろいどん鯖管's avatar
sublimer@あすてろいどん鯖管

@sublimer@mstdn.sublimer.me

PHPで書かれたWebRTC実装!!

PHP-WebRTC/webrtc: A pure PHP implementation of WebRTC : 👀
---
github.com/PHP-WebRTC/webrtc

Ryan He's avatar
Ryan He

@ryanhe@mistyreverie.org

我很討厭 的一個原因就是 Web server (如Nginx)與 PHP-FPM 的連接方式,都沒有一個標準的解答,網路上找的到的都是複製貼上的結果,根本不能用。

然後就如同 Orange 所說的,連 Nginx 官方給的設置範例都有安全性問題。

GENKI's avatar
GENKI

@nibushibu@vivaldi.net · Reply to GENKI's post

DB が単一 ファイルなの、潔いな

yamanoku's avatar
yamanoku

@yamanoku@hollo.yamanoku.net

なぜPHPファイルは <?php が省略できないのか - Qiita

https://qiita.com/tadsan/items/ddd1f8c8289b064cf923

yamanoku's avatar
yamanoku

@yamanoku@hollo.yamanoku.net

なぜPHPファイルは <?php が省略できないのか - Qiita

https://qiita.com/tadsan/items/ddd1f8c8289b064cf923

Captain Steph's avatar
Captain Steph

@sirber@fosstodon.org

Running on is like running on .

ApisNecros's avatar
ApisNecros

@ApisNecros@ioc.exchange

I was recently approached by a friend who had a website they manage be compromised. They offered to let me take a look at some of the files left behind by the attacker. In today's blog post, I go over my methods for deobfuscating a staging script they used.


vzqk50.com/blog/deobfuscating-