3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dotazOrig = "1,2,3,4"; $dotazArray = explode(',', $dotazOrig); print_r($dotazArray); foreach ($dotazArray as $value) { $value = '-'.$value; } unset($value);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 10, Position 2 = 14
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 14
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/FeZBp
function name:  (null)
number of ops:  17
compiled vars:  !0 = $dotazOrig, !1 = $dotazArray, !2 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '1%2C2%2C3%2C4'
    3     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%2C'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
    4     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
    8     9      > FE_RESET_R                                       $7      !1, ->14
         10    > > FE_FETCH_R                                               $7, !2, ->14
    9    11    >   CONCAT                                           ~8      '-', !2
         12        ASSIGN                                                   !2, ~8
    8    13      > JMP                                                      ->10
         14    >   FE_FREE                                                  $7
   11    15        UNSET_CV                                                 !2
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.55 ms | 1386 KiB | 17 Q