Elektrine lite

← Feed

@gmazzap@phpc.social

Post #3905066

2026-07-18 07:15 UTC

@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.

Replies (0)

No replies.