use of [] on variables : <p>hi there i got a php code from some tutorial but i can't understand the use of [] in front of the variables, can someone explain this code please.</p>

<pre><code>$text= "KKE68TSA76 Confirmed on 30/03/17 at 2:12PM Ksh100.00 received from 254786740098";
        }
        $mpesa =explode(" ", $text);
        $receipt=$mpesa[0]; // Code    
        $pesa=$mpesa[5]; //
        $p = explode("h", $pesa);
        $decimal=$p[1]; // Amount with decimal
        $dc = explode(".", $decimal);
        $koma=$dc[0]; // Payment
        $ondoa = explode(",", $koma);
        $kwanza=$ondoa[0]; // Payment
        $pili=$ondoa[1]; // Payment
        $payment=$kwanza.$pili;
        $phone=$mpesa[8]; // Phone
</code></pre>
