3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { private $t = "yolo"; } $f = new Foo(); $f = (array) $f; var_dump($f["\0Foo\0t"]);
based on i71gB
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7rc9M
function name:  (null)
number of ops:  10
compiled vars:  !0 = $f
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   7     0  E >   NEW                                              $1      :15
         1        DO_FCALL                                      0          
         2        QM_ASSIGN                                                !0
   8     3        MAKE_REF                                         ~4      !0
         4        QM_ASSIGN                                                !0
  10     5        INIT_FCALL                                               'var_dump'
         6        FETCH_DIM_R                                      ~6      !0, '%00Foo%00t'
         7        SEND_VAL                                                 ~6
         8        DO_ICALL                                                 
         9      > RETURN                                                   1

Class Foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 7.4.0