3v4l.org

run code in 300+ PHP versions simultaneously
<?php $wrap = array( array( array("content" => "GrĂ¼ne Logistik", "date" => "2014-04-02 14:08:52"), array("content" => "bellomondo ist klimaneutral", "date" => "2014-03-06 09:15:59"), ), array( array("content" => "en test post title", "date" => "2014-04-07 15:31:19"), ), ); var_dump($wrap); echo '---------------------'; //$sorted = array(); //foreach($wrap as $content) { // $sorted[] = $content; //} $sorted = call_user_func_array('array_merge', $wrap); var_dump($sorted); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PJ5gH
function name:  (null)
number of ops:  14
compiled vars:  !0 = $wrap, !1 = $sorted
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   12     1        INIT_FCALL                                               'var_dump'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
   14     4        ECHO                                                     '---------------------'
   22     5        INIT_FCALL                                               'array_merge'
          6        SEND_ARRAY                                               !0
          7        CHECK_UNDEF_ARGS                                         
          8        DO_FCALL                                      0  $4      
          9        ASSIGN                                                   !1, $4
   24    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                                 
   26    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.48 ms | 1385 KiB | 17 Q