3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_error_handler(function ($errno, $errstr, $errfile, $errline) { echo "Error[$errno]: $errstr\n"; }); echo $undefined;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4cWat
function name:  (null)
number of ops:  6
compiled vars:  !0 = $undefined
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'set_error_handler'
          1        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2F4cWat%3A2%240'
    4     2        SEND_VAL                                                 ~1
          3        DO_ICALL                                                 
    6     4        ECHO                                                     !0
          5      > RETURN                                                   1

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

End of function %00%7Bclosure%7D%2Fin%2F4cWat%3A2%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.02 ms | 1395 KiB | 15 Q