php

Back Open Paginator
09.09.2025 22:50
post (@post@programming.dev)

Stop Using These 5 Outdated Optimization Tricks in PHP

programming.dev/post/37167016




Show Original Post


09.09.2025 22:26
h4ckernews (@h4ckernews@mastodon.social)

I still love PHP and JavaScript

the.scapegoat.dev/why-i-love-p




Show Original Post


09.09.2025 22:20
phparch (@phparch@phparch.social)

Explore the power of PHP stacks! 🌟 'Stacks With SplStack' is your go-to resource. Watch now: phparch.com/p/2024/01/stacks-w @scottkeckwarren #PHP #DataStructures




Show Original Post


09.09.2025 21:55
Verfassungklage (@Verfassungklage@troet.cafe)

#Nextcloud sicherer machen: #Automatischer #Logout -

#Nextcloud-Sitzungen offen ĂĽber Nacht? Mit #PHP 8.4 lassen sich Timeouts und Auto-Logout sauber konfigurieren. So schĂĽtzt ihr eure Cloud vor neugierigen Augen auf gemeinsam genutzten Rechnern.

gnulinux.ch/nextcloud-sicherer




Show Original Post


09.09.2025 19:07
dabiddo (@dabiddo@mstdn.io)

I walways try to keem my closures simple and to the point ...
#php

Stop using old-fashioned closures in modern PHP. There are 4* ways to replace them. | by Vlad Reshetylo | Medium

medium.com/@vlreshet/stop-usin




Show Original Post


09.09.2025 19:06
dabiddo (@dabiddo@mstdn.io)

What do you guys think? #php

Stop Using These 5 Outdated Optimization Tricks in PHP | by Vlad Reshetylo | Medium

medium.com/@vlreshet/stop-usin




Show Original Post


09.09.2025 16:10
blog (@blog@social.derickrethans.nl)
Xdebug Update: August 2025
Original Post

In this monthly update I explain what happened with Xdebug development.

GitHub and Pro/Business supporters will get it earlier, around the first of each month.

In the last month, I spend around 27 hours on Xdebug, with 29 hours funded.

Xdebug 3.4

I spend a fair amount of time trying to triage bug #2359 where Xdebug is interfering with Lazy Objects, which were introduced in PHP 8.4. However, there is no small reproducible case, and I have not managed to reproduce this myself at all.

However, I did manage to get to the bottom of bug #2328. This ended up being reference counting in PHP and resources (such as open file pointers) not being quite compatible. Instead of holding on to these resources when I keep the stack traces when an Exception occurs, I now instead ignore these.

These resource types are being phased out in PHP, as they are the source of many other issues as well. But, file and stream resources have not been ported yet.

I also fixed a bug where sometimes internal PHP objects (such as DateTimeInterval) would cause a crash when debugging.

I will make a release in early September to get these fixes out.

PHP 8.5

Most of the time this month I spent on making Xdebug PHP 8.5 ready.

Last month I wrote about a patch for PHP that I created to introduce intermediate steps between pipe stages. With this, I discovered a parser issue with PHP's implementation of pipes, and especially when closures were used. Due to the precedence order, something went awry.

This has now been addressed in PHP, and my patch to introduce intermediate steps has also been merged after adjusting it slightly. I have also merged the Xdebug side of this feature into to the master branch.

The rest of the PHP 8.5 work was mostly due to Opcache now always being enabled. This caused some churn in my test cases and CI workflows, where I would load opcache.so conditionally. With PHP 8.5 this library no longer exists as Opcache is now built-in.

Native Path Mapping

I continued investigating how to implement "skip" for native path mapping, and am planning to get this implemented in early September. It is a fair amount of work, as I need to adjust my data structures and parser rules.

Xdebug Videos

I have created no new videos in the last months.

All Xdebug videos can be watched on my channel.

If you have any suggestions, feel free to reach out to me on Mastodon or via email.

Business Supporter Scheme and Funding

On GitHub sponsors, I am currently 42% towards my $2,500 per month goal, which is set to allow continued of Xdebug.

If you are leading a team or company, then it is also possible to support Xdebug through a subscription.

In the last month, no new business supporters signed up.

Besides business support, I also maintain a Patreon page, a profile on GitHub sponsors, as well as an OpenCollective organisation.

If you want to contribute to specific projects, you can find those on the Projects page.

Xdebug Cloud

Xdebug Cloud is the Proxy As A Service platform to allow for debugging in more scenarios, where it is hard, or impossible, to have Xdebug make a connection to the IDE. It is continuing to operate as Beta release.

Packages start at ÂŁ49/month, and I have recently introduced a package for larger companies. This has a larger initial set of tokens, and discounted extra tokens.

If you want to be kept up to date with Xdebug Cloud, please sign up to the mailing list, which I will use to send out an update not more than once a month.




Show Original Post


09.09.2025 15:02
gnulinux (@gnulinux@social.anoxinon.de)

Nextcloud sicherer machen: Automatischer Logout

Nextcloud-Sitzungen offen ĂĽber Nacht? Mit PHP 8.4 lassen sich Timeouts und Auto-Logout sauber konfigurieren. So schĂĽtzt ihr eure Cloud vor neugierigen Augen auf gemeinsam genutzten Rechnern.

#Nextcloud #PHP #Secure #Linux

gnulinux.ch/nextcloud-sicherer




Show Original Post


09.09.2025 14:41
litespeedtech (@litespeedtech@mastodon.social)

RELEASED: PHP LSAPI v8.3! This release consists of bug fixes. litespeedtech.com/open-source/





Show Original Post


09.09.2025 13:50
jclermont (@jclermont@phpc.social)

Sorting can be tricky when case sensitivity comes into play. For example, which should come first, "macOS" or "Windows"? Let's look at a couple scenarios to consider. #php #laravel masteringlaravel.io/daily/2025




Show Original Post


09.09.2025 12:55
lobsters (@lobsters@mastodon.social)

A Novel Technique for SQL Injection in PDO’s Prepared Statements lobste.rs/s/wxtopc
slcyber.io/assetnote-security-




Show Original Post


09.09.2025 11:46
marmelab (@marmelab@mastodon.social)

⏰ Plus qu’un mois avant le Forum PHP 2025 !

Rejoignez-nous à Disneyland Paris pour célébrer non seulement les 30 ans de PHP, mais aussi les 25 ans de l'AFUP, les 20 ans de Symfony et les 10 ans d'API Platform ! 🎂

@francoisz, CEO de marmelab, sera présent pour vous donner des conseils sur l'évaluation des agents IA.

On a hâte de vous y retrouver ! 🤝 Qui d’autre sera présent ? 🙋

event.afup.org/





Show Original Post


1 ...441 442 443 444 445 446 447 448 449 450 451 ...524
UP