awoodsnet, to php
@awoodsnet@phpc.social avatar

you know what i was just thinking about? programming syntax and international developers. Between PHP and jQuery, how do european and british developers deal with the $ symbol? I imagine the $ is not directly on your region-specific keyboard. Does your IDE map the € or £ to the $ when you code? Do you just use second keyboard with a US layout? You’ve gotta use the $ symbol hundreds of times a day, so it needs to be easy

thgs, to php
@thgs@phpc.social avatar

I wish we had a returnull keyword in #PHP.

og, to php

Going to be learning some

Synchro, to php
@Synchro@phpc.social avatar

Yay! I'm going to be speaking at the international Conference in Munich in October.

dgoosens, to php
@dgoosens@phpc.social avatar

« My mom always said our Legacy Code was like a box of chocolates. You never know what you're gonna get.»
Forrest Gump, 1994

headdesk.... ie facepalm that hurts

thomasfuchs, to random
@thomasfuchs@hachyderm.io avatar

“Haha lol banks use 60 year old programming languages!”

Yes, young whippersnapper, that’s because they need things to be reliable and not change all the time, the code probably has to run for another 60 years.

“Modern” devs could learn a lot from not trying chase every trendy new framework and every shiny new programming language.

devnull,
@devnull@crag.social avatar

@thomasfuchs @nattiegoogie Sheesh, people love to rag on so much and turn a wilful blind eye towards all the effort put to improve the language.

Wouldn't you agree that ES6 is nothing like the JS of yesteryear, just as 8 is nothing like the php 5.4 shit I had to write when I first entered the industry?

People still love to rag on php though 😺

symfonystation, to Symfony
@symfonystation@phpc.social avatar

Do you own or work for an organization looking for promotion opportunities in the PHP, Drupal, and Symfony communities? If so, please contact us. https://www.symfonystation.com/Contact :symfony: :drupal: :php: #Symfony #Drupal #PHP

dgoosens, to php
@dgoosens@phpc.social avatar

#PHP
now we have the ability to properly type properties and with @Crell & @ilutov 's property hooks RFC, that I hope will pass (https://wiki.php.net/rfc/property-hooks),
I wonder if, at some point, it will become possible to declare properties in an interface....
Or am I the only one who thinks that makes sense ?

symfonystation, to Symfony
@symfonystation@phpc.social avatar
dgoosens, to php
@dgoosens@phpc.social avatar


Am I the only one that does not understand this does not at least trigger a warning ?

I mean, I would expect $baz should have been declared nullable (?string) to be correct... Or am I missing something ?

https://onlinephp.io/c/71e55

symfony, to Symfony
@symfony@mastodon.social avatar

🌟 Symfony 6.3.0 has been released! Many thanks to all contributors 😍
https://symfony.com/blog/symfony-6-3-0-released
🆕 Have a look at this blog post summarizing all the major changes in this new version: https://symfony.com/blog/symfony-6-3-curated-new-features

pejookaloo, to VideoGames

Guess I should post an on here.

I am a 35 year old male and tend to post about and

I also enjoy and so you may see the occasional post about those.

I code in but have been dabbling in lately. Also the standard frontend and to go along with it.

Games I'm Currently playing:

Plan to play:

syntaxseed, to php
@syntaxseed@phpc.social avatar

Bathing in the docs these days and they have just an avalanche of low-level information & docs but what I really need is a high-level "these are the general steps you'll take" which then lead into those detail pages.

Edent, to php
@Edent@mastodon.social avatar

I sent a small PR to fix a library for
https://github.com/Eleirbag89/MastodonBotPHP
Thanks to @eleirbag for merging it.

kaiserkiwi, (edited ) to webdev
@kaiserkiwi@corteximplant.com avatar

Tried out a bit of today. A bit weird to write that less but get so much. I think I have to get used to this. But I see me writing more tests with Pest. Looking forward to work more with it!

j3j5, to php
@j3j5@hachyderm.io avatar

I found myself using dark magic to modify a protected variable from a library that doesn't allow any configuration. I feel that this is one of those "to break the rules you need to know them first" cases. I very well know this isn't good practice, and I know why, but I don't want to fork the whole thing only to change 2 urls on 2 protected variables when the rest of the library works fine.

Am I wrong? should I do it different?

davidbisset, to php
@davidbisset@phpc.social avatar

Building a procedurally generated game with

https://stitcher.io/blog/procedurally-generated-game-in-php

symfonystation, to Symfony
@symfonystation@phpc.social avatar

We are now on /kbin as Symfony Station. It is a Reddit-like link sharing platform on the Fediverse. Follow us at https://kbin.social/u/symfonystation #kbin #Symfony #PHP #Drupal

dgoosens, to php
@dgoosens@phpc.social avatar
syntaxseed, to php
@syntaxseed@phpc.social avatar

I find myself in the #PHP docs less and in the #Symfony docs more these days.

Wish there was more example code but all in all they're excellent.

freekmurze, to programming
@freekmurze@phpc.social avatar

🚀 We just released our newest package spatie/laravel-blade-comments

This one can add a comment before and after each rendered Blade include, making it easy to see which HTML is rendered by which view

Blogpost: https://freek.dev/2500-a-laravel-package-to-quickly-see-which-html-is-rendered-by-which-blade-view
Code: https://github.com/spatie/laravel-blade-comments

symfony, to Symfony
@symfony@mastodon.social avatar

🚀 New in Symfony 6.3: Webhook Integration with Mailer and Notifier
➡️ https://symfony.com/blog/new-in-symfony-6-3-webhook-integration-with-mailer-and-notifier

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

Next round of deprecations for 8.3 is starting.

As for each version, one of the important RFC to monitor.

https://wiki.php.net/rfc/deprecations_php_8_3

ramsey, to php
@ramsey@phpc.social avatar

was all, like, “I found some MissingParamType issues. I’ll be happy to fix the types for you.” So, I ran it with --alter, and it proceeded to change mixed parameter types (that conform to an interface) to stringd.

That’s not my typo; there is a “d” on that end of that type name.

I have no idea what Psalm thinks it’s doing.

vansari, to php German
@vansari@phpc.social avatar

Today I tried to setup a PHP ecosystem on my MacBook Pro M2 with Podman. It was a little bit difficult but I have done it ☺️

Now I have a isolated pod where my #php fpm #nginx and #postgres are running. The only published port is 8080 for the nginx.

But the best benefit is: Each container runs rootless ! #podman #devops

Here is the link to the #github repository:

https://github.com/vansari/podman-knowledge

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