3v4l.org

run code in 500+ PHP versions simultaneously
<?php $getTheHistoricData = [ 0 => [ 'DeviceID' => '1', 'DeviceTimestamp' => '2018-09-22 00:00:11', 'LineTemp' => '22.2148', 'LineCurrent' => '232.562', 'RxRSSI' => '0' ], 1 => [ 'DeviceID' => '1', 'DeviceTimestamp' => '2018-09-22 00:00:33', 'LineTemp' => '22.2154', 'LineCurrent' => '234.672', 'RxRSSI' => '0' ], 2 => [ 'DeviceID' => '1', 'DeviceTimestamp' => '2018-09-22 00:00:55', 'LineTemp' => '22.2094', 'LineCurrent' => '233.954', 'RxRSSI' => '0' ] ]; $output = array_map(function($val){ return $val['DeviceID']; }, $getTheHistoricData); var_dump($output);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GEjki
function name:  (null)
number of ops:  11
compiled vars:  !0 = $getTheHistoricData, !1 = $output
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, <array>
   25     1        INIT_FCALL                                                   'array_map'
          2        DECLARE_LAMBDA_FUNCTION                              ~3      [0]
   27     3        SEND_VAL                                                     ~3
          4        SEND_VAR                                                     !0
   25     5        DO_ICALL                                             $4      
          6        ASSIGN                                                       !1, $4
   29     7        INIT_FCALL                                                   'var_dump'
          8        SEND_VAR                                                     !1
          9        DO_ICALL                                                     
         10      > 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/GEjki
function name:  {closure:/in/GEjki:25}
number of ops:  4
compiled vars:  !0 = $val
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   25     0  E >   RECV                                                 !0      
   26     1        FETCH_DIM_R                                          ~1      !0, 'DeviceID'
          2      > RETURN                                                       ~1
   27     3*     > RETURN                                                       null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
170.58 ms | 2539 KiB | 15 Q