3v4l.org

run code in 300+ PHP versions simultaneously
<?php function nullTest($x){ if ($x == 0) { $funct = "Не указано"; return $funct; } else { return $x; } } $null = nullTest($x); $null;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cAYgC
function name:  (null)
number of ops:  5
compiled vars:  !0 = $null, !1 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   INIT_FCALL                                               'nulltest'
          1        SEND_VAR                                                 !1
          2        DO_FCALL                                      0  $2      
          3        ASSIGN                                                   !0, $2
   12     4      > RETURN                                                   1

Function nulltest:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 6
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cAYgC
function name:  nullTest
number of ops:  8
compiled vars:  !0 = $x, !1 = $funct
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    3     1        IS_EQUAL                                                 !0, 0
          2      > JMPZ                                                     ~2, ->6
    4     3    >   ASSIGN                                                   !1, '%D0%9D%D0%B5+%D1%83%D0%BA%D0%B0%D0%B7%D0%B0%D0%BD%D0%BE'
    5     4      > RETURN                                                   !1
          5*       JMP                                                      ->7
    8     6    > > RETURN                                                   !0
   10     7*     > RETURN                                                   null

End of function nulltest

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.66 ms | 1397 KiB | 14 Q