3v4l.org

run code in 300+ PHP versions simultaneously
<?php $weirdFunnyKeys = [ 'PT_1', '$PT_2', 'BS_X', 'BS_Y', //etc. ]; //now it's much simpler, we can use the above to make funny things like get the values from meta: $metaValues = []; foreach($weirdFunnyKeys as $key){ $metaValues [$key] = get_post_meta(get_the_ID() , $key, true); } var_dump($metaValues); //or build this html table: foreach($metaValues as $val){ if ( ! empty( $val ) ) { echo '<tr><td class="umbold techs">XXXXXXXXX: </td><td>' . $val . '</td></tr>'; } } //or... whatever you want! You have them in an array!!! Isn't this just darn cool!!!!!!!!!!!!!!!!!!!!!!!1111 //:) //alternatively, if you don't want to built the table in a loop: if ( !empty($metaValues['PT_1']) ) { echo '<tr><td class="umbold techs">XXXXXXXXX: </td><td>' . $metaValues['PT_1'] . '</td></tr>'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 14
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 14
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 14
2 jumps found. (Code = 77) Position 1 = 19, Position 2 = 27
Branch analysis from position: 19
2 jumps found. (Code = 78) Position 1 = 20, Position 2 = 27
Branch analysis from position: 20
2 jumps found. (Code = 43) Position 1 = 23, Position 2 = 26
Branch analysis from position: 23
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
Branch analysis from position: 26
Branch analysis from position: 27
2 jumps found. (Code = 43) Position 1 = 31, Position 2 = 35
Branch analysis from position: 31
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 35
Branch analysis from position: 27
Branch analysis from position: 14
filename:       /in/MSJEO
function name:  (null)
number of ops:  36
compiled vars:  !0 = $weirdFunnyKeys, !1 = $metaValues, !2 = $key, !3 = $val
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    6     1        ASSIGN                                                   !1, <array>
    7     2      > FE_RESET_R                                       $6      !0, ->14
          3    > > FE_FETCH_R                                               $6, !2, ->14
    8     4    >   INIT_FCALL_BY_NAME                                       'get_post_meta'
          5        INIT_FCALL_BY_NAME                                       'get_the_ID'
          6        DO_FCALL                                      0  $8      
          7        SEND_VAR_NO_REF_EX                                       $8
          8        SEND_VAR_EX                                              !2
          9        SEND_VAL_EX                                              <true>
         10        DO_FCALL                                      0  $9      
         11        ASSIGN_DIM                                               !1, !2
         12        OP_DATA                                                  $9
    7    13      > JMP                                                      ->3
         14    >   FE_FREE                                                  $6
   11    15        INIT_FCALL                                               'var_dump'
         16        SEND_VAR                                                 !1
         17        DO_ICALL                                                 
   13    18      > FE_RESET_R                                       $11     !1, ->27
         19    > > FE_FETCH_R                                               $11, !3, ->27
   14    20    >   ISSET_ISEMPTY_CV                                 ~12     !3
         21        BOOL_NOT                                         ~13     ~12
         22      > JMPZ                                                     ~13, ->26
   15    23    >   CONCAT                                           ~14     '%3Ctr%3E%3Ctd+class%3D%22umbold+techs%22%3EXXXXXXXXX%3A+%3C%2Ftd%3E%3Ctd%3E', !3
         24        CONCAT                                           ~15     ~14, '%3C%2Ftd%3E%3C%2Ftr%3E'
         25        ECHO                                                     ~15
   13    26    > > JMP                                                      ->19
         27    >   FE_FREE                                                  $11
   25    28        ISSET_ISEMPTY_DIM_OBJ                         1  ~16     !1, 'PT_1'
         29        BOOL_NOT                                         ~17     ~16
         30      > JMPZ                                                     ~17, ->35
         31    >   FETCH_DIM_R                                      ~18     !1, 'PT_1'
         32        CONCAT                                           ~19     '%3Ctr%3E%3Ctd+class%3D%22umbold+techs%22%3EXXXXXXXXX%3A+%3C%2Ftd%3E%3Ctd%3E', ~18
         33        CONCAT                                           ~20     ~19, '%3C%2Ftd%3E%3C%2Ftr%3E'
         34        ECHO                                                     ~20
         35    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.51 ms | 1400 KiB | 15 Q