Created
March 21, 2017 10:01
-
-
Save webdevilopers/4769cb8c56f6fdec5dc92e7ea25869c4 to your computer and use it in GitHub Desktop.
Cannot pass parameter 1 by reference with MongoCollection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#$collection->insert(['id' => 1]); // Cannot pass parameter 1 by reference | |
$a = ['id' => 1]; | |
$collection->insert($a); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Came from: https://twitter.com/webdevilopers/status/844127169953615873