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' . fis($_ENV['ENV_TYPE']) . 'blabla';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oCFR7
function name:  (null)
number of ops:  11
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        INIT_FCALL                                               'fis'
          3        FETCH_W                      global              $3      '_ENV'
          4        FETCH_DIM_W                                      $4      $3, 'ENV_TYPE'
          5        SEND_REF                                                 $4
          6        DO_FCALL                                      0  $5      
          7        CONCAT                                           ~6      'http%3A%2F%2Frabota.ngs.ru', $5
          8        CONCAT                                           ~7      ~6, 'blabla'
          9        ASSIGN                                                   !0, ~7
         10      > 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/oCFR7
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:
167.68 ms | 1398 KiB | 14 Q