3v4l.org

run code in 300+ PHP versions simultaneously
<?php $searchdata = array("id" => 1, "name" => "", "type" => "foo"); $conditions = array('Question.id' => $searchdata['id'], 'Question.name' => $searchdata['name'], "Question.type" => $searchdata['type']); print_r($conditions);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Uf0uD
function name:  (null)
number of ops:  12
compiled vars:  !0 = $searchdata, !1 = $conditions
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        FETCH_DIM_R                                      ~3      !0, 'id'
          2        INIT_ARRAY                                       ~4      ~3, 'Question.id'
          3        FETCH_DIM_R                                      ~5      !0, 'name'
          4        ADD_ARRAY_ELEMENT                                ~4      ~5, 'Question.name'
          5        FETCH_DIM_R                                      ~6      !0, 'type'
          6        ADD_ARRAY_ELEMENT                                ~4      ~6, 'Question.type'
          7        ASSIGN                                                   !1, ~4
    4     8        INIT_FCALL                                               'print_r'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.49 ms | 1385 KiB | 15 Q