1. Host operating system and version: Ubuntu 18.04 LTS, Docker version 20.10.2, build 2291f61, Windows 20H2 (WSL2)
2. PHP version: 7.2.34
3. PHP CompatInfo version: 5.5.1 and 6.0.x-dev with DB version 3.4.2
4. What git commit hash are you on?:5. PHP extensions loaded? Uses either reference:list or db:list command depends on CompatInfo version:
Functions Analysis
Function REF EXT min/Max PHP min/Max
class_implements spl 5.1.0 5.1.0
defined core 4.0.0 4.0.0
C fdiv standard 8.0.0alpha1 8.0.0alpha1
function_exists core 4.0.0 4.0.0
get_class core 4.0.0 4.0.0
C get_debug_type standard 8.0.0alpha1 8.0.0alpha1
get_parent_class core 4.0.0 4.0.0
C get_resource_id core 8.0.0alpha1 8.0.0alpha1
get_resource_type core 4.0.2 4.0.2
is_array standard 4.0.0 4.0.0
is_bool standard 4.0.0 4.0.0
is_float standard 4.0.0 4.0.0
is_int standard 4.0.0 4.0.0
is_object standard 4.0.0 4.0.0
is_resource standard 4.0.0 4.0.0
is_string standard 4.0.0 4.0.0
key standard 4.0.0 4.0.0
preg_last_error pcre 5.2.0 5.2.0
C preg_last_error_msg user 7.0.0alpha1
sprintf standard 4.0.0 4.0.0
C str_contains standard 8.0.0alpha1 8.0.0alpha1
C str_ends_with standard 8.0.0alpha1 8.0.0alpha1
C str_starts_with standard 8.0.0alpha1 8.0.0alpha1
strlen core 4.0.0 4.0.0
strncmp core 4.0.0 4.0.0
strpos standard 4.0.0 4.0.0
substr_compare standard 5.0.0 5.0.0
Total [27] 8.0.0alpha1
and
Conditions Analysis
Condition REF EXT min/Max PHP min/Max
defined(FILTER_VALIDATE_BOOL) filter 8.0.0alpha1 8.0.0alpha1
function_exists(fdiv) standard 8.0.0alpha1 8.0.0alpha1
function_exists(get_debug_type) standard 8.0.0alpha1 8.0.0alpha1
function_exists(get_resource_id) standard 8.0.0alpha1 8.0.0alpha1
function_exists(preg_last_error_msg) standard 8.0.0alpha1 8.0.0alpha1
function_exists(str_contains) standard 8.0.0alpha1 8.0.0alpha1
function_exists(str_ends_with) standard 8.0.0alpha1 8.0.0alpha1
function_exists(str_starts_with) standard 8.0.0alpha1 8.0.0alpha1
Total [8] 8.0.0alpha1
Actual behaviour
Functions Analysis
Function REF EXT min/Max PHP min/Max
class_implements spl 5.1.0 5.1.0
defined core 4.0.0 4.0.0
C fdiv standard 8.0.0alpha1 8.0.0alpha1
function_exists core 4.0.0 4.0.0
get_class core 4.0.0 4.0.0
get_debug_type standard 8.0.0alpha1 8.0.0alpha1
get_parent_class core 4.0.0 4.0.0
get_resource_id core 8.0.0alpha1 8.0.0alpha1
get_resource_type core 4.0.2 4.0.2
is_array standard 4.0.0 4.0.0
is_bool standard 4.0.0 4.0.0
is_float standard 4.0.0 4.0.0
is_int standard 4.0.0 4.0.0
is_object standard 4.0.0 4.0.0
is_resource standard 4.0.0 4.0.0
is_string standard 4.0.0 4.0.0
key standard 4.0.0 4.0.0
preg_last_error pcre 5.2.0 5.2.0
preg_last_error_msg user 7.0.0alpha1
sprintf standard 4.0.0 4.0.0
str_contains standard 8.0.0alpha1 8.0.0alpha1
str_ends_with standard 8.0.0alpha1 8.0.0alpha1
str_starts_with standard 8.0.0alpha1 8.0.0alpha1
strlen core 4.0.0 4.0.0
strncmp core 4.0.0 4.0.0
strpos standard 4.0.0 4.0.0
substr_compare standard 5.0.0 5.0.0
Total [27] 8.0.0alpha1
and
Conditions Analysis
Condition REF EXT min/Max PHP min/Max
defined(FILTER_VALIDATE_BOOL) filter 8.0.0alpha1 8.0.0alpha1
function_exists(fdiv) standard 8.0.0alpha1 8.0.0alpha1
Total [2] 8.0.0alpha1
Bug report
OS
1. Host operating system and version: Ubuntu 18.04 LTS, Docker version 20.10.2, build 2291f61, Windows 20H2 (WSL2) 2. PHP version: 7.2.34 3. PHP CompatInfo version: 5.5.1 and 6.0.x-dev with DB version 3.4.2 4. What git commit hash are you on?: 5. PHP extensions loaded? Uses either
reference:list
ordb:list
command depends on CompatInfo version:Summary
When parsing a data source with multiple code conditions, only the first one is display in analyser report. i.e: when data source is https://github.com/symfony/polyfill/tree/main/src/Php80
Expected behaviour
and
Actual behaviour
and
Other information