title: Delimiter deciedes variable and value in php
body: <p>I am using php. I have a text file which delimits two things like shown below:</p>
  <p>Orange;100kg
  Apple;400kg
  Peach;543 Kg</p>
  <p>I want to make orange as variable and assign  100kg as value.</p>
  <pre><code>$orange=&quot;100kg&quot;;
  $Apple=&quot;400kg&quot;;
  $Peach=&quot;543kg&quot;;
  
  </code></pre>
  <p>Please I don't want to convert text file into json.</p>