3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_error_handler(function () {}); //error_reporting(0); // Yeah, not the best solution class SomeClass {} function test(SomeClass $instance) { echo 'wtf: '.$instance; } // NOTE: E_RECOVERABLE_ERROR (4096) occurs here test(1); q(); test(2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KRofj
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'set_error_handler'
          1        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FKRofj%3A3%240'
          2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
   14     4        INIT_FCALL                                               'test'
          5        SEND_VAL                                                 1
          6        DO_FCALL                                      0          
   15     7        INIT_FCALL_BY_NAME                                       'q'
          8        DO_FCALL                                      0          
   16     9        INIT_FCALL                                               'test'
         10        SEND_VAL                                                 2
         11        DO_FCALL                                      0          
         12      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FKRofj%3A3%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KRofj
function name:  {closure}
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FKRofj%3A3%240

Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KRofj
function name:  test
number of ops:  4
compiled vars:  !0 = $instance
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   RECV                                             !0      
          1        CONCAT                                           ~1      'wtf%3A+', !0
          2        ECHO                                                     ~1
          3      > RETURN                                                   null

End of function test

Class SomeClass: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.1 ms | 1398 KiB | 17 Q