summaryrefslogtreecommitdiffstats
path: root/system/core/compat
AgeCommit message (Collapse)AuthorFilesLines
2015-01-09Bulk (mostly documentation) updateAndrey Andreev4-12/+12
- Remove PHP version from license notices - Bump year number in copyright notices - Recommend PHP 5.4 or newer to be used - Tell Travis-CI to test on PHP 5.3.0 instead of the latest 5.3 version Related: #3450
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev4-56/+100
2014-10-02stream_set_chunk_size() requires PHP 5.4Andrey Andreev1-1/+3
2014-09-30Make sure we don't waste entropyAndrey Andreev1-0/+1
2014-07-07Fix potential bugs in password_hash(), CI_EncryptionAndrey Andreev1-3/+6
strlen(), substr() are not byte-safe when mbstring.func_overload is enabled
2014-07-07Add a backport (compat) for quoted_printable_encode()Andrey Andreev1-2/+90
2014-07-07Fix a few typos and add a backport (compat) for hex2bin()Andrey Andreev1-2/+49
2014-06-21Fix a _potential_ flaw in password_hash()Andrey Andreev1-1/+4
2014-05-09Add hash_equals() to ext/hash compat layerAndrey Andreev1-0/+46
Introduced in PHP 5.6 Beta 1 (unfortunately, still undocumented). RFC: https://wiki.php.net/rfc/timing_attack (Yes, I am aware that the RFC talks about hash_compare(), the function was later renamed in the implementation.)
2014-04-29Small fixes (PR #3022)Andrey Andreev2-3/+3
- Fix incorrect variable in mb_strlen() compat - Micro-optimization of array_replace(), array_replace_recursive() compat
2014-02-19Add compatibility layer for array_column(), array_replace(), ↵Andrey Andreev1-0/+246
array_replace_recursive()
2014-02-18Don't load password hashing compat for HHVMAndrey Andreev1-1/+1
2014-02-18Add an ext/hash compatibility layer (just hash_pbkdf2(), for now)Andrey Andreev1-0/+144
2014-02-13[ci skip] Add index.html to system/core/compat/Andrey Andreev1-0/+10
2014-02-13Introducing compatibility layersAndrey Andreev2-0/+357
- Limited support for mbstring (mb_strlen(), mb_strpos(), mb_substr() only) via iconv. Falls back to regular strlen(), strpos(), substr() if iconv is not available. - Password hashing, dependant on CRYPT_BLOWFISH (2y version, available since PHP 5.3.7) availability.