3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ "tracker" => [ ["[", "asiangames", ",", "asiangames2018", ",", "asian", "]"], ["[", "2019gantipresiden", "]"] ] ]; foreach ($array["tracker"] as &$tracker) { $tracker = array_diff($tracker, ["[", ",", "]"]); } var_export($array);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 125) Position 1 = 3, Position 2 = 10
Branch analysis from position: 3
2 jumps found. (Code = 126) Position 1 = 4, Position 2 = 10
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/v93SD
function name:  (null)
number of ops:  15
compiled vars:  !0 = $array, !1 = $tracker
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    9     1        FETCH_DIM_W                                      $3      !0, 'tracker'
          2      > FE_RESET_RW                                      $4      $3, ->10
          3    > > FE_FETCH_RW                                              $4, !1, ->10
   10     4    >   INIT_FCALL                                               'array_diff'
          5        SEND_VAR                                                 !1
          6        SEND_VAL                                                 <array>
          7        DO_ICALL                                         $5      
          8        ASSIGN                                                   !1, $5
    9     9      > JMP                                                      ->3
         10    >   FE_FREE                                                  $4
   13    11        INIT_FCALL                                               'var_export'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.84 ms | 1002 KiB | 15 Q