From e23f62fc4fe9c3ccd68d89f1036eb4815573df48 Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Thu, 14 Apr 2005 16:05:05 +0000 Subject: [PATCH] - don't use short tag - detect CLI binary and don't print < ;br < in this case --- ext/skeleton/skeleton.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ext/skeleton/skeleton.php b/ext/skeleton/skeleton.php index 12e1e64bb40..91db9d54088 100644 --- a/ext/skeleton/skeleton.php +++ b/ext/skeleton/skeleton.php @@ -1,14 +1,16 @@ -"; + if(!extension_loaded('extname')) { dl('extname.' . PHP_SHLIB_SUFFIX); } $module = 'extname'; $functions = get_extension_funcs($module); -echo "Functions available in the test extension:
\n"; +echo "Functions available in the test extension:$br\n"; foreach($functions as $func) { - echo $func."
\n"; + echo $func."$br\n"; } -echo "
\n"; +echo "$br\n"; $function = 'confirm_' . $module . '_compiled'; if (extension_loaded($module)) { $str = $function($module);