3v4l.org

run code in 300+ PHP versions simultaneously
<?php 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/m8crL
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E > > RETURN                                                   1

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

End of function _urlcreate

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.81 ms | 1393 KiB | 13 Q