We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following variables are the problem:
$lexicons = array_merge($lexicon_source, $lexicon_target); $lexicons_count = count($lexicons);
It may be because $lexicon_source and $lexicon_target are not treated as arrays when empty, breaking array_merge
$lexicon_source
$lexicon_target
array_merge
Is there a better way to write this to account for the possibility of an empty variable?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following variables are the problem:
It may be because
$lexicon_source
and$lexicon_target
are not treated as arrays when empty, breakingarray_merge
Is there a better way to write this to account for the possibility of an empty variable?
The text was updated successfully, but these errors were encountered: