Don't assume that log_file_permissions exists
Fix #3238

Close #3239
Fix a defined() check

Close #3233
Fix #3242
Fix examples in documentation
Merge pull request #3245 from vlakoff/documentation

Fix examples in documentation
fixed a typo in changelog

Signed-off-by: Amir Saboury <amir.saboury@gmail.com>
Merge pull request #3251 from amir-s/develop

fixed a typo in changelog
[ci skip] Remove references to 'PHP5' from comments
Revert #3194

This has caused way too many BC breaks (#3238, #3242, #3257).
Close #3257
Close #3194
Make sure we don't waste entropy
stream_set_chunk_size() requires PHP 5.4
fix doc block get_request_header()

This method does not return FALSE as said in doc block, the correct
return is STRING or NULL.
Merge pull request #3262 from adrianorsouza/pr-fix-doc-input-class

fix doc block get_request_header()
config_item() to return NULL instead of FALSE for non-existing items

Close #3001
Close #3232
Related: #3244
Optimize the composer_autoload check
E_DEPRECATED is not available in PHP 5.2
Update a config_item() use case for the new NULL return value
Attempt a better base_url auto-detection