Just released another side project
Wanted a quick way to find free high quality Android apps. Google’s Play Store isn’t exactly helpful for this kind of search so I created my own service. Check it out under the fun projects menu…
Wanted a quick way to find free high quality Android apps. Google’s Play Store isn’t exactly helpful for this kind of search so I created my own service. Check it out under the fun projects menu…
When you start having too many cases in your switch statement, it might be worth looking into using a function lookup. This is possible in all languages where functions are first class citizens… <?php $post = "hello"; $info = "3.1415"; //———————————————————– // Version 1 – using a switch statement //———————————————————– switch ($post) { …
Continue reading ‘PHP – switch statement vs. function dispatching’ »