3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_error_handler( function($errno, $errstr) { var_dump($errno == E_USER_DEPRECATED, $errstr); } ); trigger_error('Foo', E_USER_DEPRECATED);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bbSfL
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'set_error_handler'
    4     1        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FbbSfL%3A4%240'
    6     2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
    9     4        INIT_FCALL                                               'trigger_error'
          5        SEND_VAL                                                 'Foo'
          6        SEND_VAL                                                 16384
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FbbSfL%3A4%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bbSfL
function name:  {closure}
number of ops:  8
compiled vars:  !0 = $errno, !1 = $errstr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    5     2        INIT_FCALL                                               'var_dump'
          3        IS_EQUAL                                         ~2      !0, 16384
          4        SEND_VAL                                                 ~2
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                                 
    6     7      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FbbSfL%3A4%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.4 ms | 1395 KiB | 19 Q