PHP code library

This is an extra subpage with various PHP codes, implemented as functions.

These functions were used to solve various problems in real web projects.
The solution for one problem may be implemented in many different ways (short, verbose, faster or nicer). We present own implementations, used in the past.


/**
 * Test
 */
public function helloTest($a, $b) {
    if ($a > $b) 
        echo 'Hello!';
    else 
        echo '!olleH';
}

Choose from currently available implementations:


This code library will be gradually supplemented. Probably we will create code library also for other languages (such as JavaScript, Python, Ruby).
Would you get more codes? Or maybe suggest further functions? Please use contact page: Contact