title: how to find a var whether is string or number(but avoid exponential) in php
body: <p>I am using is_numeric to find a var whether its string or number but I want to consider <code>exp</code> also a string but as per php doc is_numeric considers <code>exp</code> as number.</p>
  
  <p>I want to check all number formats like int, floats and double but not octal, hexadecimal and exponential(consider them as string).</p>
  
  <p>is there any function for this?</p>
  
  <pre><code>$value = 4e2137383789;
  if (is_string($value)) {
      echo "yes it is a string";
  } else {
      echo "no it is not a string";
  }
  </code></pre>
  
  <p>above code consider <code>$value</code> as <code>numeric</code> but I want to consider it like <code>string</code>.</p>