3v4l.org

run code in 300+ PHP versions simultaneously
<?php function strip($x) { echo $x . "<br/>"; } $ar = [0,[1,[2,[3,[4,5],6],7],8],9]; array_walk_recursive ( $ar ,'strip');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/blFgG
function name:  (null)
number of ops:  6
compiled vars:  !0 = $ar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   ASSIGN                                                   !0, <array>
    7     1        INIT_FCALL                                               'array_walk_recursive'
          2        SEND_REF                                                 !0
          3        SEND_VAL                                                 'strip'
          4        DO_ICALL                                                 
          5      > RETURN                                                   1

Function strip:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/blFgG
function name:  strip
number of ops:  4
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    4     1        CONCAT                                           ~1      !0, '%3Cbr%2F%3E'
          2        ECHO                                                     ~1
    5     3      > RETURN                                                   null

End of function strip

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.64 ms | 1394 KiB | 15 Q