3v4l.org

run code in 300+ PHP versions simultaneously
<?php $BookSearchCriteria ->BNOTR="Borrowed and Not Returned"; $BookSearchCriteria ->BYESR="Borrowed and Returned"; $crit='BNOTR'; echo $BookSearchCriteria->{$crit}; $user; $user -> $name; echo $user;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7jtG6
function name:  (null)
number of ops:  11
compiled vars:  !0 = $BookSearchCriteria, !1 = $crit, !2 = $user, !3 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_OBJ                                               !0, 'BNOTR'
          1        OP_DATA                                                  'Borrowed+and+Not+Returned'
    3     2        ASSIGN_OBJ                                               !0, 'BYESR'
          3        OP_DATA                                                  'Borrowed+and+Returned'
    5     4        ASSIGN                                                   !1, 'BNOTR'
    6     5        FETCH_OBJ_R                                      ~7      !0, !1
          6        ECHO                                                     ~7
    8     7        FETCH_OBJ_R                                      ~8      !2, !3
          8        FREE                                                     ~8
    9     9        ECHO                                                     !2
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.32 ms | 1393 KiB | 13 Q