diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-17 18:52:31 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-17 18:52:31 +0100 |
commit | 342d57ee250e976c51b970584e6286ad489e6594 (patch) | |
tree | a3a3296acc0296ecd65e78b27822f9df78dd22b2 /include | |
parent | da370694802b426190e1f071f2d3c12ea24253c2 (diff) |
in php 5.3 environments, not all code was correctly initialized which resulted in access to uninitialized data
Diffstat (limited to 'include')
-rw-r--r-- | include/argument.h | 10 |
1 files changed, 10 insertions, 0 deletions
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: /** |