$product = new Varien_Object(array( 'name' => 'Sample Product', 'sku' => 'SP001', 'price' => 9.99 )); echo $product->getDescription(); // Output: Varien_Object (name=Sample Product, sku=SP001, price=9.99)
$customer = new Varien_Object(array( 'firstname' => 'John', 'lastname' => 'Doe', 'email' => 'johndoe@example.com' )); echo $customer->getDescription(); // Output: Varien_Object (firstname=John, lastname=Doe, email=johndoe@example.com)Package library: Varien_Object belongs to the Varien library, which is a set of core classes used by the Magento framework.