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>
Script is killed with the proper exit code.
Added changelog entry.
Merge pull request #2686 from vlakoff/develop

Replace the last rand() with mt_rand()
Fix issue #2681 (alternative to PR #2690)
[ci skip] Fix a changelog entry
Eh ... preg_replace() needs a replacement
Fix #2691
Fix #2515 (manually merge PR #2516)
Manually apply PR #2656

Fixes an 'Array to string conversion' notice in form_dropdown()
Add 'filename' to the return elements for create_captcha() (PR #2602)
Add CI_Upload:: option
Fix CSS minifier
Fix issue #2695
Implement $protocol parameter in Config base_url() and site_url() methods

Let's keep the implementation logic in one place.
Improves 2023c3d05b042cf1322286d69557c2b8bf3bd8d5.
Remove redundant changelog entry
Merge pull request #2699 from vlakoff/url-functions

Implement $protocol parameter in Config base_url() and site_url() methods
Fix CI_DB_query_builder::_merge_cache() triggering E_WARNINGs

Kudos to kakysha for noting the bug & providing initial fix in PR #2698
An alternative to CI_Output::_minify_script_style() using more efficient regexp patterns
Fixing the dumbest parser error ever