What is the difference between the mongodb extension and mongo extension in PHP? I am so depressed that a mongodb database has two extensions? What are the differences between the two? I changed the framework and reported an error. What is the difference between the mongodb extension and mongo extension in PHP?
I am so depressed that a mongodb database has two extensions?
What are the differences between the two?
I changed the framework and reported an error.
Reply: What is the difference between PHP mongo and mongodb extensions?
I am so depressed that a mongodb database has two extensions?
What are the differences between the two?
I changed the framework and reported an error.
You have also stepped on this challenge. the classes and interfaces provided by the two extensions are completely different, haha. For exampleMongoSome query operations return an arrayMongodbIn the form of cursor reading.
MongoThis extension is obsolete,BugAndSecurityThe problem will continue to be fixed,PHP7 is not supported
MongodbSupportedPHP7And keep joiningMongoDBSupport for new features
The MongoDB API in PHP7 is simply a shit...