Home
last modified time | relevance | path

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

/PHP-5.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() {
H A Dexception_010.phpt9 $x->__tostring(1);
/PHP-5.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-5.4/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-5.4/Zend/
H A Dzend_API.c1972 …= NULL, *__unset = NULL, *__isset = NULL, *__call = NULL, *__callstatic = NULL, *__tostring = NULL; in zend_register_functions() local
2106 __tostring = reg_function; in zend_register_functions()
2148 scope->__tostring = __tostring; in zend_register_functions()
2186 if (__tostring) { in zend_register_functions()
2187 if (__tostring->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2188 …zend_error(error_type, "Method %s::%s() cannot be static", scope->name, __tostring->common.functio… in zend_register_functions()
2190 __tostring->common.fn_flags &= ~ZEND_ACC_ALLOW_STATIC; in zend_register_functions()
H A Dzend.h492 union _zend_function *__tostring; member
H A Dzend_object_handlers.c1529 if (ce->__tostring && in zend_std_cast_object_tostring()
1530 …(zend_call_method_with_0_params(&readobj, ce, &ce->__tostring, "__tostring", &retval) || EG(except… in zend_std_cast_object_tostring()
H A Dzend_API.h193 class_container.__tostring = NULL; \
H A Dzend_compile.c1677 CG(active_class_entry)->__tostring = (zend_function *) CG(active_op_array); in zend_do_begin_function_declaration()
2842 if (!ce->__tostring) { in do_inherit_parent_constructor()
2843 ce->__tostring = ce->parent->__tostring; in do_inherit_parent_constructor()
3672 ce->__tostring = fe; in zend_add_magic_methods()
6623 ce->__tostring = NULL; in zend_initialize_class_data()
/PHP-5.4/ext/filter/
H A Dfilter.c380 if (!ce->__tostring) { in php_zval_filter()
/PHP-5.4/ext/spl/
H A Dspl_directory.c1887 if (Z_OBJCE_P(readobj)->__tostring) { in spl_filesystem_object_cast()
/PHP-5.4/
H A DNEWS4344 - Fixed bug #49142 (crash when exception thrown from __tostring()).

Completed in 109 milliseconds