3v4l.org

run code in 300+ PHP versions simultaneously
<?php if( !$request->post( 'userId' ) || !$request->post( 'userName' ) || !$request->post( 'userAuthority' ) ) { throw new \Exception( 'No user data provided.' ); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 5, Position 2 = 10
Branch analysis from position: 5
2 jumps found. (Code = 47) Position 1 = 11, Position 2 = 16
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 21
Branch analysis from position: 17
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
Branch analysis from position: 10
filename:       /in/X2ctD
function name:  (null)
number of ops:  22
compiled vars:  !0 = $request
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_METHOD_CALL                                         !0, 'post'
          1        SEND_VAL_EX                                              'userId'
          2        DO_FCALL                                      0  $1      
          3        BOOL_NOT                                         ~2      $1
          4      > JMPNZ_EX                                         ~2      ~2, ->10
          5    >   INIT_METHOD_CALL                                         !0, 'post'
          6        SEND_VAL_EX                                              'userName'
          7        DO_FCALL                                      0  $3      
          8        BOOL_NOT                                         ~4      $3
          9        BOOL                                             ~2      ~4
         10    > > JMPNZ_EX                                         ~2      ~2, ->16
         11    >   INIT_METHOD_CALL                                         !0, 'post'
         12        SEND_VAL_EX                                              'userAuthority'
         13        DO_FCALL                                      0  $5      
         14        BOOL_NOT                                         ~6      $5
         15        BOOL                                             ~2      ~6
         16    > > JMPZ                                                     ~2, ->21
    5    17    >   NEW                                              $7      'Exception'
         18        SEND_VAL_EX                                              'No+user+data+provided.'
         19        DO_FCALL                                      0          
         20      > THROW                                         0          $7
    6    21    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.52 ms | 1394 KiB | 13 Q