3v4l.org

run code in 500+ PHP versions simultaneously
<?php class Auth { public static function check() { return null; } } class AuthenticationRequiredException extends RuntimeException {} Auth::check() ?? throw new AuthenticationRequiredException("Вам необходимо сначала авторизоваться");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/0F7GO
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   12     0  E >   INIT_STATIC_METHOD_CALL                                      'Auth', 'check'
          1        DO_FCALL                                          0  $0      
          2        COALESCE                                             ~1      $0
          3        NEW                                                  $2      'AuthenticationRequiredException'
          4        SEND_VAL_EX                                                  '%D0%92%D0%B0%D0%BC+%D0%BD%D0%B5%D0%BE%D0%B1%D1%85%D0%BE%D0%B4%D0%B8%D0%BC%D0%BE+%D1%81%D0%BD%D0%B0%D1%87%D0%B0%D0%BB%D0%B0+%D0%B0%D0%B2%D1%82%D0%BE%D1%80%D0%B8%D0%B7%D0%BE%D0%B2%D0%B0%D1%82%D1%8C%D1%81%D1%8F'
          5        DO_FCALL                                          0          
          6      > THROW                                             1          $2
          7*       QM_ASSIGN                                            ~1      <true>
          8*       FREE                                                         ~1
          9*     > RETURN                                                       1

Class Auth:
Function check:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0F7GO
function name:  check
number of ops:  2
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    6     0  E > > RETURN                                                       null
    7     1*     > RETURN                                                       null

End of function check

End of class Auth.

Class AuthenticationRequiredException: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
156.74 ms | 1679 KiB | 13 Q