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
#amcoding
1 posts · Last used Jul 18
You've seen all posts