PHP Exception Throwing Eval



  
function eeval($string)
  {
    $result = @eval($string);
    if( isset($php_errormsg) )
      throw new Exception($php_errormsg);
    return $result;
  }

Related posts:

  1. PHP CSV Parsing
  2. PHP Fatal error: Exception thrown without a stack frame in Unknown on line 0

Leave a Reply

Your email address will not be published. Required fields are marked *

*