3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Example {} define('PROVA', 'Example'); $prova = PROVA; $a = new constant('PROVA');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CX4OV
function name:  (null)
number of ops:  11
compiled vars:  !0 = $prova, !1 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'PROVA'
          2        SEND_VAL                                                 'Example'
          3        DO_ICALL                                                 
    7     4        FETCH_CONSTANT                                   ~3      'PROVA'
          5        ASSIGN                                                   !0, ~3
    8     6        NEW                                              $5      'constant'
          7        SEND_VAL_EX                                              'PROVA'
          8        DO_FCALL                                      0          
          9        ASSIGN                                                   !1, $5
         10      > RETURN                                                   1

Class Example: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.49 ms | 1394 KiB | 15 Q