refs decr/php_ci_book#15