3v4l.org

run code in 500+ PHP versions simultaneously
<?php $client = (object) ['id' => 1]; $databaseValue = '$client->id'; eval("\$value = {$databaseValue};"); echo "Send command {$value}";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tFUgu
function name:  (null)
number of ops:  11
compiled vars:  !0 = $client, !1 = $databaseValue, !2 = $value
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   CAST                                              8  ~3      <array>
          1        ASSIGN                                                       !0, ~3
    4     2        ASSIGN                                                       !1, '%24client-%3Eid'
    5     3        ROPE_INIT                                         3  ~7      '%24value+%3D+'
          4        ROPE_ADD                                          1  ~7      ~7, !1
          5        ROPE_END                                          2  ~6      ~7, '%3B'
          6        INCLUDE_OR_EVAL                                              ~6, EVAL
    6     7        NOP                                                          
          8        FAST_CONCAT                                          ~10     'Send+command+', !2
          9        ECHO                                                         ~10
         10      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
155.12 ms | 1848 KiB | 13 Q