Home > Article > Backend Development > How to reference functions of other extensions in PHP extension development
php has many extensions, such as pdo extension, which encapsulates some operations on relational libraries. And PHP can also develop its own extensions.
So, how do you use the functions of other extensions in the extensions you develop?
For example, if you develop a dll extension yourself, some functions of the pdo extension will be used in the function. The question is how to reference the pdo functions?
php has many extensions, such as pdo extension, which encapsulates some operations on relational libraries. And PHP can also develop its own extensions.
So, how do you use the functions of other extensions in the extensions you develop?
For example, if you develop a dll extension yourself, some functions of the pdo extension will be used in the function. The question is how to reference the pdo functions?
I think this is unrealistic. You also know that each extension is independent of other extensions. Each extension does not affect each other. The extension only provides an interface for the php
layer to call. You Extension methods can only be called at the php
level. It is unwise to call other extension methods in the extension,