3v4l.org

run code in 500+ PHP versions simultaneously
<?php $thumbs_meta = array( 'width' => 1024, 'height' => 768, 'file' => '2018/08/Penguins.jpg', 'sizes' => array( 'thumbnail' => array( 'file' => 'Penguins-150x150.jpg', 'width' => 150, 'height' => 150, 'mime-type' => 'image/jpeg' ), 'medium' => array( 'file' => 'Penguins-300x225.jpg', 'width' => 300, 'height' => 225, 'mime-type' => 'image/jpeg' ), 'medium_large' => array( 'file' => 'Penguins-768x576.jpg', 'width' => 768, 'height' => 576, 'mime-type' => 'image/jpeg' ), 'large' => array( 'file' => 'Penguins-1024x768.jpg', 'width' => 1024, 'height' => 768, 'mime-type' => 'image/jpeg' ), 'twentyseventeen-thumbnail-avatar' => array( 'file' => 'Penguins-100x100.jpg', 'width' => 100, 'height' => 100, 'mime-type' => 'image/jpeg' ) ) ); $thumbnail_files = array_column($thumbs_meta['sizes'], 'file'); var_export($thumbnail_files); echo "\nCount: " , count($thumbnail_files) , "\n\n"; echo "Imploded: " , implode(',', $thumbnail_files);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/l63LE
function name:  (null)
number of ops:  18
compiled vars:  !0 = $thumbs_meta, !1 = $thumbnail_files
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, <array>
   40     1        INIT_FCALL                                                   'array_column'
          2        FETCH_DIM_R                                          ~3      !0, 'sizes'
          3        SEND_VAL                                                     ~3
          4        SEND_VAL                                                     'file'
          5        DO_ICALL                                             $4      
          6        ASSIGN                                                       !1, $4
   41     7        INIT_FCALL                                                   'var_export'
          8        SEND_VAR                                                     !1
          9        DO_ICALL                                                     
   43    10        ECHO                                                         '%0ACount%3A+'
         11        COUNT                                                ~7      !1
         12        ECHO                                                         ~7
         13        ECHO                                                         '%0A%0A'
   44    14        ECHO                                                         'Imploded%3A+'
         15        FRAMELESS_ICALL_2                implode             ~8      '%2C', !1
         16        ECHO                                                         ~8
         17      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
169.05 ms | 2132 KiB | 15 Q