Skip to content

Conversation

@digantaTheProgrammer
Copy link

Previously "magical" call version of the functions 'keys' , 'all' would break as the call :
keys( "key1" , "key2" , "key3" , false );
would result in $mask = ( "key1" , "key2" , "key3" , false ) whereas $fill_with_nulls = "key2" (ultimately translating to true) thus breaking the intended function call which is $mask = ( "key1" , "key2" , "key3" ) and $fill_with_nulls = false

Same is applicable for the function 'all'

Previously "magical" call version of the functions 'keys' , 'all' would break as the call : 
        keys( "key1" , "key2" , "key3" , false );
 would result in $mask = ( "key1" , "key2" , "key3" , false ) whereas $fill_with_nulls = "key2" (ultimately translating to true) thus breaking the intended function call which is $mask = ( "key1" , "key2" , "key3" ) and $fill_with_nulls = false

Same is applicable for the function 'all'
Dropping PHP 5.3 as suggested by others
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant