summaryrefslogtreecommitdiff
path: root/scripts/ext_skel_ng/php_global.php
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ext_skel_ng/php_global.php')
-rw-r--r--scripts/ext_skel_ng/php_global.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/ext_skel_ng/php_global.php b/scripts/ext_skel_ng/php_global.php
index 83a0dea878..df74b2a073 100644
--- a/scripts/ext_skel_ng/php_global.php
+++ b/scripts/ext_skel_ng/php_global.php
@@ -33,7 +33,7 @@
static function c_code_header($name) {
- return "static void php_{name}_init_globals(zend_{name}_globals *{name}_globals)\n{\n";
+ return "static void php_{$name}_init_globals(zend_{$name}_globals *{$name}_globals)\n{\n";
}
function c_code($name) {
@@ -46,11 +46,11 @@
return $code;
}
- static function c_code_footer() {
+ static function c_code_footer($name) {
return "
}
-static void php_{name}_shutdown_globals(zend_{name}_globals *{name}_globals)
+static void php_{$name}_shutdown_globals(zend_{$name}_globals *{$name}_globals)
{
}";
}