PHP's Oddities
Summary
This post examines two notable PHP oddities: its overloaded arrays and its class property type system with uninitialized states. The author uses concrete examples to show how arrays can lose index stability and how typed properties can trigger fatal errors if accessed before initialization, offering suggestions for safer initialization and design.