diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-04-14 09:21:35 +0200 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-04-14 09:21:35 +0200 |
commit | 6b5506dfe7b0f5ac9ce923c1d9cdd2ebc4c72a7c (patch) | |
tree | 4b8e29c6cdb8347569a89e2758edb6518ff6f962 /zend | |
parent | 792497f731c5c3a93a442bd487bd7ae4e0ffb2bf (diff) |
added Php::IniValue constructor to the Php::Value class, so that "return Php::ini_get("extension.x");" can be implemented
Diffstat (limited to 'zend')
-rw-r--r-- | zend/value.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/zend/value.cpp b/zend/value.cpp index dd371b9..9040234 100644 --- a/zend/value.cpp +++ b/zend/value.cpp @@ -205,6 +205,14 @@ Value::Value(const Base *object) } /** + * Wrap around a php.ini value + * @param value + */ +Value::Value(const IniValue &value) : Value((const char *)value) +{ +} + +/** * Copy constructor * @param value */ |