3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Udef { public $record_columns = array("orderby"); } $sess = array('CLX' => new Udef()); foreach ($sess as $k => $v) { var_dump(serialize($v)); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 14
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 14
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/8NaGo
function name:  (null)
number of ops:  16
compiled vars:  !0 = $sess, !1 = $v, !2 = $k
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   NEW                                              $3      'Udef'
          1        DO_FCALL                                      0          
          2        INIT_ARRAY                                       ~5      $3, 'CLX'
          3        ASSIGN                                                   !0, ~5
    8     4      > FE_RESET_R                                       $7      !0, ->14
          5    > > FE_FETCH_R                                       ~8      $7, !1, ->14
          6    >   ASSIGN                                                   !2, ~8
   10     7        INIT_FCALL                                               'var_dump'
          8        INIT_FCALL                                               'serialize'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $10     
         11        SEND_VAR                                                 $10
         12        DO_ICALL                                                 
    8    13      > JMP                                                      ->5
         14    >   FE_FREE                                                  $7
   11    15      > RETURN                                                   1

Class Udef: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.5 ms | 1395 KiB | 17 Q