3v4l.org

run code in 300+ PHP versions simultaneously
<?php $testarray = array( array('title' => 'Hotele - Miejsce', 'display' => 'hot_miejsce', 'align' => 'l', 'width' => 450, 'order' => 10, 'format' =>'' ,), array('title' => 'Aktualizacja', 'display' => 'hot_updated', 'align' => 'c', 'width' => 200, 'order' => 20, 'format' =>'' ,), ); $temp = array_map(function($item){ return (object)$item;}, $testarray); print_r($temp);die;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/3ll2a
function name:  (null)
number of ops:  12
compiled vars:  !0 = $testarray, !1 = $temp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   18     1        INIT_FCALL                                               'array_map'
          2        DECLARE_LAMBDA_FUNCTION                          ~3      [0]
          3        SEND_VAL                                                 ~3
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !1, $4
   19     7        INIT_FCALL                                               'print_r'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
         10      > EXIT                                                     
   20    11*     > RETURN                                                   1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3ll2a
function name:  {closure}
number of ops:  4
compiled vars:  !0 = $item
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   18     0  E >   RECV                                             !0      
          1        CAST                                          8  ~1      !0
          2      > RETURN                                                   ~1
          3*     > RETURN                                                   null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
134.02 ms | 1011 KiB | 15 Q