3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.18 ms | 1394 KiB | 13 Q