Php
PHP BOOTCAMP: Magic Constants
There are a lot of methods, classes and constants that PHP offers to developers for use. We’ll talk about the MAGIC CONSTANTS today. Note: These constants didn’t just appear in the standard PHP library, they were not dropped from heaven and a PHP developer doubling as a magician also didn’t write them. This was actually intended [...]
Debugging your PHP Applications
Currently, there are several PHP developers that try to debug using var_dump. Common we are in 2015, the year of THE SLAYER and DRAGON BLADE. It’s time to wield that sword in different directions to see what’s possible in PHP. One way of debugging your PHP applications is using XDebug. XDebug is fantastic, it can be enabled on [...]
PHP BOOTCAMP: Closures Demystified
Yo DAWG, Here is a function for your function. If you have worked with Javascript a lot, you would have used functions inside functions several times. I mean anonymous functions ( functions without a name, I call them bastard functions ). I also mean inner functions that possess the ability to access properties within the scope of the outer [...]
Re-iterating the Use Of Traits
For so many years now, Php Developers have always envied their Java colleagues for so many reasons which i wouldn’t be stating here to preserve my lovely life . One of such reasons is “Multiple Inheritance”. Php has been a single inheritance language for so long, but after so many years of praying and fasting from the [...]