3v4l.org

run code in 300+ PHP versions simultaneously
<?php //echo (poof())[0]; echo whatwhat()->one; function uhuh() { return [ "unicorn!", "wand!", "magic!" ]; } function whatwhat() { return (object)[ 'one' => "unicorn!", 'two' => "wand!", 'three' => "magic!" ]; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YiLfk
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL_BY_NAME                                       'whatwhat'
          1        DO_FCALL                                      0  $0      
          2        FETCH_OBJ_R                                      ~1      $0, 'one'
          3        ECHO                                                     ~1
   15     4      > RETURN                                                   1

Function uhuh:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YiLfk
function name:  uhuh
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E > > RETURN                                                   <array>
    9     1*     > RETURN                                                   null

End of function uhuh

Function whatwhat:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YiLfk
function name:  whatwhat
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   CAST                                          8  ~0      <array>
          1      > RETURN                                                   ~0
   15     2*     > RETURN                                                   null

End of function whatwhat

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.31 ms | 1393 KiB | 13 Q