Passed
Push — main ( 3308db...adef9b )
by Dmitriy
02:24
created

test.php (1 issue)

1
<?php
2
declare(strict_types=1);
3
4
function err()
5
{
6
    $exception = new Exception("test
7
message");
8
    var_dump($exception->getTrace());
0 ignored issues
show
Security Debugging Code introduced by
var_dump($exception->getTrace()) looks like debug code. Are you sure you do not want to remove it?
Loading history...
9
10
    throw $exception;
11
}
12
13
try {
14
    err();
15
}catch (\Throwable $e){
16
    var_dump($e->getTrace());
17
}