3v4l.org

run code in 300+ PHP versions simultaneously
<?php function getUserIdAgg($name) { switch ($name) { case 'SEOPULT': return 337440; case 'EFF': return 579714; case 'ROOKEE': return 1012884; case 'MAREMOTO': return array(502866 /*maremoto*/, 1189998 /*noronvn*/); case 'ALTWEB': return array(134933 /*djblaze*/, 1183395 /*megaindexooo*/); default: return 0; } } $exclude_seo = array(); $exclude_seo = array_merge($exclude_seo, (array)getUserIdAgg('SEOPULT')); $exclude_seo = array_merge($exclude_seo, (array)getUserIdAgg('ROOKEE')); var_dump($exclude_seo);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/YauBO
function name:  (null)
number of ops:  23
compiled vars:  !0 = $exclude_seo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   22     0  E >   ASSIGN                                                   !0, <array>
   23     1        INIT_FCALL                                               'array_merge'
          2        SEND_VAR                                                 !0
          3        INIT_FCALL                                               'getuseridagg'
          4        SEND_VAL                                                 'SEOPULT'
          5        DO_FCALL                                      0  $2      
          6        CAST                                          7  ~3      $2
          7        SEND_VAL                                                 ~3
          8        DO_ICALL                                         $4      
          9        ASSIGN                                                   !0, $4
   24    10        INIT_FCALL                                               'array_merge'
         11        SEND_VAR                                                 !0
         12        INIT_FCALL                                               'getuseridagg'
         13        SEND_VAL                                                 'ROOKEE'
         14        DO_FCALL                                      0  $6      
         15        CAST                                          7  ~7      $6
         16        SEND_VAL                                                 ~7
         17        DO_ICALL                                         $8      
         18        ASSIGN                                                   !0, $8
   26    19        INIT_FCALL                                               'var_dump'
         20        SEND_VAR                                                 !0
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Function getuseridagg:
Finding entry points
Branch analysis from position: 0
7 jumps found. (Code = 188) Position 1 = 13, Position 2 = 14, Position 3 = 15, Position 4 = 16, Position 5 = 17, Position 6 = 18, Position 7 = 2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 4, Position 2 = 13
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 6, Position 2 = 14
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 8, Position 2 = 15
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 16
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 17
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
Branch analysis from position: 17
Branch analysis from position: 16
Branch analysis from position: 15
Branch analysis from position: 14
Branch analysis from position: 13
filename:       /in/YauBO
function name:  getUserIdAgg
number of ops:  20
compiled vars:  !0 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    5     1      > SWITCH_STRING                                            !0, [ 'SEOPULT':->13, 'EFF':->14, 'ROOKEE':->15, 'MAREMOTO':->16, 'ALTWEB':->17, ], ->18
    7     2    >   IS_EQUAL                                                 !0, 'SEOPULT'
          3      > JMPNZ                                                    ~1, ->13
    9     4    >   IS_EQUAL                                                 !0, 'EFF'
          5      > JMPNZ                                                    ~1, ->14
   11     6    >   IS_EQUAL                                                 !0, 'ROOKEE'
          7      > JMPNZ                                                    ~1, ->15
   13     8    >   IS_EQUAL                                                 !0, 'MAREMOTO'
          9      > JMPNZ                                                    ~1, ->16
   15    10    >   IS_EQUAL                                                 !0, 'ALTWEB'
         11      > JMPNZ                                                    ~1, ->17
         12    > > JMP                                                      ->18
    8    13    > > RETURN                                                   337440
   10    14    > > RETURN                                                   579714
   12    15    > > RETURN                                                   1012884
   14    16    > > RETURN                                                   <array>
   16    17    > > RETURN                                                   <array>
   18    18    > > RETURN                                                   0
   20    19*     > RETURN                                                   null

End of function getuseridagg

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.56 ms | 1403 KiB | 19 Q