3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.6 ms | 1395 KiB | 15 Q