All pastes #944983 Raw Edit

class Cialis extends Penis

public php v1 · immutable
·published 2008-03-16 16:40 UTC
rendered paste body
<?php		class Penis	{		public $Length;		public $Name;		protected function getLength()		{			return $this->Length;		}		protected function getName()		{			return $this->Name;		}	}		class Cialis extends Penis	{		public function makeLonger()		{			$name = $this->getName();			$length = $this->getLength();			echo sprintf("%s went from %d inches to %d inches, over night with Cialis!", $name, $length, $length * 1.5);		}	}		$joe_schmoe = new Cialis;	$joe_schmoe->Length = 6;	$joe_schmoe->Name = "Joe Schmoe";	$joe_schmoe->makeLonger();?>