File tree Expand file tree Collapse file tree 1 file changed +42
-44
lines changed
Expand file tree Collapse file tree 1 file changed +42
-44
lines changed Original file line number Diff line number Diff line change 2121
2222$ class = $ displayData ['class ' ] ?? 'table table-striped table-bordered ' ;
2323?>
24- <table class="<?php echo $ class ?> ">
25- <tr>
26- <td colspan="3">
27- <strong>Call stack</strong>
28- </td>
29- </tr>
24+ <h2 id="caption">Call Stack</h2>
25+ <table class="<?php echo $ class ?> " aria-describedby="caption">
26+ <thead>
27+ <tr>
28+ <th scope="col">
29+ <strong>#</strong>
30+ </th>
31+ <th scope="col">
32+ <strong>Function</strong>
33+ </th>
34+ <th scope="col">
35+ <strong>Location</strong>
36+ </th>
37+ </tr>
38+ </thead>
39+ <tbody>
40+ <?php foreach ($ backtraceList as $ k => $ backtrace ) : ?>
41+ <tr>
42+ <td>
43+ <?php echo $ k + 1 ; ?>
44+ </td>
3045
31- <tr>
32- <td>
33- <strong>#</strong>
34- </td>
35- <td>
36- <strong>Function</strong>
37- </td>
38- <td>
39- <strong>Location</strong>
40- </td>
41- </tr>
46+ <?php if (isset ($ backtrace ['class ' ])) : ?>
47+ <td>
48+ <?php echo $ backtrace ['class ' ] . $ backtrace ['type ' ] . $ backtrace ['function ' ] . '() ' ; ?>
49+ </td>
50+ <?php else : ?>
51+ <td>
52+ <?php echo $ backtrace ['function ' ] . '() ' ; ?>
53+ </td>
54+ <?php endif ; ?>
4255
43- <?php foreach ($ backtraceList as $ k => $ backtrace ) : ?>
44- <tr>
45- <td>
46- <?php echo $ k + 1 ; ?>
47- </td>
48-
49- <?php if (isset ($ backtrace ['class ' ])) : ?>
50- <td>
51- <?php echo $ backtrace ['class ' ] . $ backtrace ['type ' ] . $ backtrace ['function ' ] . '() ' ; ?>
52- </td>
53- <?php else : ?>
54- <td>
55- <?php echo $ backtrace ['function ' ] . '() ' ; ?>
56- </td>
57- <?php endif ; ?>
58-
59- <?php if (isset ($ backtrace ['file ' ])) : ?>
60- <td>
61- <?php echo HTMLHelper::_ ('debug.xdebuglink ' , $ backtrace ['file ' ], $ backtrace ['line ' ]); ?>
62- </td>
63- <?php else : ?>
64- <td>
65-  
66- </td>
67- <?php endif ; ?>
68- </tr>
69- <?php endforeach ; ?>
56+ <?php if (isset ($ backtrace ['file ' ])) : ?>
57+ <td>
58+ <?php echo HTMLHelper::_ ('debug.xdebuglink ' , $ backtrace ['file ' ], $ backtrace ['line ' ]); ?>
59+ </td>
60+ <?php else : ?>
61+ <td>
62+  
63+ </td>
64+ <?php endif ; ?>
65+ </tr>
66+ <?php endforeach ; ?>
67+ </tbody>
7068</table>
You can’t perform that action at this time.
0 commit comments