3v4l.org

run code in 500+ PHP versions simultaneously
<?php error_reporting(E_ALL); class SimpleClass { public $var2 = <<<EOD hello world EOD; } $a=new SimpleClass(); echo $a->var2;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bWajs
function name:  (null)
number of ops:  9
compiled vars:  !0 = $a
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'error_reporting'
          1        SEND_VAL                                                     30719
          2        DO_ICALL                                                     
   11     3        NEW                                                  $2      'SimpleClass'
          4        DO_FCALL                                          0          
          5        ASSIGN                                                       !0, $2
   12     6        FETCH_OBJ_R                                          ~5      !0, 'var2'
          7        ECHO                                                         ~5
          8      > RETURN                                                       1

Class SimpleClass: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
125.99 ms | 476 KiB | 8 Q