3v4l.org

run code in 300+ PHP versions simultaneously
<?php class helloWorld { const ONE = 1; public $array = array( 1 => 'VALUE FIRST', 'VALUE SECOND', 'VALUE THIRD', ); } $hello = new helloWorld(); print_r($hello);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fH4l5
function name:  (null)
number of ops:  7
compiled vars:  !0 = $hello
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   NEW                                              $1      'helloWorld'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   14     3        INIT_FCALL                                               'print_r'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                                 
          6      > RETURN                                                   1

Class helloWorld: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
182.27 ms | 1393 KiB | 15 Q