3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Bar { public $foo = 1; } $Obj1 = new Bar( Foo.bar() );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DSrK9
function name:  (null)
number of ops:  9
compiled vars:  !0 = $Obj1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   NEW                                              $1      'Bar'
          1        FETCH_CONSTANT                                   ~2      'Foo'
          2        INIT_FCALL_BY_NAME                                       'bar'
          3        DO_FCALL                                      0  $3      
          4        CONCAT                                           ~4      ~2, $3
          5        SEND_VAL_EX                                              ~4
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !0, $1
          8      > RETURN                                                   1

Class Bar: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.67 ms | 1392 KiB | 13 Q