title: How call RuntimeException using namesapce in php version 5.5.8
body: <p>I'm trying to use <strong>RuntimeException</strong></p>
  
  <p><a href="http://www.php.net/manual/en/class.runtimeexception.php" rel="nofollow">http://www.php.net/manual/en/class.runtimeexception.php</a></p>
  
  <p>I have this files in the same folder :</p>
  
  <p><em>OtherFunctions.php</em></p>
  
  <pre><code>&lt;?php
  namespace Pack\sp;
  $Tble = NULL;
  
  function SetTble($tble) {
    global $Tble;
    $Tble = $tble;
  }
  
  function GetTble() {
    global $Tble;
    return $Tble;
  }
  
  function Funct0($Str0, $Str1) {
    return $Str0 == $Str1;
  }
  
  function Funct1($Arg) {
    return "The Value is ".$Arg;
  }
  //... from 0 to 16
  function Funct16($Arg) {
    return "The Value is ".$Arg;
  }
  ?&gt;
  </code></pre>
  
  <p><strong>How to call all functions contained in this file?</strong></p>
  
  <p>In one class File <em>SubClass.php</em> I have this:</p>
  
  <pre><code>&lt;?php
  namespace Pack\sp;
  class SubClass {
    public $CArg = "";
    function FnClass($Arg) {
      return "FnClass:The Value is from SubClass".$Arg;
    }
  }
  ?&gt;
  </code></pre>
  
  <p>In other class File <em>LeadClass.php</em>
  I have this:</p>
  
  <pre><code>&lt;?php
  namespace Pack\sp;
  require_once("OtherFunctions.php");
  require_once("SubClass.php");
  class LeadClass {
    public function __construct($Name) {
      echo("_._&lt;br&gt;");
      $NewSC = new SubClass();
      $NewSC-&gt;CArg = $Name;
      SetTble($Name);
      echo("ini:GetTble():".GetTble().":end&lt;br&gt;");
      echo("ini:".$NewSC-&gt;FnClass($Name).":end&lt;br&gt;");
    }
    public function getName() {
      throw new RuntimeException("Error Ever !&lt;br&gt;");
    }
  }
  ?&gt;
  </code></pre>
  
  <p>Using all code <em>CallerNS.php</em></p>
  
  <pre><code>&lt;?php
  namespace Pack\sp;
  require_once("LeadClass.php");
  require_once("OtherFunctions.php");
  $NewSC = new LeadClass("first");
  $NewSC-&gt;getName();
  if (Funct0("strings", "strings")) {
    print("same strings&lt;br&gt;");
  }
  ?&gt;
  </code></pre>
  
  <p>Here my error:</p>
  
  <p><strong>Fatal error: Class 'Pack\sp\RuntimeException' not found in C:...\LeadClass.php on line 15</strong></p>
  
  <p>In other version of <em>CallerNS.php</em></p>
  
  <pre><code>&lt;?php
  use Pack\sp;
  require_once("LeadClass.php");
  require_once("OtherFunctions.php");
  if (Funct0("strings", "strings")) {
    print("same strings&lt;br&gt;");
  }
  $NewSC = new LeadClass("first");
  $NewSC-&gt;getName();
  ?&gt;
  </code></pre>
  
  <p>The error message:</p>
  
  <p><strong>Fatal error: Call to undefined function Funct0() in C:...\CallerNS.php on line 5</strong></p>