Article of the week

Longest Collatz sequence in PHP

Longest Collatz sequence in PHP

08 Feb 2020 23:30:22


The longest Collatz sequence for input less than N in PHP programming language.


Read full article »

Recent articles

Updating WordPress database URLs - part 1

01 Jan 2017 15:27:35

Updating WordPress database URLs - part 1

Either when developing a new WordPress website or when dealing with one that already exists but is in need of a move to another host, you're certain to come across an issue related to updating old domain name with a new one. A typical WordPress website ( by typical I ...

Read more »

Find first image URL in WordPress post content

29 Dec 2016 06:59:28

Find first image URL in WordPress post content

With ever growing importance of websites like Pinterest, and in particular due to their reliance on images, and for general post linking purposes often it is desirable or even necessary to be able to find at least one image in your WordPress blog entry automatically and in an ...

Read more »

Genericons unicode values

21 Dec 2016 11:07:56

Genericons unicode values

Genericons is a set of vector icons embedded in a webfont. They look crisp, scale well and are easy to use. Moreover they are also free to use for whatever project you may need them. If you've dealt with a standard WordPress theme like twentyfifteen you probably noticed, ...

Read more »

Sorting objects by their property in PHP

10 Dec 2016 13:10:14

Sorting objects by their property in PHP

Lets say you have got an array of assorted objects, each with the same set of properties, which are either numbers or strings, and you would like to sort them by one of those properties using PHP. Since it is a fairly common requirement, you can expect the basic tools are ...

Read more »