summaryrefslogtreecommitdiff
path: root/zend/eval.cpp
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-01-11 00:08:41 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-01-11 00:08:41 +0100
commit1efade1a7667e4e1a34265fb3cf310faf8c80bb6 (patch)
treebd311ac3de5500daae633fbfdb585faf737607ba /zend/eval.cpp
parent825049026dd2b2e906cdb46279faa39580d931d1 (diff)
refactored script class to have a seperate opcodes class, added file class that uses this same opcodes class
Diffstat (limited to 'zend/eval.cpp')
-rw-r--r--zend/eval.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zend/eval.cpp b/zend/eval.cpp
index 4632fff..32d807a 100644
--- a/zend/eval.cpp
+++ b/zend/eval.cpp
@@ -33,7 +33,7 @@ Value eval(const std::string &phpCode)
zval* retval = nullptr;
if (zend_eval_stringl_ex((char *)phpCode.c_str(), (int32_t)phpCode.length(), retval, (char *)"", 1 TSRMLS_CC) != SUCCESS)
{
- // Do we want to throw an exception here? The original author
+ // Do we want to throw an exception here? The original author of this code
// did, but there are some reasons not to:
//
// 1. the PHP eval() function also does not throw exceptions.