vm666, to php French

Charles Fol a présenté la faille #iconv (CVE-2024-2961) à #OffensiveCon le 10/05/2024. On n'a toujours pas de détails. On dirait bien qu'il n'y a pas d'attaques généralisées non plus.
Quelqu'un aurait vu des sites #PHP compromis via ce genre de chose récemment ? Ou pire ?

wyri, to php
@wyri@haxim.us avatar

Had fun this weekend working on a performance focussed proof of concept using Bunny in the interop contracts. The first metrics are in using the cluster on my home cluster. (Which isn't meant for high performance. Still pleased by these numbers.)

wyri, to php
@wyri@haxim.us avatar

Thanks to @jay Bunny will support client properties in the upcoming 0.5.6 and 0.6 releases. Client properties can be used to set a human readable name to your connection with :

With connection name
Set of my own connections with descriptive connection names

dseguy, to php French
@dseguy@phpc.social avatar

More about the Override attribute :

where else can use this attribute?
when will it raise a Fatal error?
It is not always at compile time (it never is).

https://www.exakat.io/en/more-about-the-override-attribute/

matdevdug, to ai
@matdevdug@c.im avatar

One thing that’s funny about and is I keep hearing the same thing. “Oh I use it for generic snippets, just common tasks and functions”.

The amusing thing about that is when I first started working with a app years ago there was already a solution to that problem. It was called “the PHP Cookbook” published by O’Reilly. I was told “oh we buy you a PDF copy and you just search for whatever you are trying to do and use that code. It saves a ton of time for junior programmers.”

Not only was it true, it did save me a ton of time and headaches, but we didn’t need to steal anything. The authors got paid, it worked offline, it didn’t require scraping the entirety of human knowledge to write or nuclear power plants worth of energy to distribute.

It also helped me learn. Since I would have a solid foundation to the solution, I felt more confident experimenting. I always had a known-functioning standard library solution as my base. So when something broke I knew where to start debugging.

Just an incredible thought that instead of paying $20 for a pdf once we decided this was the way to go.

doefom, to php
@doefom@mastodon.social avatar

8.4 is introducing newing up a class and accessing methods, properties, etc. on it without wrapping it in parentheses first. Another useful feature I will probably use on a daily basis. In my daily work with I often need to crawl some content from a website or an API. This feature will make my code a little less cluttered.

Here is the RFC if you want to learn more about it: https://wiki.php.net/rfc/new_without_parentheses

mobileatom, to php
@mobileatom@flipboard.com avatar

Value Objects in PHP can protect you from bad data.

https://medium.com/

Posted into SYMFONY FOR THE DEVIL @symfony

leanpub, to php
@leanpub@mastodon.social avatar

Thinking Functionally in PHP by Larry Garfield is free with a Leanpub Reader membership! Or you can buy it for $25.00! http://leanpub.com/thinking-functionally-in-php

Crell, to php
@Crell@phpc.social avatar

Please, web app developers, consider how your users will upgrade. If your upgrade process is "remove the old one, unzip the new one", then it's not an upgrade process. It's an encouragement to never upgrade.

doefom, to php
@doefom@mastodon.social avatar

8.4 introducing "Property Hooks". This means you will be able to hook into the default read and write behavior of your class properties. The design also allows for more hooks in the future. Really looking forward to this one!

Read more about this feature in the RFC:
https://wiki.php.net/rfc/property-hooks

sarah, to random
@sarah@phpc.social avatar

PHP needs a code of conduct for the project itself. Is there anyone willing to push for an RFC to add one with me?

sarah, to php
@sarah@phpc.social avatar

Thanks to @phpday for a great conference. Hope to see everybody next year!

Schrank, to php
@Schrank@phpc.social avatar

Preparing a talk „from url in browser to first byte“ in context of .
What little, not obvious things, do you think are a good addition?

Like: a correct time is important for proper encryption

sarah, to php
@sarah@phpc.social avatar

Waiting at the airport. Still basking in the post-conference glow. Thanks @phpday!

sarah, to php
@sarah@phpc.social avatar

For those who made my keynote at @phpday, thank you. I worked hard and shared my heart and your warm reception meant the world.

Hope to see you all next year!

Crell, to php
@Crell@phpc.social avatar

Any time I see "bad" code, the first answer is usually "you need more precise and strict types."

Often there's other stuff wrong, but easily 70% of the time, the fix starts with "define the problem better and the problem goes away."

donatj, to php
@donatj@mastodon.social avatar

You know, while we’re dropping parentheses on things in I’d like it if we dropped them from control structures like if/for/while

End the argument of

if($foo) {

vs

if ($foo){

once and for all

if $foo {

to rule them all

tobiaskoengeter, to php German
@tobiaskoengeter@sueden.social avatar

We have released a new library: TypoRules for 🎉

It is not actually new, as we have been working with it for years to enable outstanding in our and applications. What is new is that all functionalities are now available in a bundled form and as .

You can find it at https://github.com/BitAndBlack/typorules

The library currently contains 42 rules and 5 rule sets, with more being added all the time.

Give it a try and let us know how you get on with it! 😇

michael, to php
@michael@thms.uk avatar

Got to say: Just been through upgrading an app from 8.1 to 8.3 and it's really nice and painfree.

Very few breaking changes, and the few that are there are stuff that a sensible person would've addressed a long time ago.

Unfortuantely that means that apart from readonly classes, there are also few exciting new things in there. But I guess these also are just point updates after all…

Almost boring 😉 (Not a bad thing! Stability is also nice.)

phpday, to php
@phpday@phpc.social avatar

phpday 2024 is done! Thanks to the amazing speakers, sponsors and attendees! What a blast!

See you next year!

image/jpeg
image/jpeg

mobileatom, to Symfony
@mobileatom@flipboard.com avatar
symfonystation, to Symfony
@symfonystation@newsletter.mobileatom.net avatar
alessandrolai, to Symfony Italian
@alessandrolai@phpc.social avatar

In 5 minutes I'll be on stage with my talk " Messenger: the sharpest tool in your toolbox"

Come to see me, and please give me feedback on Joindin!

https://alessandrolai.dev/talks/2024-phpday-symfony-messenger/

alessandrolai, to php Italian
@alessandrolai@phpc.social avatar

Just got down from the stage, wow! Thank you for all the questions!

Now after me at is time for @afilina to talk about her adventures in legacy codebase and upgrading them to the newest version!

corycarte, to webdev
@corycarte@mastodon.world avatar

I'm curious how many tech influencers couldn't even setup a Wordpress site

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • cisconetworking
  • thenastyranch
  • GTA5RPClips
  • everett
  • Durango
  • rosin
  • InstantRegret
  • DreamBathrooms
  • magazineikmin
  • Youngstown
  • mdbf
  • slotface
  • ethstaker
  • megavids
  • kavyap
  • normalnudes
  • modclub
  • cubers
  • ngwrru68w68
  • khanakhh
  • tacticalgear
  • tester
  • provamag3
  • Leos
  • osvaldo12
  • anitta
  • lostlight
  • All magazines