Function using PHP that converts a base 36 string to a base 10 integer : <p>Can someone show me how I would write a php function that converts a base 36 string to a base 10 integer without using the base convert function </p>

<p>the function should work like this </p>

<pre><code>echo base36_to_base10('614qa'); //prints 10130482 
echo base36_to_base10('614z1'); //prints 10130797
</code></pre>
