title: How to split math operators from numbers in a string
body: <p>Im trying to split between operators and float/int values in a string.</p>
  
  <p>Example:</p>
  
  <pre><code>$input = "&gt;=2.54"; 
  </code></pre>
  
  <p>Output should be:</p>
  
  <p><code>array(0=&gt;"&gt;=",1=&gt;"2.54");</code> .  </p>
  
  <p>Operators cases : >,>=,&lt;,&lt;=,= </p>
  
  <p>I tried something like this:    </p>
  
  <pre><code>$input = '0.2&gt;';
  $exploded = preg_split('/[0-9]+\./', $input);
  </code></pre>
  
  <p>but its not working.</p>