3v4l.org

run code in 300+ PHP versions simultaneously
<?php class a{ public $b = 'bbb'; } class b{ public $a = 'aaa'; } $a = new a; $x = 'a'; $b = new $x;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cehb7
function name:  (null)
number of ops:  9
compiled vars:  !0 = $a, !1 = $x, !2 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   NEW                                              $3      'a'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $3
   10     3        ASSIGN                                                   !1, 'a'
   11     4        FETCH_CLASS                                   0  $7      !1
          5        NEW                                              $8      $7
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !2, $8
          8      > RETURN                                                   1

Class a: [no user functions]
Class b: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.59 ms | 1397 KiB | 13 Q