3v4l.org

run code in 300+ PHP versions simultaneously
<?php function fis(&$data, $default = null) { return isset($data) ? $data : $default; } $_ENV = array('ENV_TYPE', ''); $str = 'http://rabota.ngs.ru' . $_ENV['ENV_TYPE'] . 'blabla';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lXLNe
function name:  (null)
number of ops:  8
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   FETCH_W                      global              $1      '_ENV'
          1        ASSIGN                                                   $1, <array>
    8     2        FETCH_R                      global              ~3      '_ENV'
          3        FETCH_DIM_R                                      ~4      ~3, 'ENV_TYPE'
          4        CONCAT                                           ~5      'http%3A%2F%2Frabota.ngs.ru', ~4
          5        CONCAT                                           ~6      ~5, 'blabla'
          6        ASSIGN                                                   !0, ~6
          7      > RETURN                                                   1

Function fis:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lXLNe
function name:  fis
number of ops:  9
compiled vars:  !0 = $data, !1 = $default
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      null
    5     2        ISSET_ISEMPTY_CV                                         !0
          3      > JMPZ                                                     ~2, ->6
          4    >   QM_ASSIGN                                        ~3      !0
          5      > JMP                                                      ->7
          6    >   QM_ASSIGN                                        ~3      !1
          7    > > RETURN                                                   ~3
    6     8*     > RETURN                                                   null

End of function fis

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.06 ms | 1398 KiB | 13 Q