summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-04-07 09:08:19 +0200
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-04-07 09:08:19 +0200
commite2b543132bdf6cf7c335801139c19cc17dca0c34 (patch)
treeb366ee84d90c16d7830987ebac431f5b3ce916ac
parentbfab72e50fe8b94bd3a7dbcf63114002008575ea (diff)
{auto} compile error on php 5.3
-rw-r--r--zend/callable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zend/callable.h b/zend/callable.h
index 65ce719..9805174 100644
--- a/zend/callable.h
+++ b/zend/callable.h
@@ -169,7 +169,7 @@ protected:
#else
// php 5.3 code
- info->array_type_hint = type == Type::Array;
+ info->array_type_hint = arg.type() == Type::Array;
info->return_reference = false;
info->required_num_args = 0; // @todo is this correct?