3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fav_image = checkFavorite(); echo "Favorite? : " . $fav_image . ""; function checkFavorite() { echo "something"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0UebU
function name:  (null)
number of ops:  7
compiled vars:  !0 = $fav_image
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL_BY_NAME                                       'checkFavorite'
          1        DO_FCALL                                      0  $1      
          2        ASSIGN                                                   !0, $1
    5     3        CONCAT                                           ~3      'Favorite%3F+%3A+', !0
          4        CONCAT                                           ~4      ~3, ''
          5        ECHO                                                     ~4
   10     6      > RETURN                                                   1

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

End of function checkfavorite

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
191.72 ms | 996 KiB | 13 Q