3v4l.org

run code in 300+ PHP versions simultaneously
<?php $configOptions = array( '1:'=>'1l:', '2:'=>'2l:', '3:'=>'3l:', '4:'=>'4l:', '5:'=>'5l:', '6:'=>'6l:', '7:'=>'7l:', '8:'=>'8l:', '9:'=>'9l:', '10:'=>'10l:', '11:'=>'11l:', '12:'=>'12l:', '13:'=>'13l:', '14:'=>'14l:' ); $out = str_replace(':', '', $configOptions); foreach($out as $key=>$value){ $newKey = str_replace(':', '', $key); $newOut[$newKey] = $value; } var_dump($newOut);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 19
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 19
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
filename:       /in/gW8Vb
function name:  (null)
number of ops:  24
compiled vars:  !0 = $configOptions, !1 = $out, !2 = $value, !3 = $key, !4 = $newKey, !5 = $newOut
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   19     1        INIT_FCALL                                               'str_replace'
          2        SEND_VAL                                                 '%3A'
          3        SEND_VAL                                                 ''
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $7      
          6        ASSIGN                                                   !1, $7
   20     7      > FE_RESET_R                                       $9      !1, ->19
          8    > > FE_FETCH_R                                       ~10     $9, !2, ->19
          9    >   ASSIGN                                                   !3, ~10
   21    10        INIT_FCALL                                               'str_replace'
         11        SEND_VAL                                                 '%3A'
         12        SEND_VAL                                                 ''
         13        SEND_VAR                                                 !3
         14        DO_ICALL                                         $12     
         15        ASSIGN                                                   !4, $12
   22    16        ASSIGN_DIM                                               !5, !4
         17        OP_DATA                                                  !2
   20    18      > JMP                                                      ->8
         19    >   FE_FREE                                                  $9
   25    20        INIT_FCALL                                               'var_dump'
         21        SEND_VAR                                                 !5
         22        DO_ICALL                                                 
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.08 ms | 1395 KiB | 17 Q