PHP 5.4 compatibility.
authorDerick Rethans <github@derickrethans.nl>
Sat, 1 Oct 2011 15:18:30 +0000 (16:18 +0100)
committerDerick Rethans <github@derickrethans.nl>
Sat, 1 Oct 2011 15:18:30 +0000 (16:18 +0100)
twig.c

diff --git a/twig.c b/twig.c
index 2cd88b3..e00c609 100644 (file)
--- a/twig.c
+++ b/twig.c
@@ -234,7 +234,7 @@ zval *TWIG_CALL_USER_FUNC_ARRAY(zval *object, char *function, zval *arguments)
        fci.function_table = EG(function_table);
        fci.function_name = zfunction;
        fci.symbol_table = NULL;
-#if PHP_VERSIONID >= 50300
+#if PHP_VERSION_ID >= 50300
        fci.object_ptr = object;
 #else
        fci.object_pp = &object;
@@ -406,7 +406,7 @@ zval *TWIG_CALL_S(zval *object, char *method, char *arg0)
        fci.function_table = EG(function_table);
        fci.function_name = zfunction;
        fci.symbol_table = NULL;
-#if PHP_VERSIONID >= 50300
+#if PHP_VERSION_ID >= 50300
        fci.object_ptr = object;
 #else
        fci.object_pp = &object;
@@ -458,7 +458,7 @@ int TWIG_CALL_Z(zval *object, char *method, zval *arg1)
        fci.function_table = EG(function_table);
        fci.function_name = zfunction;
        fci.symbol_table = NULL;
-#if PHP_VERSIONID >= 50300
+#if PHP_VERSION_ID >= 50300
        fci.object_ptr = object;
 #else
        fci.object_pp = &object;
@@ -505,7 +505,7 @@ int TWIG_CALL_ZZ(zval *object, char *method, zval *arg1, zval *arg2)
        fci.function_table = EG(function_table);
        fci.function_name = zfunction;
        fci.symbol_table = NULL;
-#if PHP_VERSIONID >= 50300
+#if PHP_VERSION_ID >= 50300
        fci.object_ptr = object;
 #else
        fci.object_pp = &object;