@csrf

    @php $i = 0; @endphp @foreach($questions as $question)
  1. {!!$question['question']!!}
    @if(isset($question['image'])) Imagem de apoio da questão {{$i + 1}} @endif @php uksort($question, fn () => rand() - rand()); @endphp @foreach($question as $key => $value) @if(substr($key, 0, 7) == 'correct' || substr($key, 0, 5) == 'wrong' ) @endif @php Arr::pull($question, $key) @endphp @endforeach
  2. @php $i++ @endphp @endforeach