3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = array( 'report_id' => (int)1, 'openDate' => '2015-09-08 12:06:00', 'openedBy' => 42, 'response' => array( 'text' => 'sdfsdfsdfsdf', 'creationDate' => '2015-09-08 12:06:00', 'author' => 42 ), 'credits' => array( 'member_id' => 24, 'campaign_id' => 2, 'category' => 5, 'description' => 'sdfsdfsdf', 'date' => '2015-09-08 12:06:00', 'amount' => 2 ) ); //if(!empty($r['publish'])) { array_merge ($data, array('published'=> 1)); //} die(var_dump($data));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/v9MuZ
function name:  (null)
number of ops:  16
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   CAST                                          4  ~1      1
          1        INIT_ARRAY                                       ~2      ~1, 'report_id'
    5     2        ADD_ARRAY_ELEMENT                                ~2      '2015-09-08+12%3A06%3A00', 'openDate'
    6     3        ADD_ARRAY_ELEMENT                                ~2      42, 'openedBy'
    4     4        ADD_ARRAY_ELEMENT                                ~2      <array>, 'response'
          5        ADD_ARRAY_ELEMENT                                ~2      <array>, 'credits'
    3     6        ASSIGN                                                   !0, ~2
   23     7        INIT_FCALL                                               'array_merge'
          8        SEND_VAR                                                 !0
          9        SEND_VAL                                                 <array>
         10        DO_ICALL                                                 
   25    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $5      
         14      > EXIT                                                     $5
         15*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
184.34 ms | 1394 KiB | 17 Q