3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php //comprobador de fitxers en zona 3 function bfr($d,$A){ //echo $func; $z='holhola'; $A($z); $a = array(1, 2); foreach($a as $v){ $z='afas'; $A($z); } } function aaa($k){echo $k.'<br>';} bfr('./../E/2/L/','aaa'); //echo 'hola mon';
based on 8svtq
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/jiVld
function name:  (null)
number of ops:  7
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   4     0  E >   NOP                                                      
  17     1        NOP                                                      
  18     2        INIT_FCALL                                               'bfr'
         3        SEND_VAL                                                 '.%2F..%2FE%2F2%2FL%2F'
         4        SEND_VAL                                                 'aaa'
         5        DO_FCALL                                      0          
         6      > RETURN                                                   1

Function bfr:
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = 8, Position 2 = 14
Branch analysis from position: 8
Jump found. Position 1 = 9, Position 2 = 14
Branch analysis from position: 9
Jump found. Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 14
Jump found. Position 1 = -2
Branch analysis from position: 14
filename:       /in/jiVld
function name:  bfr
number of ops:  16
compiled vars:  !0 = $d, !1 = $A, !2 = $z, !3 = $a, !4 = $v
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   4     0  E >   RECV                                             !0      
         1        RECV                                             !1      
   7     2        ASSIGN                                                   !2, 'holhola'
   8     3        INIT_DYNAMIC_CALL                                        !1
         4        SEND_VAR_EX                                              !2
         5        DO_FCALL                                      0          
   9     6        ASSIGN                                                   !3, <array>
  10     7      > FE_RESET_R                                       $8      !3, ->14
         8    > > FE_FETCH_R                                               $8, !4, ->14
  11     9    >   ASSIGN                                                   !2, 'afas'
  12    10        INIT_DYNAMIC_CALL                                        !1
        11        SEND_VAR_EX                                              !2
        12        DO_FCALL                                      0          
        13      > JMP                                                      ->8
        14    >   FE_FREE                                                  $8
  14    15      > RETURN                                                   null

End of function bfr

Function aaa:
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/jiVld
function name:  aaa
number of ops:  4
compiled vars:  !0 = $k
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  17     0  E >   RECV                                             !0      
         1        CONCAT                                           ~1      !0, '%3Cbr%3E'
         2        ECHO                                                     ~1
         3      > RETURN                                                   null

End of function aaa

Generated using Vulcan Logic Dumper, using php 7.1.0