3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = 5; $bar = "a"; var_dump("foo ${foo} $bar" instanceof StdClass);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Gc0lO
function name:  (null)
number of ops:  11
compiled vars:  !0 = $foo, !1 = $bar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 5
    3     1        ASSIGN                                                   !1, 'a'
    4     2        INIT_FCALL                                               'var_dump'
          3        ROPE_INIT                                     4  ~5      'foo+'
          4        ROPE_ADD                                      1  ~5      ~5, !0
          5        ROPE_ADD                                      2  ~5      ~5, '+'
          6        ROPE_END                                      3  ~4      ~5, !1
          7        INSTANCEOF                                       ~7      ~4, 'StdClass'
          8        SEND_VAL                                                 ~7
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.12 ms | 1394 KiB | 15 Q