@@ -294,7 +294,7 @@ static zend_function_entry bdict_methods[] = {
294294 PHP_ME (bdict, search, arginfo_void, ZEND_ACC_PUBLIC)
295295 PHP_ME (bdict, to_array, arginfo_void, ZEND_ACC_PUBLIC)
296296 PHP_ME (bdict, to_meta_array, arginfo_void, ZEND_ACC_PUBLIC)
297- PHP_ME (bdict, __toString, arginfo_void, ZEND_ACC_PUBLIC)
297+ PHP_ME (bdict, __toString, arginfo_void, ZEND_ACC_PUBLIC | ZEND_ACC_HAS_RETURN_TYPE )
298298 {NULL , NULL , NULL }
299299 /* clang-format on */
300300};
@@ -519,7 +519,7 @@ static zend_function_entry blist_methods[] = {
519519 PHP_ME (blist, search, arginfo_void, ZEND_ACC_PUBLIC)
520520 PHP_ME (blist, to_array, arginfo_void, ZEND_ACC_PUBLIC)
521521 PHP_ME (blist, to_meta_array, arginfo_void, ZEND_ACC_PUBLIC)
522- PHP_ME (blist, __toString, arginfo_void, ZEND_ACC_PUBLIC)
522+ PHP_ME (blist, __toString, arginfo_void, ZEND_ACC_PUBLIC | ZEND_ACC_HAS_RETURN_TYPE )
523523 {NULL , NULL , NULL }
524524 /* clang-format on */
525525};
@@ -625,7 +625,7 @@ static zend_function_entry bstr_methods[] = {
625625 PHP_ME (bitem, save, arginfo_void, ZEND_ACC_PUBLIC)
626626 PHP_ME (bstr, to_array, arginfo_void, ZEND_ACC_PUBLIC)
627627 PHP_ME (bstr, to_meta_array, arginfo_void, ZEND_ACC_PUBLIC)
628- PHP_ME (bstr, __toString, arginfo_void, ZEND_ACC_PUBLIC)
628+ PHP_ME (bstr, __toString, arginfo_void, ZEND_ACC_PUBLIC | ZEND_ACC_HAS_RETURN_TYPE )
629629 {NULL , NULL , NULL }
630630 /* clang-format on */
631631};
@@ -727,7 +727,7 @@ static zend_function_entry bint_methods[] = {
727727 PHP_ME (bitem, save, arginfo_void, ZEND_ACC_PUBLIC)
728728 PHP_ME (bint, to_array, arginfo_void, ZEND_ACC_PUBLIC)
729729 PHP_ME (bint, to_meta_array, arginfo_void, ZEND_ACC_PUBLIC)
730- PHP_ME (bint, __toString, arginfo_void, ZEND_ACC_PUBLIC)
730+ PHP_ME (bint, __toString, arginfo_void, ZEND_ACC_PUBLIC | ZEND_ACC_HAS_RETURN_TYPE )
731731 {NULL , NULL , NULL }
732732 /* clang-format on */
733733};
0 commit comments