<table> <tr> <th>Variable</th> <th>Value</th> </tr> @foreach($view_data as $key => $value) <tr> <td>{{ $key }}</td> @if($is_array = is_array($value)) <?php $value = Profiler::cleanArray($value); ?> <td><pre>{{ print_r($value, true) }}</pre></td> @else <td>{{ $value }}</td> @endif </tr> @endforeach </table>
<table> <tr> <th>Level</th> <th>Value</th> </tr> @foreach($storageLogs as $value) <tr> <td>{{ $value['level'] }}</td> <td> @if($is_array = is_array($value['header'])) <?php $value = Profiler::cleanArray($value['header']); ?> <pre>{{ print_r($value['header'], true) }}</pre> @else {{ $value['header'] }} @endif @if(!empty($value['stack'])) <pre><small><{{ trim(print_r($value['stack'], true)) }}</small></pre> @endif </td> </tr> @endforeach </table>