
<?php

	function testfunc ($var) {
		echo "testfunc $var\n";
	}
	
	class foo {
		var $arr = array('testfunc');
		function bar () {
			$this->arr[0]('testvalue');
		}
	}
	
	$a = new foo ();
	$a->bar ();
	
?>
