1 Star 1 Fork 0

rryqszq4 / php-yajl

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
yajl.php 496 Bytes
一键复制 编辑 原始数据 按行查看 历史
rryqszq4 提交于 2015-12-21 22:47 . [yajl] git commit yajl lib code
<?php
$br = (php_sapi_name() == "cli")? "":"<br>";
if(!extension_loaded('yajl')) {
dl('yajl.' . PHP_SHLIB_SUFFIX);
}
$module = 'yajl';
$functions = get_extension_funcs($module);
echo "Functions available in the test extension:$br\n";
foreach($functions as $func) {
echo $func."$br\n";
}
echo "$br\n";
$function = 'confirm_' . $module . '_compiled';
if (extension_loaded($module)) {
$str = $function($module);
} else {
$str = "Module $module is not compiled into PHP";
}
echo "$str\n";
?>
C
1
https://gitee.com/rryqszq4/php-yajl.git
git@gitee.com:rryqszq4/php-yajl.git
rryqszq4
php-yajl
php-yajl
master

搜索帮助