3v4l.org

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

Class tst: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.47 ms | 1385 KiB | 15 Q