3v4l.org

run code in 300+ PHP versions simultaneously
<?php class VADAC { public $Parse = array(); public function __construct($configuration = NULL) { $this->Parse["Hello"] = function ($name = NULL) { return $name; }; } } $vadac = new VADAC(); var_dump($vadac->{"Parse"}["Hello"]("Hello"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KAvUL
function name:  (null)
number of ops:  12
compiled vars:  !0 = $vadac
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   NEW                                              $1      'VADAC'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   18     3        INIT_FCALL                                               'var_dump'
          4        FETCH_OBJ_R                                      ~4      !0, 'Parse'
          5        FETCH_DIM_R                                      ~5      ~4, 'Hello'
          6        INIT_DYNAMIC_CALL                                        ~5
          7        SEND_VAL_EX                                              'Hello'
          8        DO_FCALL                                      0  $6      
          9        SEND_VAR                                                 $6
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

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

End of function %00%7Bclosure%7D%2Fin%2FKAvUL%3A9%240

Class VADAC:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KAvUL
function name:  __construct
number of ops:  6
compiled vars:  !0 = $configuration
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   RECV_INIT                                        !0      null
    9     1        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FKAvUL%3A9%240'
          2        FETCH_OBJ_W                                      $1      'Parse'
          3        ASSIGN_DIM                                               $1, 'Hello'
   11     4        OP_DATA                                                  ~3
   12     5      > RETURN                                                   null

End of function __construct

End of class VADAC.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.81 ms | 1395 KiB | 15 Q