What is this? – if key is string, then value must be int – if key is int, then v...
Zuri (he/him) ❌️👑 | 🕐 CET @shaedrich@mastodon.online
What is this?
– if key is string, then value must be int
– if key is int, then value must be bool
It should allow for ['foo' => 1, true]
#AskFedi #FollowerPower #amCoding #amProgramming #softwareDevelopment #softwareEngineering #PHP #PHPStan #computerScience #dataTypes #typeSystem #typeTheory #typeVariance #compositeDataTypes #dataTypeComposition