Learn how to create extensions for various C/C++ libraries.
🔊 Knowing how to use and write PHP extensions is a critical PHP development skill that can save significant time and allow you to quickly add new features to your applications. In this video we will see how to create extensions for PHP using C/C++.
Example on Systems that use APT.
Create an example file with whatever name you want, example: terminalroot.cpp:
Create an example file .m4(Autotools): config.m4, example:
Test with a PHP file and call the function created in the example: script.php: