3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = 'clientes'; $lista_var = "default_{$name}_list"; $$lista_var = "Lista de clientes"; echo $default_clientes_list;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0uYue
function name:  (null)
number of ops:  9
compiled vars:  !0 = $name, !1 = $lista_var, !2 = $default_clientes_list
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'clientes'
    4     1        ROPE_INIT                                     3  ~5      'default_'
          2        ROPE_ADD                                      1  ~5      ~5, !0
          3        ROPE_END                                      2  ~4      ~5, '_list'
          4        ASSIGN                                                   !1, ~4
    5     5        FETCH_W                      local               $8      !1
          6        ASSIGN                                                   $8, 'Lista+de+clientes'
    7     7        ECHO                                                     !2
    8     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.18 ms | 1432 KiB | 13 Q