3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace security; function get_user() { $user = (object) array('email' => 'abcd@abcd.com', 'name' => 'John Doe'); return $user; } echo "<li><p class=\"navbar-text\">Welcome, {${\security\get_user()->name}}</p></li>";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/H3dM8
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   ROPE_INIT                                     3  ~4      '%3Cli%3E%3Cp+class%3D%22navbar-text%22%3EWelcome%2C+'
          1        INIT_FCALL                                               'security%5Cget_user'
          2        DO_FCALL                                      0  $0      
          3        FETCH_OBJ_R                                      ~1      $0, 'name'
          4        FETCH_R                      local               ~2      ~1
          5        ROPE_ADD                                      1  ~4      ~4, ~2
          6        ROPE_END                                      2  ~3      ~4, '%3C%2Fp%3E%3C%2Fli%3E'
          7        ECHO                                                     ~3
          8      > RETURN                                                   1

Function security%5Cget_user:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/H3dM8
function name:  security\get_user
number of ops:  4
compiled vars:  !0 = $user
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   CAST                                          8  ~1      <array>
          1        ASSIGN                                                   !0, ~1
    6     2      > RETURN                                                   !0
    7     3*     > RETURN                                                   null

End of function security%5Cget_user

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.52 ms | 1397 KiB | 14 Q