3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Insta-kill interface BrokenInterface { // this can be anything... even null. just with a non-existent key public const ARRAY_1 = []; public const ARRAY_2 = [ self::ARRAY_1["nonExistentKey"] ]; } class UseThisClass implements BrokenInterface {} (new UseThisClass());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Mnk96
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   DECLARE_CLASS                                            'usethisclass'
   13     1        NEW                                              $0      'UseThisClass'
          2        DO_FCALL                                      0          
          3        FREE                                                     $0
          4      > RETURN                                                   1

Class BrokenInterface: [no user functions]
Class UseThisClass: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
210.62 ms | 1396 KiB | 13 Q