fork download
  1. <?php
  2.  
  3. $this->container->singleton('router', function ($c) {
  4. return new \Slim\Router();
  5. });
Runtime error #stdin #stdout #stderr 0.01s 20568KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
PHP Fatal error:  Using $this when not in object context in /home/8Kn1U9/prog.php on line 3