3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('GM_HTTP_SERVER', 'http://localhost/'); define('DIR_WS_ORIGINAL_IMAGES', 'path/'); class FmUtils { public static function getImageOriginalUrl($image) { return GM_HTTP_SERVER . DIR_WS_ORIGINAL_IMAGES . $image; } } echo FmUtils::getImageOriginalUrl('123.jpg');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qMI4r
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'GM_HTTP_SERVER'
          2        SEND_VAL                                                 'http%3A%2F%2Flocalhost%2F'
          3        DO_ICALL                                                 
    5     4        INIT_FCALL                                               'define'
          5        SEND_VAL                                                 'DIR_WS_ORIGINAL_IMAGES'
          6        SEND_VAL                                                 'path%2F'
          7        DO_ICALL                                                 
   19     8        INIT_STATIC_METHOD_CALL                                  'FmUtils', 'getImageOriginalUrl'
          9        SEND_VAL                                                 '123.jpg'
         10        DO_FCALL                                      0  $2      
         11        ECHO                                                     $2
         12      > RETURN                                                   1

Class FmUtils:
Function getimageoriginalurl:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qMI4r
function name:  getImageOriginalUrl
number of ops:  7
compiled vars:  !0 = $image
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   RECV                                             !0      
   13     1        FETCH_CONSTANT                                   ~1      'GM_HTTP_SERVER'
          2        FETCH_CONSTANT                                   ~2      'DIR_WS_ORIGINAL_IMAGES'
          3        CONCAT                                           ~3      ~1, ~2
          4        CONCAT                                           ~4      ~3, !0
          5      > RETURN                                                   ~4
   14     6*     > RETURN                                                   null

End of function getimageoriginalurl

End of class FmUtils.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.5 ms | 1395 KiB | 15 Q