3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Mage_MultiVendor_Model_Customer_Attribute_Backend_Affiliatesince extends Mage_Eav_Model_Entity_Attribute_Backend_Abstract { public function beforeSave($object) { //DebugBreak(); /* admin only */ if (Mage::app()->getStore()->isAdmin()) { $affiliateStatus = $object->getData('affiliate_status'); $affiliateSince = $object->getData('affiliate_since'); if (empty($affiliateSince) && !empty($affiliateStatus) && $affiliateStatus == 2) { $object->setAffiliateSince(Mage::getModel('core/date')->gmtDate()); } } return $this; } }
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Class "Mage_Eav_Model_Entity_Attribute_Backend_Abstract" not found in /in/dm1Fm:3 Stack trace: #0 {main} thrown in /in/dm1Fm on line 3
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
35.03 ms | 401 KiB | 8 Q