3v4l.org

run code in 300+ PHP versions simultaneously
<?php /*E_ERROR E_PARSE E_CORE_ERROR E_CORE_WARNING E_COMPILE_ERROR E_COMPILE_WARNING E_STRICT*/ function exception_error_handler($errno, $errstr, $errfile, $errline) { echo 'as'; } set_error_handler("exception_error_handler", error_reporting()); class Strict { public function test() { echo "Test"; } } Strict::test();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8t6cb
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   INIT_FCALL                                               'set_error_handler'
          1        SEND_VAL                                                 'exception_error_handler'
          2        INIT_FCALL                                               'error_reporting'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
   24     6        INIT_STATIC_METHOD_CALL                                  'Strict', 'test'
          7        DO_FCALL                                      0          
          8      > RETURN                                                   1

Function exception_error_handler:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8t6cb
function name:  exception_error_handler
number of ops:  6
compiled vars:  !0 = $errno, !1 = $errstr, !2 = $errfile, !3 = $errline
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
   11     4        ECHO                                                     'as'
   12     5      > RETURN                                                   null

End of function exception_error_handler

Class Strict:
Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8t6cb
function name:  test
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   19     0  E >   ECHO                                                     'Test'
   20     1      > RETURN                                                   null

End of function test

End of class Strict.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.1 ms | 1395 KiB | 17 Q