PHP:
<font size="small" face="Courier New" color="black"><font color="#00F">public</font> <font color="#00F">string</font> FormatCode(<font color="#00F">string</font> code)
{
<font color="#00F">if</font>( _formattingInfo == <font color="#00F">null</font> )
<font color="#00F">throw</font> <font color="#00F">new</font> InvalidOperationException(Properties.Resources.Error_NoFormattingInfo);
StringBuilder result = <font color="#00F">new</font> StringBuilder(code.Length * 2);</font>