php_vm 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ext/php_vm/php_vm.c +1 -1
- data/ext/php_vm/php_vm_z2v.c +1 -1
- metadata +1 -1
data/ext/php_vm/php_vm.c
CHANGED
@@ -641,7 +641,7 @@ void Init_php_vm()
|
|
641
641
|
rb_define_singleton_method(rb_mPHPVM, "exec", rb_php_vm_exec, 1);
|
642
642
|
rb_define_singleton_method(rb_mPHPVM, "getClass", rb_php_vm_getClass, 1);
|
643
643
|
|
644
|
-
rb_define_const(rb_mPHPVM, "VERSION", rb_str_new2("1.1.
|
644
|
+
rb_define_const(rb_mPHPVM, "VERSION", rb_str_new2("1.1.1"));
|
645
645
|
|
646
646
|
// class PHPVM::PHPClass
|
647
647
|
rb_cPHPClass = rb_define_class_under(rb_mPHPVM, "PHPClass", rb_cObject);
|
data/ext/php_vm/php_vm_z2v.c
CHANGED
@@ -61,7 +61,7 @@ static VALUE zval_to_value_hash(HashTable* ht)
|
|
61
61
|
|
62
62
|
switch(zend_hash_get_current_key_ex(ht, &string_key, NULL, &num_index, 0, &pos)) {
|
63
63
|
case HASH_KEY_IS_STRING:
|
64
|
-
key =
|
64
|
+
key = rb_str_new2(string_key);
|
65
65
|
break;
|
66
66
|
case HASH_KEY_IS_LONG:
|
67
67
|
key = LONG2NUM(num_index);
|