I created a function that is returning nothing?
<pre><code>$newid = 100;
$cin = 0;
function new_id() {
    $cin++;
    if ($cin &gt;= 3) {
        $cin = 0;
        $newid++;
    }
    return $newid;
}
echo new_id();
</code></pre>

<p>new_id() is returning nothing. What's going on?</p>
