Article of the week

Binary Search algorithm advanced implementation in PHP

Binary Search algorithm advanced implementation in PHP

17 Feb 2020 00:41:03


Advanced implementation of Binary Search algorithm in PHP programming language, which allows for custom comparison functions and multiple value returns.


Read full article »

Recent articles

Skeleton for unit testing with PHPUnit

28 Feb 2017 17:14:22

Skeleton for unit testing with PHPUnit

Recently, I have written an article on installing PHPUnit with a BASH script. In this post I take a step forward with the subject and build a skeleton for testing PHP class(es) with the framework. Like in the first article on PHPUnit, and in fact in pretty much every post on ...

Read more »

installing PHPUnit

18 Feb 2017 15:10:51

installing PHPUnit

If you are any serious about writing code in PHP computer language you have tried some unit testing frameworks by now. Some of them are better than others, one that really stands out, both in terms of code quality and documentation is Sebastian's Bergmann PHPUnit. ...

Read more »

Arrays in BASH

12 Feb 2017 14:48:27

Arrays in BASH

Once one is somewhat familiar with basic number and string handling rules in BASH, it is time to move on to learning about a container for these. BASH provides one such a convenient container in the form of array. This article is about the number indexed arrays. If you've ...

Read more »

BASH recursion examples - part 2

30 Jan 2017 17:08:29

BASH recursion examples - part 2

This article is a follow-up on the subject of writing recursive code in BASH. In the first part of the series I focused on a few more popular Maths functions and how one could implement them in BASH. In this instalment focus shifts to tasks one often comes across whilst ...

Read more »