Skip to content

Commit cd977ae

Browse files
authored
[skip-ci] Removed wrapping comments (#16894)
1 parent c84b7ed commit cd977ae

File tree

2 files changed

+0
-29
lines changed

2 files changed

+0
-29
lines changed

ext/ext_skel.php

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,11 @@
1818

1919
/* $Id$ */
2020

21-
/* {{{ error */
2221
function error($message) {
2322
printf('Error: %s%s', $message, PHP_EOL);
2423
exit;
2524
}
26-
/* }}} */
2725

28-
/* {{{ print_help */
2926
function print_help() {
3027
if (PHP_OS_FAMILY != 'Windows') {
3128
$file_prefix = './';
@@ -114,19 +111,15 @@ functions strictly needed by others. Exposed internal function must be named
114111
HELP;
115112
exit;
116113
}
117-
/* }}} */
118114

119-
/* {{{ task */
120115
function task($label, $callback) {
121116
printf('%s... ', $label);
122117

123118
$callback();
124119

125120
printf('done%s', PHP_EOL);
126121
}
127-
/* }}} */
128122

129-
/* {{{ print_success */
130123
function print_success() {
131124
global $options;
132125

@@ -148,9 +141,7 @@ function print_success() {
148141
printf('%smake test%2$s%2$s', $make_prefix, PHP_EOL);
149142
printf('Thank you for using PHP!%s', PHP_EOL);
150143
}
151-
/* }}} */
152144

153-
/* {{{ process_args */
154145
function process_args($argv, $argc) {
155146
$options = [
156147
'unix' => true,
@@ -230,9 +221,7 @@ function process_args($argv, $argc) {
230221

231222
return $options;
232223
}
233-
/* }}} */
234224

235-
/* {{{ process_source_tags */
236225
function process_source_tags($file, $short_name) {
237226
global $options;
238227

@@ -286,9 +275,7 @@ function process_source_tags($file, $short_name) {
286275
error('Unable to save contents to file: ' . $short_name);
287276
}
288277
}
289-
/* }}} */
290278

291-
/* {{{ copy_config_scripts */
292279
function copy_config_scripts() {
293280
global $options;
294281

@@ -314,9 +301,7 @@ function copy_config_scripts() {
314301
process_source_tags($new_config_script, $config_script);
315302
}
316303
}
317-
/* }}} */
318304

319-
/* {{{ copy_sources */
320305
function copy_sources() {
321306
global $options;
322307

@@ -335,9 +320,7 @@ function copy_sources() {
335320
process_source_tags($options['dir'] . $options['ext'] . DIRECTORY_SEPARATOR . $dst_file, $dst_file);
336321
}
337322
}
338-
/* }}} */
339323

340-
/* {{{ copy_tests */
341324
function copy_tests() {
342325
global $options;
343326

@@ -361,8 +344,6 @@ function copy_tests() {
361344
process_source_tags($options['dir'] . $options['ext'] . DIRECTORY_SEPARATOR . $new_test, $new_test);
362345
}
363346
}
364-
/* }}} */
365-
366347

367348
if (PHP_SAPI != 'cli') {
368349
error('This script is only suited for CLI');

ext/skeleton/skeleton.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,13 @@
1616
ZEND_PARSE_PARAMETERS_END()
1717
#endif
1818

19-
/* {{{ void test1() */
2019
PHP_FUNCTION(test1)
2120
{
2221
ZEND_PARSE_PARAMETERS_NONE();
2322

2423
php_printf("The extension %s is loaded and working!\r\n", "%EXTNAME%");
2524
}
26-
/* }}} */
2725

28-
/* {{{ string test2( [ string $var ] ) */
2926
PHP_FUNCTION(test2)
3027
{
3128
char *var = "World";
@@ -41,9 +38,7 @@ PHP_FUNCTION(test2)
4138

4239
RETURN_STR(retval);
4340
}
44-
/* }}}*/
4541

46-
/* {{{ PHP_RINIT_FUNCTION */
4742
PHP_RINIT_FUNCTION(%EXTNAME%)
4843
{
4944
#if defined(ZTS) && defined(COMPILE_DL_%EXTNAMECAPS%)
@@ -52,18 +47,14 @@ PHP_RINIT_FUNCTION(%EXTNAME%)
5247

5348
return SUCCESS;
5449
}
55-
/* }}} */
5650

57-
/* {{{ PHP_MINFO_FUNCTION */
5851
PHP_MINFO_FUNCTION(%EXTNAME%)
5952
{
6053
php_info_print_table_start();
6154
php_info_print_table_row(2, "%EXTNAME% support", "enabled");
6255
php_info_print_table_end();
6356
}
64-
/* }}} */
6557

66-
/* {{{ %EXTNAME%_module_entry */
6758
zend_module_entry %EXTNAME%_module_entry = {
6859
STANDARD_MODULE_HEADER,
6960
"%EXTNAME%", /* Extension name */
@@ -76,7 +67,6 @@ zend_module_entry %EXTNAME%_module_entry = {
7667
PHP_%EXTNAMECAPS%_VERSION, /* Version */
7768
STANDARD_MODULE_PROPERTIES
7869
};
79-
/* }}} */
8070

8171
#ifdef COMPILE_DL_%EXTNAMECAPS%
8272
# ifdef ZTS

0 commit comments

Comments
 (0)