diff options
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/skeleton/skeleton.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ext/skeleton/skeleton.php b/ext/skeleton/skeleton.php index 12e1e64bb4..91db9d5408 100644 --- a/ext/skeleton/skeleton.php +++ b/ext/skeleton/skeleton.php @@ -1,14 +1,16 @@ -<? +<?php +$br = (php_sapi_name() == "cli")? "":"<br>"; + if(!extension_loaded('extname')) { dl('extname.' . PHP_SHLIB_SUFFIX); } $module = 'extname'; $functions = get_extension_funcs($module); -echo "Functions available in the test extension:<br>\n"; +echo "Functions available in the test extension:$br\n"; foreach($functions as $func) { - echo $func."<br>\n"; + echo $func."$br\n"; } -echo "<br>\n"; +echo "$br\n"; $function = 'confirm_' . $module . '_compiled'; if (extension_loaded($module)) { $str = $function($module); |
