mirror of
https://github.com/php/php-src.git
synced 2024-12-12 19:33:31 +08:00
21abde5ca1
config.m4 php_sockets.h sockets.c sockets.php: - Added files needed for Unix-style sockets support in PHP.
11 lines
211 B
PHP
11 lines
211 B
PHP
<?
|
|
$module = 'sockets';
|
|
$function = 'confirm_' . $module . '_compiled';
|
|
if (extension_loaded($module)) {
|
|
$str = $function($module);
|
|
} else {
|
|
$str = "Module $module is not compiled in PHP";
|
|
}
|
|
echo "$str\n";
|
|
?>
|