Home
last modified time | relevance | path

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

12

/PHP-7.4/Zend/tests/
H A Dmagic_methods_010.phpt15 Fatal error: Method a::__tostring() cannot take arguments in %s on line %d
H A Dmagic_methods_001.phpt23 public function __tostring() {
/PHP-7.4/ext/standard/tests/array/
H A Dbug70713.phpt8 function __tostring()
H A Dnatcasesort_object1.phpt26 function __tostring() {
H A Dnatcasesort_object2.phpt31 function __tostring() {
H A Drsort_object1.phpt37 function __tostring() {
H A Dsort_object1.phpt37 function __tostring() {
H A Darsort_object1.phpt40 function __tostring() {
H A Dasort_object1.phpt40 function __tostring() {
H A Dkrsort_object.phpt37 function __tostring() {
H A Dksort_object.phpt38 function __tostring() {
H A Drsort_object2.phpt46 function __tostring() {
H A Dasort_object2.phpt48 function __tostring() {
H A Dsort_object2.phpt46 function __tostring() {
H A Darsort_object2.phpt48 function __tostring() {
/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/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/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_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/opcache/
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()
H A Dzend_file_cache.c789 SERIALIZE_PTR(ce->__tostring);
1476 UNSERIALIZE_PTR(ce->__tostring);
/PHP-7.4/ext/filter/
H A Dfilter.c393 if (!ce->__tostring) { in php_zval_filter()

Completed in 83 milliseconds

12