3v4l.org

run code in 500+ PHP versions simultaneously
<?php if(isset($request->arrayWithImages) && is_array($request->arrayWithImages)) { $this->validate($request, [ 'arrayWithImages' => 'required|array', 'arrayWithImages.*' => 'required|image|mimes:jpg,png,jpeg|max:2048' ]); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 2, Position 2 = 5
Branch analysis from position: 2
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 11
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
Branch analysis from position: 5
filename:       /in/YEcBs
function name:  (null)
number of ops:  12
compiled vars:  !0 = $request
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ISSET_ISEMPTY_PROP_OBJ                               ~1      !0, 'arrayWithImages'
          1      > JMPZ_EX                                              ~1      ~1, ->5
          2    >   FETCH_OBJ_R                                          ~2      !0, 'arrayWithImages'
          3        TYPE_CHECK                                      128  ~3      ~2
          4        BOOL                                                 ~1      ~3
          5    > > JMPZ                                                         ~1, ->11
    4     6    >   FETCH_THIS                                           $4      
          7        INIT_METHOD_CALL                                             $4, 'validate'
          8        SEND_VAR_EX                                                  !0
    5     9        SEND_VAL_EX                                                  <array>
    4    10        DO_FCALL                                          0          
    8    11    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
166.59 ms | 2172 KiB | 13 Q