- Added Function
intltz_get_iana_id
-- Get the IANA identifier from a given timezone - ADDED EXAMPLE FILE :
84_intltz_get_iana_id.php
- UPDATED EXAMPLE FILE :
84_grapheme_str_split.php
- Fixed Function
bcdivmod
for use in PHP < 7.2.0
-
The examples have been changed to adapt to the new structure of the package.
-
Removed some source code from all files to make it more accessible to use of the package.
// Run only Ascoos Cms
define( 'ALEXSOFT_RUN_CMS', true ); //REMOVED
and
// $cms_path is Ascoos Cms global variable
require_once($cms_path."/phpBCL/src/coreCompatibilities.php"); // REMOVED
They have been replaced with the internal variable $phpCBL of the package, which you do not need to call.
You should load only the file
autoload.php
file into your code.
$path = '[YOUR SITE PATH]';
include $path . '/phpBCL/autoload.php'; / // For general use
OR
include '../autoload.php'; // Used by phpBCL examples
- Updated README.md
- Added Function
bcdivmod
- ADDED EXAMPLE FILE :
84_bcdivmod.php
- ADDED EXAMPLE FILE :
84_array_find.php
- ADDED EXAMPLE FILE :
84_array_find_key.php
- ADDED EXAMPLE FILE :
84_array_all.php
- ADDED EXAMPLE FILE :
84_array_any.php
- ADDED EXAMPLE FILE :
84_grapheme_str_split.php
- Updated README.md
- Added Function
array_find
- Added Function
array_find_key
- Added Function
array_all
- Added Function
array_any
- Added Function
grapheme_str_split
- Updated README.md
- ADDED FILE :
LICENSE_AGL-F.md
-- Package LicenseAGL-F
(Ascoos General License - Free Use). - ADDED EXAMPLE FILE :
84__http_get_last_response_headers.php
- Added Function
http_get_last_response_headers
- Added Function
http_clear_last_response_headers
- UPDATED FUNCTIONS :
mb_trim
,mb_ltrim
,mbrtrim
- Added Function
stream_context_set_options
-- Sets options on the specified context.
- Added Function
openssl_cipher_key_length
-- Gets the cipher key length.
- Added Function
preg_last_error_msg
-- Returns the error message of the last PCRE regex execution. - Added Function
get_debug_type
-- Returns the resolved name of the PHP variable value. - Added Function
get_resource_id
-- Returns an integer identifier for the given resource - Added Function
fdiv
-- Divides two numbers, according to IEEE 754
- Added Function
openssl_get_curve_names
-- Gets the list of available curve names
- Added Function
intdiv
-- Integer division
- Added Function
alf_get_class()
-- For return getClass() without parameters on PHP >= 8.3.0
- ADDED FILE : compat_error.php
- Added Class Error
Error
- Added Class Error
TypeError
- Added Class Error
ValueError
- Added Function
ini_parse_quantity
- FIXED FUNCTION :
mysqli_execute_query
- Added phpBCL Function
alf_preg_quote
- FIXED FUNCTIONS :
mb_trim
,mb_ltrim
,mbrtrim
for use on PHP 5.6 - FIXED EXAMPLE :
84__mb_trim.php
- ADDED SCREENSHOTS
- FIXED EXAMPLE :
81__array_is_list.php
- FIXED EXAMPLE :
84_mb_ucfirst.php
- ADDED SCREENSHOTS
-
ADDED FILE:
/src/phpBCL.php
-
Added phpBCL Function
validate_encoding
-
Added Function
mb_ltrim
-
Added Function
mb_rtrim
-
Added Function
mb_trim
-
ADDED EXAMPLE:
/test/84__mb_trim.php
-
Updated Function
mb_ucfirst
-
Updated Function
mb_lcfirst
-
Updated Example
/test/84__mb_ucfirst.php
- Added file
src/compat/compat_php84x.php
- Added Function
mb_ucfirst
- Added Function
mb_lcfirst
- ADDED EXAMPLE:
/test/84__mb_ucfirst.php
- Added Function
mysqli_execute_query
- ADDED EXAMPLES: In folder /phpBCL/test/
- Fixed : Fixed paths for call phpBCL library.
- Added Constants:
MB_CASE_UPPER
,MB_CASE_LOWER
,MB_CASE_TITLE
- Added Function:
mb_convert_case
- Added Functions:
array_column
,boolval
,json_last_error_msg
- Added Constants:
MB_CASE_FOLD
,MB_CASE_UPPER_SIMPLE
,MB_CASE_LOWER_SIMPLE
,MB_CASE_TITLE_SIMPLE
,MB_CASE_FOLD_SIMPLE
. Used by ASCOOS LIBRARY FUNCTIONalf_mb_convert_case
(compat_similar.php) - Updated Functions:
array_key_first
,array_key_last
- Added
alf_mb_convert_case
For full compatible similar mb_convert_case.
- Added Function:
mb_str_split
- Updated Functions:
str_contains
,str_ends_with
,str_starts_with
- Updated Classes :
Stringable
,PhpToken
- Updated Function:
array_is_list
- Added Function:
mb_str_pad
- Added file compat_similar.php (for similar functions)
- Added Function:
is_iterable
- Added Functions:
array_key_first
,array_key_last
,is_countable
- Added Class
ValueError
(For php < 8.0.0)
- Creating Compatibilities