diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2015-01-25 19:52:06 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2015-01-25 19:52:06 +0100 |
commit | 110f379c083a9e061d2337efabb86f12ce0fa750 (patch) | |
tree | 3c5e541532607246feeecd8d9dea3f36f803071f /zend/value.cpp | |
parent | b42532f1f49d9f404b100fe1a441de0c131673ee (diff) |
added functions Php::constant() to retrieve the value of a constant, and Php::defined() to find out if a constant is defined
Diffstat (limited to 'zend/value.cpp')
-rw-r--r-- | zend/value.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/zend/value.cpp b/zend/value.cpp index 4a59d97..8c8cc9a 100644 --- a/zend/value.cpp +++ b/zend/value.cpp @@ -156,8 +156,7 @@ Value::Value(double value) * @param zval Value to wrap * @param ref Force this to be a reference */ -Value::Value(struct _zval_struct *val, bool ref) -: _val(val) +Value::Value(struct _zval_struct *val, bool ref) : _val(val) { // if the variable is not already a reference, and it has more than one // variable pointing to it, we should seperate it so that any changes |