3v4l.org

run code in 300+ 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:  21
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        INIT_FCALL                                               'implode'
         16        SEND_VAL                                                 '%2C'
         17        SEND_VAR                                                 !1
         18        DO_ICALL                                         $8      
         19        ECHO                                                     $8
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.06 ms | 1007 KiB | 16 Q