refs decr/php_ci_book#43