3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = array( 1, 2, true, null, //will be removed '', //will be removed false, //will be removed 0, //will be removed array(), //will be removed 'finish' ); function xxx($a) { var_dump('hola'); return array_filter($a); } foreach(xxx($x) as $b) { echo $b; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 8
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/KHKkm
function name:  (null)
number of ops:  10
compiled vars:  !0 = $x, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   21     1        INIT_FCALL                                               'xxx'
          2        SEND_VAR                                                 !0
          3        DO_FCALL                                      0  $3      
          4      > FE_RESET_R                                       $4      $3, ->8
          5    > > FE_FETCH_R                                               $4, !1, ->8
   22     6    >   ECHO                                                     !1
   21     7      > JMP                                                      ->5
          8    >   FE_FREE                                                  $4
   23     9      > RETURN                                                   1

Function xxx:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KHKkm
function name:  xxx
number of ops:  9
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   RECV                                             !0      
   17     1        INIT_FCALL                                               'var_dump'
          2        SEND_VAL                                                 'hola'
          3        DO_ICALL                                                 
   18     4        INIT_FCALL                                               'array_filter'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $2      
          7      > RETURN                                                   $2
   19     8*     > RETURN                                                   null

End of function xxx

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.48 ms | 1398 KiB | 18 Q