Skip to content


DBAL-435: [GH-264] Allow passing empty arrays as parameters #1631

doctrinebot opened this Issue · 1 comment

2 participants


Jira issue originally created by user @beberlei:

This issue is created automatically through a Github pull request on behalf of frosas:

Url: #264


Right now something like

    ->createQuery("SELECT e FROM Entity e WHERE e IN (:entities)")
    ->execute(array('entities' => array()));

produces a Warning: array_fill(): Number of elements must be positive


Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added the Bug label
@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.4 milestone
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.