3v4l.org

run code in 500+ PHP versions simultaneously
<?php $col = new stdClass; $col->name = 'foo_bar'; $text = <<<MySQL This works perfectly fine: $col->name. See? MySQL; echo $text;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ykg0L
function name:  (null)
number of ops:  12
compiled vars:  !0 = $col, !1 = $text
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   NEW                                                  $2      'stdClass'
          1        DO_FCALL                                          0          
          2        ASSIGN                                                       !0, $2
    4     3        ASSIGN_OBJ                                                   !0, 'name'
          4        OP_DATA                                                      'foo_bar'
    7     5        ROPE_INIT                                         3  ~8      'This+works+perfectly+fine%3A+'
          6        FETCH_OBJ_R                                          ~6      !0, 'name'
          7        ROPE_ADD                                          1  ~8      ~8, ~6
          8        ROPE_END                                          2  ~7      ~8, '.+See%3F'
    6     9        ASSIGN                                                       !1, ~7
   10    10        ECHO                                                         !1
   11    11      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
115.81 ms | 482 KiB | 9 Q