summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-17 18:13:51 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-17 18:13:51 +0100
commitda370694802b426190e1f071f2d3c12ea24253c2 (patch)
treed0f4ce0c29bdeca10ee54667731ffca04e64921e /src
parent5d1ca1099a434fb2aba66ae02f93238853a8c3aa (diff)
fix compile issue on php > 5.3
Diffstat (limited to 'src')
-rw-r--r--src/argument.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/argument.cpp b/src/argument.cpp
index 268e2e9..9ab5b75 100644
--- a/src/argument.cpp
+++ b/src/argument.cpp
@@ -33,12 +33,12 @@ Argument::Argument(const char *name, Type type, bool required, bool byref)
#else
_info->array_type_hint = type == Type::Array;
_info->return_reference = false;
+ _info->required_num_args = 0; // @todo is this correct?
#endif
_info->class_name = NULL;
_info->class_name_len = 0;
_info->allow_null = false;
_info->pass_by_reference = byref;
- _info->required_num_args = 0; // @todo is this correct?
// store if required
_required = required;