How to convert integers to characters in PHP
<p>Can someone help me in creating a function for converting integers to characters in PHP like this:</p>

<pre><code>'A' =&gt; 0,
'B' =&gt; 1,
'C' =&gt; 2,
'D' =&gt; 3,
'E' =&gt; 4,
'F' =&gt; 5,
'G' =&gt; 6,
'H' =&gt; 7,
'I' =&gt; 8,
'J' =&gt; 9
</code></pre>

<p>If number is 100, then it should generate BAA.</p>

<p>The A, B, C... are just an example. I am trying to encrypt the numbers with a code.</p>

<p>I need this to work with some word like</p>

<pre><code>0 =&gt; zero
1 =&gt; one
</code></pre>

<p>etc</p>

<p>But when I give number 10, it should output <code>onezero</code>.</p>

<p>Thanks in advance</p>
