3v4l.org

run code in 500+ PHP versions simultaneously
<?php class Foo { private $bar; } $var = (array) new Foo(); var_export($var); echo "\n"; var_dump($var);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/j1Q3D
function name:  (null)
number of ops:  12
compiled vars:  !0 = $var
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E >   NEW                                                  $1      'Foo'
          1        DO_FCALL                                          0          
          2        CAST                                              7  ~3      $1
          3        ASSIGN                                                       !0, ~3
    9     4        INIT_FCALL                                                   'var_export'
          5        SEND_VAR                                                     !0
          6        DO_ICALL                                                     
          7        ECHO                                                         '%0A'
   10     8        INIT_FCALL                                                   'var_dump'
          9        SEND_VAR                                                     !0
         10        DO_ICALL                                                     
         11      > RETURN                                                       1

Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
218.37 ms | 2208 KiB | 15 Q