3v4l.org

run code in 300+ PHP versions simultaneously
<?php class wpdb { function bail() { wp_die(); } } function wp_die() { var_dump(debug_backtrace(0, 3)); die('x'); } $a = new wpdb(); $a->bail();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QdpTs
function name:  (null)
number of ops:  6
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   NEW                                              $1      'wpdb'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   15     3        INIT_METHOD_CALL                                         !0, 'bail'
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

Function wp_die:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/QdpTs
function name:  wp_die
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'debug_backtrace'
          2        SEND_VAL                                                 0
          3        SEND_VAL                                                 3
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                                 
   11     7      > EXIT                                                     'x'
   12     8*     > RETURN                                                   null

End of function wp_die

Class wpdb:
Function bail:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QdpTs
function name:  bail
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL_BY_NAME                                       'wp_die'
          1        DO_FCALL                                      0          
    6     2      > RETURN                                                   null

End of function bail

End of class wpdb.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.89 ms | 1395 KiB | 17 Q