3v4l.org

run code in 300+ PHP versions simultaneously
<?php final class InMemoryCachingReportFactory { public array $reports; } $factory = new InMemoryCachingReportFactory(); $factory->reports[0] ??= 'report';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6ZI9u
function name:  (null)
number of ops:  12
compiled vars:  !0 = $factory
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   NEW                                              $1      'InMemoryCachingReportFactory'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    9     3        FETCH_OBJ_IS                                     ~4      !0, 'reports'
          4        FETCH_DIM_IS                                     ~5      ~4, 0
          5        COALESCE                                         ~6      ~5
          6        FETCH_OBJ_W                                      $7      !0, 'reports'
          7        ASSIGN_DIM                                       ~8      $7, 0
          8        OP_DATA                                                  'report'
          9        QM_ASSIGN                                        ~6      ~8
         10        FREE                                                     ~6
         11      > RETURN                                                   1

Class InMemoryCachingReportFactory: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.37 ms | 1392 KiB | 13 Q