// Define a new object $myObject = new Varien_Object(); // Set a property to a string value and determine its type $myObject->setData('myStringProperty', 'Hello'); $myStringType = $myObject->getType('myStringProperty'); // Returns "string" // Set a property to a numeric value and determine its type $myObject->setData('myNumberProperty', 42); $myNumberType = $myObject->getType('myNumberProperty'); // Returns "numeric"This code example demonstrates how to create a new Varien_Object and set different property values with different data types (string and numeric). The getType() method is then used to determine the data type of each property. The Varien_Object class is part of the Magento Core library and is used extensively throughout the Magento framework.