3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Student { public $studentnummer; public $voornaam; } $student = new Student(); $student->achternaam = 'vd. H'; var_dump($student->achternaam);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FLHuK
function name:  (null)
number of ops:  10
compiled vars:  !0 = $student
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   NEW                                              $1      'Student'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   10     3        ASSIGN_OBJ                                               !0, 'achternaam'
          4        OP_DATA                                                  'vd.+H'
   12     5        INIT_FCALL                                               'var_dump'
          6        FETCH_OBJ_R                                      ~5      !0, 'achternaam'
          7        SEND_VAL                                                 ~5
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Class Student: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
136.08 ms | 998 KiB | 14 Q