The date_range() function is a bit broken
Neither $unix_time nor $start_date were defined here

Signed-off-by: Rasmus Lerdorf <rasmus@php.net>
It looks like this should be $alter_type here

Signed-off-by: Rasmus Lerdorf <rasmus@php.net>
$element not $focus there
and you can't have required params after an optional one

Signed-off-by: Rasmus Lerdorf <rasmus@php.net>
Required arg in between optional ones

Signed-off-by: Rasmus Lerdorf <rasmus@php.net>
Required args after optional ones

Signed-off-by: Rasmus Lerdorf <rasmus@php.net>
values_parsing() only takes 1 arg

Signed-off-by: Rasmus Lerdorf <rasmus@php.net>
highlight_code() doesn't take an ENT_QUOTES arg

Signed-off-by: Rasmus Lerdorf <rasmus@php.net>
The script is halted and a '500 Internal Server Error' is issued when a fatal error occurs.

Signed-off-by: Jesse van Assen <jesse.v.assen@gmail.com>
Cherry-picking some changes from PR #2425:

- Session events logging (debug)
- Bug fix for OCI8 method stored_procedure()
Merge pull request #2447 from rlerdorf/develop

A few minor fixes and cleanups
[ci skip] Remove some empty lines
Fix #2490 (an improved version of PR #2534)
Add an optional  parameter to URL helpers base_url() and site_url() (supersedes #2535)
Add that parameter for real :)
Micro-optimization on base_url() & site_url()
Add color customization to the CAPTCHA helper

Ref: Issue #867 & PRs #1405, #2485
[ci skip] Remove a description for a non-existing shadow color in the CAPTCHA helper docs
Fix a Memcache(d) default configuration bug (based on #249)
More verbose error messages for incorrect/missing database groups (based on PR #2040)
Fix config_item() returning stale values

Use case fixed:

    config_item('foobar'); // returns "some value"
    $CI->config->set_item('foobar', 'new value');
    config_item('foobar'); // still returns "some value", expected "new value"