Closed mingyuantech closed 6 years ago
// method: dataImplode -> 531 line $stack[] = !empty(array_diff_key($value, array_keys(array_keys($value)))) ? '(' . $this->dataImplode($value, $map, ' ' . $relationship) . ')' : '(' . $this->innerConjunct($value, $map, ' ' . $relationship, $conjunctor) . ')';
PHP Fatal error: Can't use function return value in write context in /development/resource/medoo.php on line 531
This syntax, at least PHP 5.5+.
// Suggest: !empty change count $stack[] = count(array_diff_key($value, array_keys(array_keys($value)))) ? '(' . $this->dataImplode($value, $map, ' ' . $relationship) . ')' : '(' . $this->innerConjunct($value, $map, ' ' . $relationship, $conjunctor) . ')';
We fixed for it a40ab7f8729.
This syntax, at least PHP 5.5+.