3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL|E_STRICT); set_error_handler(function($errno, $errstr) { echo "Handler: $errstr\n";}); @mysql_result(); mysql_fetch_row();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/h9iNf
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'set_error_handler'
          4        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2Fh9iNf%3A4%240'
          5        SEND_VAL                                                 ~1
          6        DO_ICALL                                                 
    6     7        BEGIN_SILENCE                                    ~3      
          8        INIT_FCALL_BY_NAME                                       'mysql_result'
          9        DO_FCALL                                      0          
         10        END_SILENCE                                              ~3
    7    11        INIT_FCALL_BY_NAME                                       'mysql_fetch_row'
         12        DO_FCALL                                      0          
         13      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2Fh9iNf%3A4%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/h9iNf
function name:  {closure}
number of ops:  7
compiled vars:  !0 = $errno, !1 = $errstr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        ROPE_INIT                                     3  ~3      'Handler%3A+'
          3        ROPE_ADD                                      1  ~3      ~3, !1
          4        ROPE_END                                      2  ~2      ~3, '%0A'
          5        ECHO                                                     ~2
          6      > RETURN                                                   null

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165 ms | 1387 KiB | 17 Q