3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = 'field_home_thumbs'; $flexifiledname = 'field_home_description'; $string_node = '$node->'.$name.'[0][value]['.$flexifiledname.'][0][value]'; echo "$string\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FTKSn
function name:  (null)
number of ops:  11
compiled vars:  !0 = $name, !1 = $flexifiledname, !2 = $string_node, !3 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'field_home_thumbs'
    3     1        ASSIGN                                                   !1, 'field_home_description'
    4     2        CONCAT                                           ~6      '%24node-%3E', !0
          3        CONCAT                                           ~7      ~6, '%5B0%5D%5Bvalue%5D%5B'
          4        CONCAT                                           ~8      ~7, !1
          5        CONCAT                                           ~9      ~8, '%5D%5B0%5D%5Bvalue%5D'
          6        ASSIGN                                                   !2, ~9
    5     7        NOP                                                      
          8        FAST_CONCAT                                      ~11     !3, '%0A'
          9        ECHO                                                     ~11
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.28 ms | 1393 KiB | 13 Q