Home
last modified time | relevance | path

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

12

/PHP-7.0/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() {
H A Dexception_010.phpt9 $x->__tostring(1);
/PHP-7.0/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.0/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.0/ext/standard/tests/array/
H A Dnatcasesort_object1.phpt26 function __tostring() {
H A Dnatcasesort_object2.phpt31 function __tostring() {
H A Darsort_object1.phpt40 function __tostring() {
H A Darsort_object2.phpt48 function __tostring() {
H A Drsort_object1.phpt37 function __tostring() {
H A Dsort_object1.phpt37 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() {
/PHP-7.0/Zend/
H A Dzend.h156 union _zend_function *__tostring; member
H A Dzend_inheritance.c123 if (EXPECTED(!ce->__tostring)) { in do_inherit_parent_constructor()
124 ce->__tostring = ce->parent->__tostring; in do_inherit_parent_constructor()
1093 ce->__tostring = fe; in zend_add_magic_methods()
H A Dzend_API.c2129 …_unset = NULL, *__isset = NULL, *__call = NULL, *__callstatic = NULL, *__tostring = NULL, *__debug… in zend_register_functions() local
2286 __tostring = reg_function; in zend_register_functions()
2335 scope->__tostring = __tostring; in zend_register_functions()
2374 if (__tostring) { in zend_register_functions()
2375 if (__tostring->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2376 …e, "Method %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(__tostring->common.function… in zend_register_functions()
2378 __tostring->common.fn_flags &= ~ZEND_ACC_ALLOW_STATIC; in zend_register_functions()
H A Dzend_object_handlers.c1588 if (ce->__tostring && in zend_std_cast_object_tostring()
1589 …(zend_call_method_with_0_params(readobj, ce, &ce->__tostring, "__tostring", &retval) || EG(excepti… in zend_std_cast_object_tostring()
/PHP-7.0/ext/opcache/
H A Dzend_persist.c891 if (ce->__tostring) { in zend_update_parent_ce()
892 ce->__tostring = zend_shared_alloc_get_xlat_entry(ce->__tostring); in zend_update_parent_ce()
H A Dzend_file_cache.c670 SERIALIZE_PTR(ce->__tostring); in zend_file_cache_serialize_class()
1227 UNSERIALIZE_PTR(ce->__tostring); in zend_file_cache_unserialize_class()
/PHP-7.0/ext/filter/
H A Dfilter.c390 if (!ce->__tostring) { in php_zval_filter()

Completed in 54 milliseconds

12