#PHP

おさ's avatar
おさ

@osapon@mstdn.nere9.help · Reply to おさ's post

LLMに聞いてもDOMDocumentでしか使えないオプションを回答してきて、そのオプションはDom\HTMLDocument(PHP8.4からこっちが推奨になった)で使えねーと困ったが、他の解法として、これも<br></br>を<br>に置換するという原始的処理で対応できた。内部で無駄な書き換えが発生していて処理が無駄だなぁ。

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 .

anelki's avatar
anelki

@anelki@tilde.zone · Reply to anelki's post

okay so things are ✨happening ✨!!

  1. Fun with : creating a plugin to enable better diagnostics, accessible remotely via an API to enable debugging.

  2. Improving OJS discussions, notifications, and editorial workflow. Provide more context to editors and make it easier for non-technical editors.

  3. Improving the experience for journals using open-review. Provide more gradients of control for how open-review works for each journal.

  4. Porting in further language/translation and accessibility improvements, especially for plugins

  5. Fixing/Updating Documentation: taking a more task based approach to how OJS/etc. works instead of making people read through a whole thing about the whole workflow for something.

  6. More documentation: integrating progress from previous sprints including for newly created plugins.

  7. (Unofficial) working on thinking about how integrating OJS into the fediverse might work (me, it's me, this is my fault)

@PublicKnowledgeProject

David Bisset's avatar
David Bisset

@davidbisset@phpc.social

Hello! 👋🏻 I'm David. Been in tech/web since 80s but last 15+ yrs I primarily identify as dev building plugins that run on a bunch of sites.

Last 20+ yrs: , manager, full stack dev, podcast host, speaker, Post Status alum, event/meetup organizer, dad³. . Miami co-founder. .

I use Mastodon mainly to share tech links & memes as they are archived to davidbisset.social. I avoid talking about certain subjects here.

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-

kalvn's avatar
kalvn

@kalvn@mastodon.xyz

Je profite de la vague d'arrivage pour faire mon que je n'ai jamais vraiment faite finalement :)

Je suis dev, principalement web depuis maintenant une douzaine d'années. J'ai commencé avec et la stack comme beaucoup, un petit passage forcé et douloureux par .NET et maintenant principalement du (avec Vue) et un peu de

Au delà de tout ça, j'aime les jeux vidéos (BotW et TotK sont en haut de ma liste), le , la et les bouquins :)

Jon Park's avatar
Jon Park

@jonspark@howdee.social

A quick re : I'm Jon, a front-end-turned-a-bit-of-everything based in You may have followed me on mastodon.social/@jonspark

I'm a freelancer, love , and have a few opinions about in recruitment. I like and spend some time in and .

I'm , a and husband. I like and being as as I can. We have a and I like to tinker in and the .