3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public $bra = 'bar'; } $foo = new Foo(); $foo_exported = var_export($foo, TRUE); var_dump($foo_exported); $new_foo = eval($foo_exported);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/N07Ag
function name:  (null)
number of ops:  14
compiled vars:  !0 = $foo, !1 = $foo_exported, !2 = $new_foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   NEW                                              $3      'Foo'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $3
   10     3        INIT_FCALL                                               'var_export'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 <true>
          6        DO_ICALL                                         $6      
          7        ASSIGN                                                   !1, $6
   11     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
   12    11        INCLUDE_OR_EVAL                                  $9      !1, EVAL
         12        ASSIGN                                                   !2, $9
         13      > RETURN                                                   1

Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.95 ms | 1394 KiB | 17 Q