Home > Backend Development > PHP Tutorial > What is the difference between PHP's mongo and mongodb extensions?

What is the difference between PHP's mongo and mongodb extensions?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2023-03-01 21:44:01
Original
1545 people have browsed it

What is the difference between PHP’s mongo and mongodb extensions?


I am so depressed. A broken mongodb database has 2 extensions?
What is the difference between these two?
I changed the framework and got an error.

Reply content:

What is the difference between PHP’s mongo and mongodb extensions?


I am depressed. A broken mongodb database has 2 extensions?
What is the difference between these two?
I changed the framework and got an error.

Tips, you have also fallen into this trap. The classes and interfaces provided by the two extensions are completely different, haha. For example: some query operations that originally returned an array using mongo were changed to the form of cursor reading in mongodb.

  1. mongo This extension has been abandoned, but bug and security issues will continue to be fixed, does not support PHP7

  2. mongodb supports PHP7, and is constantly adding MongoDB new version feature support

PHP7’s MongoDB API is bullshit...

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
mongodb start
From 1970-01-01 08:00:00
0
0
0
linux - ubuntu14 error installing mongodb
From 1970-01-01 08:00:00
0
0
0
Use of symfony2 mongodb
From 1970-01-01 08:00:00
0
0
0
mongodb _id rename
From 1970-01-01 08:00:00
0
0
0
Parameter understanding of mongodb
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template