All pastes #577086 Raw Edit

Stuff

public text v1 · immutable
·published 2007-06-19 19:39 UTC
rendered paste body
<?php

class A 
{
	function A1()
	{
		return "A1";
	}
	
	function A2()
	{
		return "A2";	
	}
	
	
}


class B
{

	function B1()
	{
		return  A::A1();
	}
	
	function B2()
	{
		return  A::A2();
	}
}

$B = new B();
echo $B->B1();
echo $B->B2();

?>