We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 378776d commit e23f62fCopy full SHA for e23f62f
ext/skeleton/skeleton.php
@@ -1,14 +1,16 @@
1
-<?
+<?php
2
+$br = (php_sapi_name() == "cli")? "":"<br>";
3
+
4
if(!extension_loaded('extname')) {
5
dl('extname.' . PHP_SHLIB_SUFFIX);
6
}
7
$module = 'extname';
8
$functions = get_extension_funcs($module);
-echo "Functions available in the test extension:<br>\n";
9
+echo "Functions available in the test extension:$br\n";
10
foreach($functions as $func) {
- echo $func."<br>\n";
11
+ echo $func."$br\n";
12
-echo "<br>\n";
13
+echo "$br\n";
14
$function = 'confirm_' . $module . '_compiled';
15
if (extension_loaded($module)) {
16
$str = $function($module);
0 commit comments