3v4l.org

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

Class Point: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.23 ms | 1394 KiB | 17 Q