Elektrine
Log in Register
Paige Chat Timeline Gallery Friends Email Drive DNS Private DNS Domains VPN Kairo Nerve
Remote

Giuseppe Mazzapica

@gmazzap@phpc.social
mastodon 4.7.3
  • Open on phpc.social

Captivated by WordPress development during his architecture studies, Giuseppe couldn't escape the web dev industry for the next two decades.

WP expert and eager open source contributor, he used to say he spoke PHP better than English.

Despite his undiminished interest in software development and architecture, his job has lately been more about engineering leadership and strategy than code.

These days, he's struggling more with the "socio-" part of his socio-technical job.

198 Followers
226 Following
9 Posts
Joined November 05, 2022
Home:
https://gmazzap.me
Work:
Director of Engineering at https://syde.com
GitHub:
https://github.com/gmazzap
Pronouns:
He/Him/His
Open post
Giuseppe Mazzapica @gmazzap@phpc.social
· 2mo ago
Replying to
@shaedrich@mastodon.online It's union. But be careful in PHP: numeric strings are converted to numbers. So ["2" => 2], which in theory fits the type, is not possibile in PHP. The key gets converted to a int and so the value is supposed to be a bool but it is not.
2
2
0
0
Open post
Giuseppe Mazzapica @gmazzap@phpc.social
· 3mo ago
Replying to

@dseguy@phpc.social It's all about knowledge and coupling.

For C to call A, it needs to know A well enough to decide it really wants to call that particular ancestor behavior instead of its direct parent.

This level of knowledge (coupling) is quite bad, and it's widely accepted that inheritance is bad for this, right?

Honestly, the fact the language makes calling arbitrary ancestors behavior with shared state (because if the method contains $this it will resolve to C) it is a good thing IMO :)

2
0
0
0
Open post
Giuseppe Mazzapica @gmazzap@phpc.social
· 3mo ago
Replying to
@dseguy@phpc.social If it's public, it's easy https://3v4l.org/GGTeV#v
GGTeV - created on 3v4l.org
3v4l.org

GGTeV - created on 3v4l.org

View the output of this script on 3v4l.org: the online PHP shell with 500+ PHP versions

1
0
0
0
Open post
Giuseppe Mazzapica @gmazzap@phpc.social
· 5mo ago
Replying to
@maccath@phpc.social @kraftner@mastodon.social @adactio@mastodon.social Very intersting stuff. I could not imagine this coming from a country where I _had to_ have ID verification for my 3yo(!) to get basically... anything. Knowing this, the fack UK became one of the first countries in Europe to implement online age verification is mind blowing.
1
0
0
0
Open post
Giuseppe Mazzapica @gmazzap@phpc.social
· 6mo ago
Replying to
@shawnhooper Good post for the "political" part, less so for the technical part. Some technical points *are* good but also very old, some are blunders or strawman at best.
1
0
0
0
Open post
Giuseppe Mazzapica @gmazzap@phpc.social
· 25mo ago
Replying to
@Natasha_Jay@tech.lgbt Tevere has 3 syllables, but yeah
1
0
1
0
Open post
Giuseppe Mazzapica @gmazzap@phpc.social
· 7mo ago
Replying to on cosocial.ca

@emd@cosocial.ca First, if it's a class method, don't use Brain Monkey, but the Mockery directly. Brain Monkey brings Mockery features to functions, for object methids you don't need it.

Anyway, the mock/stub is reset when you call Monkey\tearDown() at the end of every test case (in PHPUnit you do It in test class' tearDown()). If in the same test case you need different mock/stub for same function, just do the stub/mock again. The second time it will override what you had before.

0
1
0
0
Open post
Giuseppe Mazzapica @gmazzap@phpc.social
· 7mo ago
Replying to on lostfocus.de
@dominik that one client has probably plugins using native PHP time/date functions instead of WP functions
0
1
0
0
Open post
Giuseppe Mazzapica @gmazzap@phpc.social
· 2mo ago
Replying to
@ramsey@phpc.social sounds very italian! We say "verità" for "truth" and "veramente" for "truly". And, yes, we use "veramente" as an intensifier, but that also true for "truly", right?
0
0
0
0
Back
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 23:19:23 UTC