Skip to content

Commit 25d56a5

Browse files
committed
Merge branch 'PHP-7.3'
2 parents 2fab330 + 91e44a2 commit 25d56a5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ext/skeleton/skeleton.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88
#include "ext/standard/info.h"
99
#include "php_%EXTNAME%.h"
1010

11+
/* For compatibility with older PHP versions */
12+
#ifndef ZEND_PARSE_PARAMETERS_NONE
13+
#define ZEND_PARSE_PARAMETERS_NONE() \
14+
ZEND_PARSE_PARAMETERS_START(0, 0) \
15+
ZEND_PARSE_PARAMETERS_END()
16+
#endif
17+
1118
/* {{{ void %EXTNAME%_test1()
1219
*/
1320
PHP_FUNCTION(%EXTNAME%_test1)

0 commit comments

Comments
 (0)