diff options
| author | Zeev Suraski <zeev@php.net> | 1999-06-04 11:44:02 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 1999-06-04 11:44:02 +0000 |
| commit | 9108abc28722d7e9c779b37520c280f967059979 (patch) | |
| tree | f39ff947e1e4638d8760b304225f8b1f8b377330 /Zend/zend_operators.c | |
| parent | 3cad348509b66828f421d1b843a025b555519a83 (diff) | |
| download | php-git-9108abc28722d7e9c779b37520c280f967059979.tar.gz | |
Minor updates (mostly __declspec() stuff)
Diffstat (limited to 'Zend/zend_operators.c')
| -rw-r--r-- | Zend/zend_operators.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index 8b83162d4d..364848bf08 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -380,7 +380,7 @@ static void convert_scalar_to_array(zval *op, int type) op->value.obj.properties = (HashTable *) emalloc(sizeof(HashTable)); zend_hash_init(op->value.obj.properties, 0, NULL, PVAL_PTR_DTOR, 0); zend_hash_update(op->value.obj.properties, "scalar", sizeof("scalar"), (void *) &entry, sizeof(zval *), NULL); - op->value.obj.ce = &standard_class; + op->value.obj.ce = &zend_standard_class_def; op->type = IS_OBJECT; break; } @@ -411,7 +411,7 @@ ZEND_API void convert_to_object(zval *op) case IS_ARRAY: op->type = IS_OBJECT; op->value.obj.properties = op->value.ht; - op->value.obj.ce = &standard_class; + op->value.obj.ce = &zend_standard_class_def; return; break; case IS_OBJECT: |
