From 342d57ee250e976c51b970584e6286ad489e6594 Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Mon, 17 Mar 2014 18:52:31 +0100 Subject: in php 5.3 environments, not all code was correctly initialized which resulted in access to uninitialized data --- include/argument.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include') diff --git a/include/argument.h b/include/argument.h index c75abc1..68ac7df 100644 --- a/include/argument.h +++ b/include/argument.h @@ -71,6 +71,16 @@ public: * @internal */ void fill(struct _zend_arg_info *info) const; + + /** + * Is this a required argument? + * @return bool + * @internal + */ + bool required() const + { + return _required; + } private: /** -- cgit v1.2.3