3v4l.org

run code in 300+ PHP versions simultaneously
<?php $term_meta['term_1'] = "something"; $term_meta['term_2'] = "else"; $term_meta['term_3'] = ""; $term_meta['term_4'] = "one more"; $term_meta['term_5'] = Null; $term_meta['term_6'] = "last one"; echo '"' . implode('","', array_filter($term_meta)) . '"';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vCrMM
function name:  (null)
number of ops:  23
compiled vars:  !0 = $term_meta
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 'term_1'
          1        OP_DATA                                                  'something'
    4     2        ASSIGN_DIM                                               !0, 'term_2'
          3        OP_DATA                                                  'else'
    5     4        ASSIGN_DIM                                               !0, 'term_3'
          5        OP_DATA                                                  ''
    6     6        ASSIGN_DIM                                               !0, 'term_4'
          7        OP_DATA                                                  'one+more'
    7     8        ASSIGN_DIM                                               !0, 'term_5'
          9        OP_DATA                                                  null
    8    10        ASSIGN_DIM                                               !0, 'term_6'
         11        OP_DATA                                                  'last+one'
   11    12        INIT_FCALL                                               'implode'
         13        SEND_VAL                                                 '%22%2C%22'
         14        INIT_FCALL                                               'array_filter'
         15        SEND_VAR                                                 !0
         16        DO_ICALL                                         $7      
         17        SEND_VAR                                                 $7
         18        DO_ICALL                                         $8      
         19        CONCAT                                           ~9      '%22', $8
         20        CONCAT                                           ~10     ~9, '%22'
         21        ECHO                                                     ~10
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.15 ms | 1011 KiB | 15 Q