Are you a regular stikked user? Signup so you can keep track of your pastes!
  1. <?php
  2. class Page extends Controller {
  3.  
  4.         function __construct()
  5.         {
  6.         #parent::Controller();
  7.  
  8.     }
  9.        
  10.         function index()
  11.         {
  12.                 var_dump($this->stacktrace());
  13.         }
  14.  
  15.         function stacktrace() {
  16.                   $e = new Exception();
  17.                   $trace = $e->getTrace();
  18.                   array_shift($trace);
  19.                   return $trace;
  20.                 }
  21.  
  22. }

Reply to "Untitled"

Here you can reply to the paste above

Create a snipurl

Make Private

Feeling clever? Set some advanced options.