ampache, to php
@ampache@fosstodon.org avatar

6.5.0 is a big update that updates the Browse&Query classes into smaller pieces.

This work helped find and close a lot of issues which you can easily miss in 5k line classes.

Work moves on to Ampache7!

https://github.com/ampache/ampache/releases/tag/6.5.0

mobileatom, to php
@mobileatom@flipboard.com avatar
Schrank, to php
@Schrank@phpc.social avatar

I have a cli script which looks like this:
->run($argv[1], $argv[2]);

the 2nd parameter is optional and has a default value. Is there a way to not pass $argv[2] if it is not present to not run into

run(): Argument #2 ($path) must be of type string, null given

Or do I need to test this and have two different calls?

doefom, to Laravel
@doefom@mastodon.social avatar

Another cool feature of the #Laravel 'Number' helper is the abbreviation function. Especially useful for dashboards and stuff.

#php #webdev

Symfony Station Communiqué - 07 June 2024 | Symfony Station (symfonystation.mobileatom.net)

Welcome to this week's Symfony Station communiqué. It's your review of the essential news in the Symfony and PHP development communities focusing on protecting democracy. That necessitates an opinionated Butlerian jihad against big tech as well as evangelizing for open-source and the Fediverse. We also cover the cybersecurity...

doefom, to Laravel
@doefom@mastodon.social avatar

"Blueprint" generates code for your app. Create draft.yaml, define what to generate, package handles the boilerplate stuff for you. This example generates a controller, factory, migration, model and test. Very neat to begin a project with.

kubikpixel, to php
@kubikpixel@chaos.social avatar

I still need to take a closer look at the toots of @shadowserver but it seems to be an other argument against and on Windows to the boss and customers… 🙄

»[…] A critical vulnerability in the PHP language can be trivially exploited to execute malicious on devices, security researchers warned as they urged those affected to take action before the weekend starts. […]«
– on @arstechnica

⚠️ https://arstechnica.com/security/2024/06/php-vulnerability-allows-attackers-to-run-malicious-code-on-windows-servers/

Crell, to php
@Crell@phpc.social avatar

And yet again, using Docker (via Lando) plus XDebug + PHPStorm = things just don't bloody work, despite all the settings being correct.

I really wish this were not such a regular occurrence. I don't even know which tool to blame.

matdevdug, to php
@matdevdug@c.im avatar

May god have mercy on the souls of those sad people running on and who now have a serious CVE. https://devco.re/blog/2024/06/06/security-alert-cve-2024-4577-php-cgi-argument-injection-vulnerability-en/

majorlinux, to php
@majorlinux@toot.majorshouse.com avatar

Hope your weekends are still uneventful.

Nasty bug with very simple exploit hits PHP just in time for the weekend

https://arstechnica.com/security/2024/06/php-vulnerability-allows-attackers-to-run-malicious-code-on-windows-servers/

derickr, to php
@derickr@phpc.social avatar

It's PHP's birthday! 29, years old today.

A cake cut out a slice off, and the big side taken.

mobileatom, to php
@mobileatom@flipboard.com avatar
doefom, to Laravel
@doefom@mastodon.social avatar

Currently updating one of our biggest sites from v3 to v5. 1000+ entries and multisite. At first I thought it would be a pain but seeing how everything looks "new" now and feels lighter is absolutely worth the effort

mobileatom, to Symfony
@mobileatom@me.dm avatar

Explore today's @SymfonyStation Communiqué of Symfony, Drupal, PHP, Fediverse, and Cybersecurity news. https://symfonystation.mobileatom.net/Symfony-Station-Communique-07-June-2024 🇺🇦

symfonystation, to Symfony
@symfonystation@newsletter.mobileatom.net avatar
mobileatom, to php
@mobileatom@flipboard.com avatar

Why People Say PHP is Bad — And Why They’re Wrong.

https://medium.com/

Posted into SYMFONY FOR THE DEVIL @symfony

sarah, to php
@sarah@phpc.social avatar

Job-seekers should check out PHP For Hire, a place where you can create a profile and be found by those who are looking to hire exceptional talent. It's free. https://phpforhire.com

Skoop, to php
@Skoop@phpc.social avatar

I wrote something about making the choice between upgrading or upgrading: https://skoop.dev/blog/2024/06/07/upgrade_or_upgrade/

ramsey, to php
@ramsey@phpc.social avatar

What’s the difference between memory usage and peak memory usage?

(As in 's memory_get_usage() and memory_get_peak_usage() functions.)

ramsey, to php
@ramsey@phpc.social avatar

It boils my blood to hear folks insinuate that is the source of their performance problems and they should switch to microservices in another language to fix the performance issues. Maybe spend a little bit of time figuring out where your bottlenecks are and fix those, first!

(This may or may not be a sub-toot.)

mobileatom, to php
@mobileatom@flipboard.com avatar
symfonystation, to Symfony
@symfonystation@newsletter.mobileatom.net avatar
Crell, to Kotlin
@Crell@phpc.social avatar

This app is written in a language with a very strong and powerful type system, and is going out of its way to not use it. cries

derickr, to php
@derickr@phpc.social avatar

@SecondeJ kicking off tonight's PHP London meeting.

symfonystation, to Symfony
@symfonystation@newsletter.mobileatom.net avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • InstantRegret
  • mdbf
  • ngwrru68w68
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • osvaldo12
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • JUstTest
  • tacticalgear
  • ethstaker
  • modclub
  • cisconetworking
  • tester
  • GTA5RPClips
  • cubers
  • everett
  • megavids
  • provamag3
  • normalnudes
  • Leos
  • lostlight
  • All magazines