Location: PHPKode > projects > phc > test/subjects/parsing/if.php
<?php
	/* 
	 * if 
	 */

	if(0)
		1;
	
	if(2)
	{
		3;
		4;
	}
	
	if(5)
		6;
	else
		7;
	
	if(8)
	{
		9;
		10;
	}
	else
	{
		11;
		12;
	}
	
	/*
	 * if/elseif
	 */
	
	if(13)
		14;
	else
		15;
		
	if(16)
		17;
	elseif(18)
		19;
	else
		20;
		
	if(21)
		22;
	elseif(23)
		24;
	elseif(25)
		26;
	else
		27;

	if(28)
		29;
	elseif(30)
		31;
	elseif(-30)
		;
	elseif(32)
		33;
	elseif(34)
		35;
	else
		36;
	
	if(37)
		38;
	elseif(39)
		40;
	elseif(41)
		42;
	elseif(43)
		44;
?>

Return current item: phc