Instead of using echo (which will call the __toString() method and will deliberately remove most of the character of the object), use var_dump() to print out the objects before and after you call the methods. By comparing the objects you will be able to see the effect of the programming.
|mimic google as my ip||11||53|
|Parts and Products table schema in mysql||6||43|
|Whether to use true/false, yes/no or 0/1||11||51|
|how to handle $x_amount to payment gateway in php - stumped.||14||13|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
19 Experts available now in Live!