?>
        </tr>
    <?php 
    }
    ?>
</table>

<h2 id="numberformatter-patterns">NumberFormatter Patterns <small><a href="#numberformatter-patterns">#</a></small></h2>

<table class="table table-hover">
    <tr>
        <th>Formatter Type</th>
        <th>Pattern</th>
    </tr>
    <?php 
    foreach (NumberFormatterInfo::getPatternTable($locale) as $type => $pattern) {
        ?>
        <tr>
        <th><?php 
        echo NumberFormatterInfo::$types[$type][0];
        ?>
<br /><small><?php 
        echo NumberFormatterInfo::$types[$type][1];
        ?>
</small></th>
        <td><code><?php 
        echo str_replace(';', ';<br>', $pattern);
        ?>
</code></td>
        </tr>
    <?php