3v4l.org

run code in 300+ PHP versions simultaneously
<?php $row['promo_code_prefix'] = 42; $row['promo_code_suffix'] = 2; ?><select name="distributor-<?php echo $row['promo_code_prefix'] . "-" . $row['promo_code_suffix'] ?>" style="text-align: center;">
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JY86D
function name:  (null)
number of ops:  12
compiled vars:  !0 = $row
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 'promo_code_prefix'
          1        OP_DATA                                                  42
    4     2        ASSIGN_DIM                                               !0, 'promo_code_suffix'
          3        OP_DATA                                                  2
    6     4        ECHO                                                     '%3Cselect+name%3D%22distributor-'
          5        FETCH_DIM_R                                      ~3      !0, 'promo_code_prefix'
          6        CONCAT                                           ~4      ~3, '-'
          7        FETCH_DIM_R                                      ~5      !0, 'promo_code_suffix'
          8        CONCAT                                           ~6      ~4, ~5
          9        ECHO                                                     ~6
         10        ECHO                                                     '%22+style%3D%22text-align%3A+center%3B%22%3E'
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.67 ms | 1393 KiB | 13 Q