3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array( 'string' => '!@#$%^&*()_+~`1234567890-=\'"\\/?', 'array' => array( 'test' ), 'int' => 1, 'double' => 1.25, 'boolean' => true ); $first_level = $array; $current_level =& $array; for($i = 10;$i--;) { $current_level['depth_test'] = $first_level; $current_level =& $current_level['depth_test']; } $d = '<?php return "test";'; $h = eval($d); var_dump($h);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 5
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 5
Branch analysis from position: 11
Branch analysis from position: 5
filename:       /in/ihqAX
function name:  (null)
number of ops:  18
compiled vars:  !0 = $array, !1 = $first_level, !2 = $current_level, !3 = $i, !4 = $d, !5 = $h
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   13     1        ASSIGN                                                   !1, !0
   14     2        ASSIGN_REF                                               !2, !0
   15     3        ASSIGN                                                   !3, 10
          4      > JMP                                                      ->9
   16     5    >   ASSIGN_DIM                                               !2, 'depth_test'
          6        OP_DATA                                                  !1
   17     7        FETCH_DIM_W                                      $11     !2, 'depth_test'
          8        ASSIGN_REF                                               !2, $11
   15     9    >   POST_DEC                                         ~13     !3
         10      > JMPNZ                                                    ~13, ->5
   20    11    >   ASSIGN                                                   !4, '%3C%3Fphp+return+%22test%22%3B'
   22    12        INCLUDE_OR_EVAL                                  $15     !4, EVAL
         13        ASSIGN                                                   !5, $15
   24    14        INIT_FCALL                                               'var_dump'
         15        SEND_VAR                                                 !5
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.94 ms | 1395 KiB | 15 Q