@Girgias@phpc.social avatar

Girgias

@Girgias@phpc.social

I'm a PHP core developer and documentation writer, funded by https://phpc.social/@thephpf
Lead maintainer, and master of typos, for the French translation of the PHP documentation.
BSc in pure mathematics
Photograph/Otaku in my spare time

This profile is from a federated server and may be incomplete. Browse more on the original instance.

auroraeosrose, to random

#phptek if every user did just one documentation fix a year - what @ramsey calls "light open source contributions"

We would be light-years ahead

Girgias,
@Girgias@phpc.social avatar

@auroraeosrose @ramsey Yes, it is easier for me as a maintainer to just merge a typo fix or a small improvement, than to actually go fix the typo myself is someone opens an issue about it.

And this would fix a bunch of issues :D

Girgias, (edited ) to php
@Girgias@phpc.social avatar

Quick question for the masses:

When you use bitwise operators in , with what input types do you use them?

Girgias, to random
@Girgias@phpc.social avatar

If you have nothing to do and want to read about how PHP behaves with $container[$offset]. I've got some good news, I've got a 6k words RFC that I finally made public to get some initial feedback before going on holiday.
I would recommend a cup of tea/coffee before starting tho :D

https://github.com/Girgias/php-rfcs/blob/master/container-offset-behaviour.md

Girgias, to php
@Girgias@phpc.social avatar

Welcome, my name is Gina, my profession #PHP Engine Janitor, finding obscure bugs while cleaning up code and creating new and better engine APIs.

Girgias, (edited ) to random
@Girgias@phpc.social avatar

So we completely forgot about adding support for marking parameters with attributes in the PHP documentation.

But this is now done and some functions now show that their password parameters are annotated with the #[\SensitiveParameter] attribute!

Girgias, to random
@Girgias@phpc.social avatar

So I just spent 5h trying to clean up the Spanish documentation of PHP as it was doing some... weird stuff. And now the build fails.

Unsurprisingly considering the 5k outdated files, but if people want to help that would be nice. :)

To-do to fix the build: https://github.com/php/doc-es/issues/68

Girgias, to random
@Girgias@phpc.social avatar

Tiny rant, I really don't see why we do RCs at this point.

I introduced a bug in http_build_query() in January while doing some refactoring. It only got found 2h after tagging PHP 8.3.0. Probably as the user attempted to use 8.3.0 on their code base.

The fix is trivial, but it will only land in 8.3.1, which in theory should be in one month, but usually due to Xmas is delayed to January.

So yeah, what is the point of us having a 6 months alpha/beta/RC phase if nobody tries them.

Girgias, (edited ) to random
@Girgias@phpc.social avatar

@ttomdewit 's lightning talk about mental health is probably the most important talk given at @phpday

For a first time speaker, it was a flawless execution talking about something very important. #phpday23

grmpyprogrammer, (edited ) to random
@grmpyprogrammer@phpc.social avatar

The head of Automattic being transphobic puts a stain on the WordPress community.

Girgias,
@Girgias@phpc.social avatar

@sarah @grmpyprogrammer He's been having a public meltdown: https://www.tumblr.com/poop-shitter/742854661481037824

Edit: been witnessing this on the sidelines for a couple of days already as a friend of mine is way more active on Tumblr

Girgias, to random
@Girgias@phpc.social avatar

I'm making some changes to the php.net documentation renderer to try and make the XML we use actually conformant to DocBook instead of our slightly custom version of it.

If it somehow looks strange, let me know.

Girgias, to random
@Girgias@phpc.social avatar

Merci à l'@afup pour le petit interview off lors du :D

https://www.youtube.com/watch?v=7QXF3vHhu3Y

Girgias, to random
@Girgias@phpc.social avatar

> FRENCH new entrant Kevin Speed has confirmed details of the new train fleet that it plans to order to operate Ilisto commuter services on three high-speed lines in France from 2028.

> Kevin Speed

> Kevin Speed

> Kevin Speed

Girgias, to php
@Girgias@phpc.social avatar

I kinda need ideas for talks.

Do people want to know something particular about #php?
Be that internals, documentation, whatever insanity or pet peeve that goes through my mind (although that feels more like a regular podcast segment).

I'm all ears! :)

Girgias, to random
@Girgias@phpc.social avatar

This is, honestly, fucked up to the n-th degree:

https://mastodon.online/@BajoranEngineer/111529219340065513

Girgias, to php
@Girgias@phpc.social avatar

#PHP is the child that just keeps on giving with weird features.

Sure let's just disable the Exception class WHAT COULD GO WRONG

Stage 1: UAF of the typed properties:
https://github.com/php/php-src/issues/11960

Girgias, to random
@Girgias@phpc.social avatar

This is peak, ext/xml has been allocating 2 fields in a struct to store a userland callable to call when an unknown encoding is encountered.

But has never exposed a function to set said callable. 🤣

Having a field day with @nielsdos

Girgias, to random
@Girgias@phpc.social avatar

Storm Ciaran casually wrecking train tracks

#sncf: Man, sucks, we need to clean up the tracks.
You know what we can do?
Montage of maintenance crews clearing trees:
https://www.youtube.com/watch?v=lVTAjexQ0gM

Girgias, to random
@Girgias@phpc.social avatar

We had a productive conversation with @quantum and another friend on Sunday evening in Harrogate.

We present you, with the Tapas Alignment chart:

Girgias, to random
@Girgias@phpc.social avatar

Damn I'm away from internals for 1 day and I miss a massive shit thread.

I am kinda impressed by, new person proposes RFC, people disagree, immediate name-calling, more stomping, leaves by insulting.

Waaaw exhibit A of how not to behave when trying to interact with new people, especially with your full name attached.

Girgias, to random
@Girgias@phpc.social avatar

I just realised that my #dpc24 talk is up online!
https://www.youtube.com/watch?v=wKfhfvQJLe0

Some more feedback on it would be appreciated, even if I already got some on certain things to improve. :)

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

Hey #php people! Is there a way to implement an abstract constant? I have an abstract class which implements some stuff for my value objects and a constant IDENTIFIER I would like to enforce to be overwritten by the child classes.

It looks like there was a way in the past by using circular references: https://itecnote.com/tecnote/php-abstract-constants-in-php-force-a-child-class-to-define-a-constant/ but this doesn't work anymore.

Girgias,
@Girgias@phpc.social avatar

@Schrank Have the constant in the abstract parent class be defined as follows:

const CONST_NAME = self::CONST_NAME;  

And if the child class tries to use it without redefining it, you get an Error at runtime.

https://3v4l.org/TURXT

Girgias, to random
@Girgias@phpc.social avatar

For those in Tokyo on Friday I will be giving my PHP Type system talk, thanks for @chatii (and others) for organizing a meetup!

Girgias, to random
@Girgias@phpc.social avatar

Happy Easter and Trans Day of Visibility from the Japanese mountains!

peterrowlett, to random

My 8yo: What’s 2 times pi?

Me: Well pi is three-and-a-bit, so 2 times pi would be six-and-a-bit.

Him: Six and two bits.

Me: Yes. Six and a bigger bit.

Him: Can you think of a number in the pi times table that’s a whole number?

Girgias,
@Girgias@phpc.social avatar

@peterrowlett Can you use pi times 0 for a cheeky answer?

Girgias, to math
@Girgias@phpc.social avatar

How to become a millionaire in one simple step:

  • Solve Navier-Stokes

#math #joke

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