3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(_urlCreate('foo.bar')); function _urlCreate($url) { return (object) ['url'=>'http://'.$url]; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SGZHr
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL_BY_NAME                                       '_urlCreate'
          2        SEND_VAL_EX                                              'foo.bar'
          3        DO_FCALL                                      0  $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
    7     6      > RETURN                                                   1

Function _urlcreate:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SGZHr
function name:  _urlCreate
number of ops:  6
compiled vars:  !0 = $url
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
    6     1        CONCAT                                           ~1      'http%3A%2F%2F', !0
          2        INIT_ARRAY                                       ~2      ~1, 'url'
          3        CAST                                          8  ~3      ~2
          4      > RETURN                                                   ~3
    7     5*     > RETURN                                                   null

End of function _urlcreate

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.76 ms | 1394 KiB | 15 Q