Home
last modified time | relevance | path

Searched refs:__tostring (Results 1 – 25 of 31) sorted by path

12

/PHP-7.4/Zend/tests/
H A Dmagic_methods_001.phpt23 public function __tostring() {
H A Dmagic_methods_010.phpt15 Fatal error: Method a::__tostring() cannot take arguments in %s on line %d
/PHP-7.4/Zend/
H A Dzend.h141 zend_function *__tostring; member
H A Dzend_API.c2148 …_unset = NULL, *__isset = NULL, *__call = NULL, *__callstatic = NULL, *__tostring = NULL, *__debug… in zend_register_functions() local
2343 __tostring = reg_function; in zend_register_functions()
2392 scope->__tostring = __tostring; in zend_register_functions()
2432 if (__tostring) { in zend_register_functions()
2433 if (__tostring->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2434 …e, "Method %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(__tostring->common.function… in zend_register_functions()
2436 __tostring->common.fn_flags &= ~ZEND_ACC_ALLOW_STATIC; in zend_register_functions()
H A Dzend_API.h207 class_container.__tostring = NULL; \
H A Dzend_compile.c1681 ce->__tostring = NULL; in zend_initialize_class_data()
5886 ce->__tostring = (zend_function *) op_array; in zend_begin_method_decl()
H A Dzend_exceptions.c1007 zend_call_method_with_0_params(&exception, ce_exception, &ex->ce->__tostring, "__tostring", &tmp); in zend_exception_error()
H A Dzend_inheritance.c154 if (EXPECTED(!ce->__tostring)) { in do_inherit_parent_constructor()
155 ce->__tostring = parent->__tostring; in do_inherit_parent_constructor()
1538 ce->__tostring = fe; in zend_add_magic_methods()
H A Dzend_object_handlers.c1813 if (ce->__tostring) { in zend_std_cast_object_tostring()
1816 zend_call_method_with_0_params(readobj, ce, &ce->__tostring, "__tostring", &retval); in zend_std_cast_object_tostring()
/PHP-7.4/ext/filter/
H A Dfilter.c393 if (!ce->__tostring) { in php_zval_filter()
/PHP-7.4/ext/intl/tests/
H A Dbreakiter_setText_basic.phpt12 function __tostring() { return 'aaa'; }
H A Dbreakiter_setText_error.phpt18 function __tostring() { return 'foo'; }
/PHP-7.4/ext/opcache/
H A Dzend_accelerator_util_funcs.c359 zend_update_inherited_handler(__tostring); in zend_class_copy_ctor()
H A Dzend_file_cache.c789 SERIALIZE_PTR(ce->__tostring);
1476 UNSERIALIZE_PTR(ce->__tostring);
H A Dzend_persist.c1009 if (ce->__tostring) { in zend_update_parent_ce()
1010 zend_function *tmp = zend_shared_alloc_get_xlat_entry(ce->__tostring); in zend_update_parent_ce()
1012 ce->__tostring = tmp; in zend_update_parent_ce()
/PHP-7.4/ext/reflection/tests/
H A DReflectionMethod_getModifiers_basic.phpt49 public function __tostring() {}
137 Modifiers for method TestClass::__tostring():
205 Modifiers for method TestClass::__tostring():
/PHP-7.4/ext/spl/
H A Dspl_directory.c1865 if (Z_OBJCE_P(readobj)->__tostring) { in spl_filesystem_object_cast()
/PHP-7.4/ext/standard/tests/array/
H A Darsort_object1.phpt40 function __tostring() {
H A Darsort_object2.phpt48 function __tostring() {
H A Dasort_object1.phpt40 function __tostring() {
H A Dasort_object2.phpt48 function __tostring() {
H A Dbug70713.phpt8 function __tostring()
H A Dkrsort_object.phpt37 function __tostring() {
H A Dksort_object.phpt38 function __tostring() {
H A Dnatcasesort_object1.phpt26 function __tostring() {

Completed in 209 milliseconds

12