<?php

function fooFunction()
{

}

if (true) {
	function fooFunctionInCondition()
	{

	}
}

class FooClass
{

	public function fooMethod()
	{
		function fooFunctionInFooMethod()
		{

		}
		fooFunctionInCondition();
	}

}
