-
🧐 Floats and the Mystery of -0.0 PHP Review #5
Did you know that PHP has negative zero? This post is a journey through the world of negative zeros, division by infinity, and why in your code you can still safely write `== 0.0`.
-
PhpUnit willReturnMap - PHP Review #4
🐛 "PhpUnit, willReturnMap and default arguments – how to fall into a subtle trap 🪤"
-
BackedEnum - PHP Review #3
🏆 BackedEnums in PHP – how I stopped worrying about mappers and learned to love enums ❤️
-
Array Functions: Initializing an Array Using [...] or array()? - PHP Review #2
Is declaring an array using the array() function becoming obsolete? What does baking a cake have in common with code compilation?
-
Array Functions: ['array_filter', 'array_merge'] - PHP Review #1
A review of the most commonly used PHP functions for working with arrays. When and how to use them optimally.