3v4l.org

run code in 500+ PHP versions simultaneously
<?php ini_set('zend.exception_ignore_args', 1); function f(string $password): void { throw new RuntimeException('oops'); } $password = 'ore no himitu'; f($password);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/F9nc9
function name:  (null)
number of ops:  9
compiled vars:  !0 = $password
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                                   'ini_set'
          1        SEND_VAL                                                     'zend.exception_ignore_args'
          2        SEND_VAL                                                     1
          3        DO_ICALL                                                     
    8     4        ASSIGN                                                       !0, 'ore+no+himitu'
    9     5        INIT_FCALL                                                   'f'
          6        SEND_VAR                                                     !0
          7        DO_FCALL                                          0          
          8      > RETURN                                                       1

Function f:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/F9nc9
function name:  f
number of ops:  6
compiled vars:  !0 = $password
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   RECV                                                 !0      
    5     1        NEW                                                  $1      'RuntimeException'
          2        SEND_VAL_EX                                                  'oops'
          3        DO_FCALL                                          0          
          4      > THROW                                             0          $1
    6     5*     > RETURN                                                       null

End of function f

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
163.77 ms | 1544 KiB | 10 Q