diff options
author | Dmitry Stogov <dmitry@zend.com> | 2015-06-30 04:05:24 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2015-06-30 04:05:24 +0300 |
commit | 4a2e40bb861bc3cf5fb6863e57486ed60316e97c (patch) | |
tree | 6579660b282fdd1bc50095e48d702913a0b6aa97 /ext/standard/incomplete_class.c | |
parent | 8cce5b2641fb91c3073018b59f6f044b843041a8 (diff) | |
download | php-git-4a2e40bb861bc3cf5fb6863e57486ed60316e97c.tar.gz |
Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).
Diffstat (limited to 'ext/standard/incomplete_class.c')
-rw-r--r-- | ext/standard/incomplete_class.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/incomplete_class.c b/ext/standard/incomplete_class.c index 149b4ad337..bc2d232ce1 100644 --- a/ext/standard/incomplete_class.c +++ b/ext/standard/incomplete_class.c @@ -41,7 +41,7 @@ static void incomplete_class_message(zval *object, int error_type) class_name = php_lookup_class_name(object); if (class_name) { - php_error_docref(NULL, error_type, INCOMPLETE_CLASS_MSG, class_name->val); + php_error_docref(NULL, error_type, INCOMPLETE_CLASS_MSG, ZSTR_VAL(class_name)); zend_string_release(class_name); } else { php_error_docref(NULL, error_type, INCOMPLETE_CLASS_MSG, "unknown"); |