Exakat 0.10.7 : support for slim framework

Exakat 0.10.7 (Immortal Antelope Power) ships with a lot of behind the scene works, and little to show. This is now becoming a classic: we need to collect a lot of data from frameworks or PHP, store them by version, and generate… a boolean. All that work for so little. But, in the end, it […]

Removing duplicate cases in switch

Removing duplicate cases in switch Switch statements in PHP link a situation (the cases) to code to be executed. Duplicate cases in switch statement should be avoided. Just like this : switch ($a) { case ‘a’ : /* code here */ case ‘b’ : /* code here */ default : /* code here */ } Duplicate code in switch statements […]