The Wonders of Magic Function
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Detail
The Wonders of Magic Function
What this function does is allow you to change the default behaviour when outputting an object instance.http://www.talkphp.com/advanced-php-programming/1117-magic-function-__tostring.html
Total Hits: 3249
Total Votes: 36 votes
Category: PHP/Object Oriented
Submitted on: 2008-03-16 07:53:15
Submitted By: Devesh Khanna
Description:
For this article we’ll be looking at the __toString magic function, and a very handy function it is to. What this function does is allow you to change the default behaviour when outputting an object instance. More detail...Rating Detail
| Stars | Percentage | Total Vote |
|---|---|---|
![]() |
![]() ![]() 16.67% |
6 |
![]() ![]() |
![]() ![]() 16.67% |
6 |
![]() ![]() ![]() |
![]() ![]() 16.67% |
6 |
![]() ![]() ![]() ![]() |
![]() ![]() 16.67% |
6 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 16.67% |
6 |





16.67%

16.67%

16.67%

16.67%

16.67%