What is PHP Extension?

Extensions or often also called PHP modules are program code in the form of subroutines that will be grafted into the body of PHP. Functions that we often use in PHP, for example fopen(), base64_encode(), or mysql_query() and so on are actually PHP extensions. . We can see the insides of each extension in the ext/ subdirectory of the PHP program code directory.

PHP consists of core applications (PHP core), and additional functions (extensions). In the core PHP applications, PHP does not provide functions that handle MySQL databases. The handling for this database function is separated into additional functions (extension). Apart from database, PHP's extension provides various other functions for more specialized purposes, such as image generation, cryptography, email handling, PDF creation, and others.</p >

Was this answer helpful?

Related Articles

What is Anonymous FTP

Anonymous FTP is FTP Sites that can be accessed without having to have a specific login. The...

What is Apache?

Understanding Apache Apache is a free and open source web server software. This server has...

What is bandwidth

Definition of Bandwidth Bandwidth is the capacity that can be used on an ethernet cable so that...

What is cloud hosting?

Cloud hosting is a hosting service that is integrated with the cloud and the internet. If you...

What is Cloudflare

Definition of Cloudflare Cloudflare is a CDN (Content Delivery Network) that has better features...