3v4l.org

run code in 300+ PHP versions simultaneously
<?php testme(); function testme() { $data='a=1&b=2&c=3'; echo 'parse_data(): ',$data,EOL; parse_str($data); //echo print_r($b,1); if(isset($b)) { echo 'isset b='.$b,EOL; } else { echo 'notset b='.$b,EOL; } if(isset($b)) { echo 'isset b='.$b,EOL; } else { echo 'no b='.$b,EOL; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/M9W9v
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL_BY_NAME                                       'testme'
          1        DO_FCALL                                      0          
   21     2      > RETURN                                                   1

Function testme:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 15
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 26
Branch analysis from position: 21
1 jumps found. (Code = 42) Position 1 = 30
Branch analysis from position: 30
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 26
Branch analysis from position: 21
Branch analysis from position: 26
filename:       /in/M9W9v
function name:  testme
number of ops:  31
compiled vars:  !0 = $data, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, 'a%3D1%26b%3D2%26c%3D3'
    6     1        ECHO                                                     'parse_data%28%29%3A+'
          2        ECHO                                                     !0
          3        FETCH_CONSTANT                                   ~3      'EOL'
          4        ECHO                                                     ~3
    7     5        INIT_FCALL                                               'parse_str'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
    9     8        ISSET_ISEMPTY_CV                                         !1
          9      > JMPZ                                                     ~5, ->15
   10    10    >   CONCAT                                           ~6      'isset+b%3D', !1
         11        ECHO                                                     ~6
         12        FETCH_CONSTANT                                   ~7      'EOL'
         13        ECHO                                                     ~7
         14      > JMP                                                      ->19
   13    15    >   CONCAT                                           ~8      'notset+b%3D', !1
         16        ECHO                                                     ~8
         17        FETCH_CONSTANT                                   ~9      'EOL'
         18        ECHO                                                     ~9
   15    19    >   ISSET_ISEMPTY_CV                                         !1
         20      > JMPZ                                                     ~10, ->26
   16    21    >   CONCAT                                           ~11     'isset+b%3D', !1
         22        ECHO                                                     ~11
         23        FETCH_CONSTANT                                   ~12     'EOL'
         24        ECHO                                                     ~12
         25      > JMP                                                      ->30
   19    26    >   CONCAT                                           ~13     'no+b%3D', !1
         27        ECHO                                                     ~13
         28        FETCH_CONSTANT                                   ~14     'EOL'
         29        ECHO                                                     ~14
   21    30    > > RETURN                                                   null

End of function testme

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.45 ms | 1400 KiB | 15 Q