3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); readline_completion_function(function() { static $data = array( 'sixteencharacter', // or longer '1', '2', '3', '4', '5', ); var_dump($data); return $data; }); readline();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GLVlS
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    3     3        INIT_FCALL_BY_NAME                                       'readline_completion_function'
          4        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FGLVlS%3A3%240'
   10     5        SEND_VAL_EX                                              ~1
          6        DO_FCALL                                      0          
   11     7        INIT_FCALL_BY_NAME                                       'readline'
          8        DO_FCALL                                      0          
          9      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FGLVlS%3A3%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GLVlS
function name:  {closure}
number of ops:  6
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   BIND_STATIC                                              !0
    8     1        INIT_FCALL                                               'var_dump'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
    9     4      > RETURN                                                   !0
   10     5*     > RETURN                                                   null

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.1 ms | 1395 KiB | 17 Q