OBJECT
NULL
BOOL
ARRAY
FLOAT
DOUBLE
STRING
INTEGER
Location
Trace
Memory
0
index.php31 C:\wamp64\www\Dbug\
Output Buffer Toggle contents sent to output buffer
1
trigger_error()31 C:\wamp64\www\Dbug\index.php
2
renderError()36 C:\wamp64\www\Dbug\index.php
3
duplicateKey()39 C:\wamp64\www\Dbug\index.php
1
565080 0.00033211708068848
2
580184 0.0019590854644775
3
589400 0.00325608253479
Fatal Error
stackoverflow google
fooBar() expects parameter 1 to be a "string", "int" given.
9
10echo 'Some random string that will be <p style="color:#6db679;margin: 0 20px">pushed to output buffer.</p>';
11
12class Foo
13{
14    private $string = 'string';
15    protected $int = 20;
16    public $array = [
17        'foo'   => 'bar'
18    ];
19    protected static $bool = false;
20
21    public function hash()
22    {
23        self::hash(hash('sha1', 'foobar'), $this->hash());
24    }
25}
26
27$_POST = ['foo' => 22, 'bar' => new Foo()];
28
29function renderError()
30{
31    trigger_error('fooBar() expects parameter 1 to be a "string", "int" given.', E_USER_ERROR);
32}
33
34function duplicateKey()
35{
36    renderError();
37}
38
39duplicateKey();;
Class: null
Namespace: null
File: C:\wamp64\www\Dbug\index.php:31
   Server
   Get
   Post
   Files
   Request
   Session
   Cookie
   Env