3v4l.org

run code in 300+ PHP versions simultaneously
<?php /************************************************************************** * Adiquity Ad Code - Adiquity.com * Copyright Adiquity Technologies Pvt Ltd . All rights reserved. * Language: PHP (Curl) * Version: 18072011 **************************************************************************/ $Adq_COOKIE = "adq_site_cookie"; //Set user cookie setUserCookie(); function adiquity_ad($adq_params) { global $Adq_COOKIE; $proxies = array( '104.154.42.169', // United States '66.143.181.26', '198.11.172.39', '199.168.148.151', '207.5.112.114', '199.168.148.151', '199.168.148.147', '104.129.194.103', '192.95.23.4', '66.85.148.52' ); $proxy = $proxies[array_rand($proxies)]; $useragents = array( "Mozilla/5.0 (BB10; Touch) AppleWebKit/537.10+ (KHTML, like Gecko) Version/10.1.0.2342 Mobile Safari/537.10+", "Mozilla/5.0 (Linux; U; Android 4.0.3; en-us; KFTT Build/IML74K) AppleWebKit/535.19 (KHTML, like Gecko) Silk/2.1 Mobile Safari/535.19 Silk-Accelerated=true", "Mozilla/5.0 (Linux; U; Android 3.0; en-us; Xoom Build/HRI39) AppleWebKit/525.10 (KHTML, like Gecko) Version/3.0.4 Mobile Safari/523.12.2", "Mozilla/5.0 (Linux; Android 4.3; SPH-L710 Build/JSS15J) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.99 Mobile Safari/537.36", "Mozilla/5.0 (Linux; U; Android 3.0.1; fr-fr; A500 Build/HRI66) AppleWebKit/534.13 (KHTML, like Gecko) Version/4.0 Safari/534.13", "Mozilla/5.0 (Linux; Android 4.4.4; Nexus 7 Build/KTU84P) AppleWebKit/537.36 (KHTML like Gecko) Chrome/36.0.1985.135 Safari/537.36", "Mozilla/5.0 (iPhone; CPU iPhone OS 7_1_2 like Mac OS X) AppleWebKit/537.51.2 (KHTML like Gecko) Version/7.0 Mobile/11D257 Safari/9537.53", "Mozilla/5.0 (Linux; Android 4.1.2; SHV-E250S Build/JZO54K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.82 Mobile Safari/537.36", "Mozilla/5.0 (Linux; Android 4.4.2; SAMSUNG-SM-T537A Build/KOT49H) AppleWebKit/537.36 (KHTML like Gecko) Chrome/35.0.1916.141 Safari/537.36", "Mozilla/5.0 (compatible; MSIE 10.0; Windows Phone 8.0; Trident/6.0; IEMobile/10.0; ARM; Touch; NOKIA; Lumia 920)", "Mozilla/5.0 (Android 4.2; rv:19.0) Gecko/20121129 Firefox/19.0", "Opera/9.80 (Android 4.0.4; Linux; Opera Mobi/ADR-1205181138; U; pl) Presto/2.10.254 Version/12.00", "Mozilla/5.0 (Linux; Android 4.4; Nexus 5 Build/BuildID) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36", "Mozilla/5.0 (Linux; U; Android 3.0.1; fr-fr; A500 Build/HRI66) AppleWebKit/534.13 (KHTML, like Gecko) Version/4.0 Safari/534.13", "Mozilla/5.0 (Linux; U; Android 3.0; en-us; Xoom Build/HRI39) AppleWebKit/525.10 (KHTML, like Gecko) Version/3.0.4 Mobile Safari/523.12.2", "Mozilla/5.0 (Linux; U; Android 4.0.3; de-ch; HTC Sensation Build/IML74K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30", "Mozilla/5.0 (Linux; U; Android 4.0.3; de-de; Galaxy S II Build/GRJ22) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30", "Opera/9.80 (Android 4.0.4; Linux; Opera Mobi/ADR-1205181138; U; pl) Presto/2.10.254 Version/12.00", "Mozilla/5.0 (Android; Linux armv7l; rv:10.0.1) Gecko/20100101 Firefox/10.0.1 Fennec/10.0.1", "Mozilla/5.0 (Linux; Android 4.1.2; SHV-E250S Build/JZO54K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.82 Mobile Safari/537.36", "Mozilla/5.0 (Android 4.2; rv:19.0) Gecko/20121129 Firefox/19.0", "Mozilla/5.0 (Linux; U; Android 4.3; en-us; sdk Build/MR1) AppleWebKit/536.23 (KHTML, like Gecko) Version/4.3 Mobile Safari/536.23", "Mozilla/5.0 (Linux; Android 4.4; Nexus 5 Build/BuildID) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36", "Mozilla/5.0 (Linux; Android 4.4.2; SAMSUNG-SM-T537A Build/KOT49H) AppleWebKit/537.36 (KHTML like Gecko) Chrome/35.0.1916.141 Safari/537.36", "Mozilla/5.0 (Linux; Android 4.4.2; en-au; SAMSUNG SM-G900I Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/1.6" ); $useragent = $useragents[array_rand($useragents)]; $gender = ''; $age = ''; $longitude = ''; $latitude = ''; $location = ''; if(! empty($longitude) && ! empty($latitude)) { $location=$latitude.",".$longitude; } $ext_user_id = getadqCookie(); //$proxy = $_SERVER["REMOTE_ADDR"]; //$useragent = $_SERVER["HTTP_USER_AGENT"]; $params = array(); $params = array( 'ua=' => urlencode($useragent), 'TIP=' => urlencode($proxy), 'aclang=' => 'php', 'acver=" => "18072011', 'cat' => 's1,en', 'REQUEST_METHOD' => urlencode($_SERVER['REQUEST_METHOD']), //Returns the request method used to access the page (such as POST) 'REQUEST_TIME' => urlencode($_SERVER['REQUEST_TIME']), //Returns the timestamp of the start of the request (such as 1377687496) 'REQUEST_TIME_FLOAT' => urlencode($_SERVER['REQUEST_TIME_FLOAT']), //The timestamp of the start of the request, with microsecond precision. 'REQUEST_URI' => urlencode($_SERVER['REQUEST_URI']), // 'HTTP_ACCEPT' => urlencode($_SERVER['HTTP_ACCEPT']), //Returns the Accept header from the current request 'HTTP_ACCEPT_CHARSET' => urlencode($_SERVER['HTTP_ACCEPT_CHARSET']), //Returns the Accept_Charset header from the current request (such as utf-8,ISO-8859-1) 'HTTP_ACCEPT_ENCODING' => urlencode($_SERVER['HTTP_ACCEPT_ENCODING']), //Contents of the Accept-Encoding: header from the current request, if there is one. Example: 'gzip'. 'HTTP_ACCEPT_LANGUAGE' => urlencode($_SERVER['HTTP_ACCEPT_LANGUAGE']), //Contents of the Accept-Language: header from the current request, if there is one. Example: 'en'. 'HTTP_DNT' => urlencode($_SERVER['HTTP_DNT']), // 'HTTP_HOST' => urlencode($_SERVER['HTTP_HOST']), //Returns the Host header from the current request 'HTTP_REFERER' => urlencode($_SERVER['HTTP_REFERER']), //Returns the complete URL of the current page (not reliable because not all user-agents support it) 'HTTP_USER_AGENT' => urlencode($useragent) //Contents of the User-Agent: header from the current request, if there is one. This is a string denoting the user agent being which is accessing the page ); if (!empty($adq_params["ADQ_PARAMS"])){ foreach ($adq_params["ADQ_PARAMS"] as $key => $value){ $params[] = urlencode($key) . "=" . urlencode($value); } } /* foreach ($_SERVER as $key => $value) { if ((substr($key, 0, 4) == "HTTP") ||(substr($key, 0, 3) == "REQ")) { $params[] = $key . "=" . urlencode($value); } } */ $post = implode("&", $params); $extras ="&gender=".$gender."&age=".$age."&location=".$location; if($ext_user_id != null) { $extras .= "&ext_user_id=".$ext_user_id; } $post .= $extras; $request = curl_init(); $request_timeout = 10; // 10 seconds timeout print_r($post); $adq_url = "http://ads.adiquity.com/mads"; curl_setopt_array($request, array( CURLOPT_URL => $adq_url, CURLOPT_RETURNTRANSFER => TRUE, CURLOPT_TIMEOUT => $request_timeout, CURLOPT_HTTPHEADER => array( "Content-Type: application/x-www-form-urlencoded", "Connection: Close", "X-ADQ-pazid: adqnq5kk-14zlpzeo-vvc88"), URLOPT_POSTFIELDS, $post ) ); $contents = curl_exec($request); echo "proxy:\n\n". $proxy ."\r\n\n||\n\n"; echo "useragent:\n\n". $useragent ."\r\n\n||\n\n"; if (curl_getinfo($request,CURLINFO_HTTP_CODE) == 200){ if ($contents === TRUE || $contents === FALSE) { $contents = ""; } echo $contents; } curl_close($request); } function getadqCookie(){ global $Adq_COOKIE; $ext_user_id = NULL; if(isset($_COOKIE[$Adq_COOKIE])) { $ext_user_id = $_COOKIE[$Adq_COOKIE]; } return $ext_user_id; } function setUserCookie() { global $Adq_COOKIE; if(! isset($_COOKIE[$Adq_COOKIE])) { $value = time().rand(); setcookie($Adq_COOKIE, $value, time()+3600*24*75, "/"); } } function deleteUserCookie() { global $Adq_COOKIE; unset($_COOKIE[$Adq_COOKIE]); $res = setcookie($Adq_COOKIE, '', time() - 3600); } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mN6Sg
function name:  (null)
number of ops:  4
compiled vars:  !0 = $Adq_COOKIE
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   ASSIGN                                                   !0, 'adq_site_cookie'
   12     1        INIT_FCALL_BY_NAME                                       'setUserCookie'
          2        DO_FCALL                                      0          
  175     3      > RETURN                                                   1

Function adiquity_ad:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 22, Position 2 = 25
Branch analysis from position: 22
2 jumps found. (Code = 43) Position 1 = 26, Position 2 = 29
Branch analysis from position: 26
2 jumps found. (Code = 43) Position 1 = 118, Position 2 = 134
Branch analysis from position: 118
2 jumps found. (Code = 77) Position 1 = 120, Position 2 = 133
Branch analysis from position: 120
2 jumps found. (Code = 78) Position 1 = 121, Position 2 = 133
Branch analysis from position: 121
1 jumps found. (Code = 42) Position 1 = 120
Branch analysis from position: 120
Branch analysis from position: 133
2 jumps found. (Code = 43) Position 1 = 147, Position 2 = 149
Branch analysis from position: 147
2 jumps found. (Code = 43) Position 1 = 190, Position 2 = 197
Branch analysis from position: 190
2 jumps found. (Code = 47) Position 1 = 192, Position 2 = 194
Branch analysis from position: 192
2 jumps found. (Code = 43) Position 1 = 195, Position 2 = 196
Branch analysis from position: 195
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 196
Branch analysis from position: 194
Branch analysis from position: 197
Branch analysis from position: 149
Branch analysis from position: 133
Branch analysis from position: 134
Branch analysis from position: 29
Branch analysis from position: 25
filename:       /in/mN6Sg
function name:  adiquity_ad
number of ops:  201
compiled vars:  !0 = $adq_params, !1 = $Adq_COOKIE, !2 = $proxies, !3 = $proxy, !4 = $useragents, !5 = $useragent, !6 = $gender, !7 = $age, !8 = $longitude, !9 = $latitude, !10 = $location, !11 = $ext_user_id, !12 = $params, !13 = $value, !14 = $key, !15 = $post, !16 = $extras, !17 = $request, !18 = $request_timeout, !19 = $adq_url, !20 = $contents
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   RECV                                             !0      
   15     1        BIND_GLOBAL                                              !1, 'Adq_COOKIE'
   17     2        ASSIGN                                                   !2, <array>
   29     3        INIT_FCALL                                               'array_rand'
          4        SEND_VAR                                                 !2
          5        DO_ICALL                                         $22     
          6        FETCH_DIM_R                                      ~23     !2, $22
          7        ASSIGN                                                   !3, ~23
   31     8        ASSIGN                                                   !4, <array>
   58     9        INIT_FCALL                                               'array_rand'
         10        SEND_VAR                                                 !4
         11        DO_ICALL                                         $26     
         12        FETCH_DIM_R                                      ~27     !4, $26
         13        ASSIGN                                                   !5, ~27
   60    14        ASSIGN                                                   !6, ''
   61    15        ASSIGN                                                   !7, ''
   62    16        ASSIGN                                                   !8, ''
   63    17        ASSIGN                                                   !9, ''
   64    18        ASSIGN                                                   !10, ''
   66    19        ISSET_ISEMPTY_CV                                 ~34     !8
         20        BOOL_NOT                                         ~35     ~34
         21      > JMPZ_EX                                          ~35     ~35, ->25
         22    >   ISSET_ISEMPTY_CV                                 ~36     !9
         23        BOOL_NOT                                         ~37     ~36
         24        BOOL                                             ~35     ~37
         25    > > JMPZ                                                     ~35, ->29
   67    26    >   CONCAT                                           ~38     !9, '%2C'
         27        CONCAT                                           ~39     ~38, !8
         28        ASSIGN                                                   !10, ~39
   69    29    >   INIT_FCALL_BY_NAME                                       'getadqCookie'
         30        DO_FCALL                                      0  $41     
         31        ASSIGN                                                   !11, $41
   74    32        ASSIGN                                                   !12, <array>
   76    33        INIT_FCALL                                               'urlencode'
         34        SEND_VAR                                                 !5
         35        DO_ICALL                                         $44     
         36        INIT_ARRAY                                       ~45     $44, 'ua%3D'
   77    37        INIT_FCALL                                               'urlencode'
         38        SEND_VAR                                                 !3
         39        DO_ICALL                                         $46     
         40        ADD_ARRAY_ELEMENT                                ~45     $46, 'TIP%3D'
   78    41        ADD_ARRAY_ELEMENT                                ~45     'php', 'aclang%3D'
   79    42        ADD_ARRAY_ELEMENT                                ~45     'acver%3D%22+%3D%3E+%2218072011'
   80    43        ADD_ARRAY_ELEMENT                                ~45     's1%2Cen', 'cat'
   82    44        INIT_FCALL                                               'urlencode'
         45        FETCH_R                      global              ~47     '_SERVER'
         46        FETCH_DIM_R                                      ~48     ~47, 'REQUEST_METHOD'
         47        SEND_VAL                                                 ~48
         48        DO_ICALL                                         $49     
         49        ADD_ARRAY_ELEMENT                                ~45     $49, 'REQUEST_METHOD'
   83    50        INIT_FCALL                                               'urlencode'
         51        FETCH_R                      global              ~50     '_SERVER'
         52        FETCH_DIM_R                                      ~51     ~50, 'REQUEST_TIME'
         53        SEND_VAL                                                 ~51
         54        DO_ICALL                                         $52     
         55        ADD_ARRAY_ELEMENT                                ~45     $52, 'REQUEST_TIME'
   84    56        INIT_FCALL                                               'urlencode'
         57        FETCH_R                      global              ~53     '_SERVER'
         58        FETCH_DIM_R                                      ~54     ~53, 'REQUEST_TIME_FLOAT'
         59        SEND_VAL                                                 ~54
         60        DO_ICALL                                         $55     
         61        ADD_ARRAY_ELEMENT                                ~45     $55, 'REQUEST_TIME_FLOAT'
   85    62        INIT_FCALL                                               'urlencode'
         63        FETCH_R                      global              ~56     '_SERVER'
         64        FETCH_DIM_R                                      ~57     ~56, 'REQUEST_URI'
         65        SEND_VAL                                                 ~57
         66        DO_ICALL                                         $58     
         67        ADD_ARRAY_ELEMENT                                ~45     $58, 'REQUEST_URI'
   86    68        INIT_FCALL                                               'urlencode'
         69        FETCH_R                      global              ~59     '_SERVER'
         70        FETCH_DIM_R                                      ~60     ~59, 'HTTP_ACCEPT'
         71        SEND_VAL                                                 ~60
         72        DO_ICALL                                         $61     
         73        ADD_ARRAY_ELEMENT                                ~45     $61, 'HTTP_ACCEPT'
   87    74        INIT_FCALL                                               'urlencode'
         75        FETCH_R                      global              ~62     '_SERVER'
         76        FETCH_DIM_R                                      ~63     ~62, 'HTTP_ACCEPT_CHARSET'
         77        SEND_VAL                                                 ~63
         78        DO_ICALL                                         $64     
         79        ADD_ARRAY_ELEMENT                                ~45     $64, 'HTTP_ACCEPT_CHARSET'
   88    80        INIT_FCALL                                               'urlencode'
         81        FETCH_R                      global              ~65     '_SERVER'
         82        FETCH_DIM_R                                      ~66     ~65, 'HTTP_ACCEPT_ENCODING'
         83        SEND_VAL                                                 ~66
         84        DO_ICALL                                         $67     
         85        ADD_ARRAY_ELEMENT                                ~45     $67, 'HTTP_ACCEPT_ENCODING'
   89    86        INIT_FCALL                                               'urlencode'
         87        FETCH_R                      global              ~68     '_SERVER'
         88        FETCH_DIM_R                                      ~69     ~68, 'HTTP_ACCEPT_LANGUAGE'
         89        SEND_VAL                                                 ~69
         90        DO_ICALL                                         $70     
         91        ADD_ARRAY_ELEMENT                                ~45     $70, 'HTTP_ACCEPT_LANGUAGE'
   90    92        INIT_FCALL                                               'urlencode'
         93        FETCH_R                      global              ~71     '_SERVER'
         94        FETCH_DIM_R                                      ~72     ~71, 'HTTP_DNT'
         95        SEND_VAL                                                 ~72
         96        DO_ICALL                                         $73     
         97        ADD_ARRAY_ELEMENT                                ~45     $73, 'HTTP_DNT'
   91    98        INIT_FCALL                                               'urlencode'
         99        FETCH_R                      global              ~74     '_SERVER'
        100        FETCH_DIM_R                                      ~75     ~74, 'HTTP_HOST'
        101        SEND_VAL                                                 ~75
        102        DO_ICALL                                         $76     
        103        ADD_ARRAY_ELEMENT                                ~45     $76, 'HTTP_HOST'
   92   104        INIT_FCALL                                               'urlencode'
        105        FETCH_R                      global              ~77     '_SERVER'
        106        FETCH_DIM_R                                      ~78     ~77, 'HTTP_REFERER'
        107        SEND_VAL                                                 ~78
        108        DO_ICALL                                         $79     
        109        ADD_ARRAY_ELEMENT                                ~45     $79, 'HTTP_REFERER'
   93   110        INIT_FCALL                                               'urlencode'
        111        SEND_VAR                                                 !5
        112        DO_ICALL                                         $80     
        113        ADD_ARRAY_ELEMENT                                ~45     $80, 'HTTP_USER_AGENT'
   75   114        ASSIGN                                                   !12, ~45
   97   115        ISSET_ISEMPTY_DIM_OBJ                         1  ~82     !0, 'ADQ_PARAMS'
        116        BOOL_NOT                                         ~83     ~82
        117      > JMPZ                                                     ~83, ->134
   98   118    >   FETCH_DIM_R                                      ~84     !0, 'ADQ_PARAMS'
        119      > FE_RESET_R                                       $85     ~84, ->133
        120    > > FE_FETCH_R                                       ~86     $85, !13, ->133
        121    >   ASSIGN                                                   !14, ~86
   99   122        INIT_FCALL                                               'urlencode'
        123        SEND_VAR                                                 !14
        124        DO_ICALL                                         $89     
        125        CONCAT                                           ~90     $89, '%3D'
        126        INIT_FCALL                                               'urlencode'
        127        SEND_VAR                                                 !13
        128        DO_ICALL                                         $91     
        129        CONCAT                                           ~92     ~90, $91
        130        ASSIGN_DIM                                               !12
        131        OP_DATA                                                  ~92
   98   132      > JMP                                                      ->120
        133    >   FE_FREE                                                  $85
  110   134    >   INIT_FCALL                                               'implode'
        135        SEND_VAL                                                 '%26'
        136        SEND_VAR                                                 !12
        137        DO_ICALL                                         $93     
        138        ASSIGN                                                   !15, $93
  111   139        CONCAT                                           ~95     '%26gender%3D', !6
        140        CONCAT                                           ~96     ~95, '%26age%3D'
        141        CONCAT                                           ~97     ~96, !7
        142        CONCAT                                           ~98     ~97, '%26location%3D'
        143        CONCAT                                           ~99     ~98, !10
        144        ASSIGN                                                   !16, ~99
  113   145        IS_NOT_EQUAL                                             !11, null
        146      > JMPZ                                                     ~101, ->149
  114   147    >   CONCAT                                           ~102    '%26ext_user_id%3D', !11
        148        ASSIGN_OP                                     8          !16, ~102
  118   149    >   ASSIGN_OP                                     8          !15, !16
  119   150        INIT_FCALL_BY_NAME                                       'curl_init'
        151        DO_FCALL                                      0  $105    
        152        ASSIGN                                                   !17, $105
  120   153        ASSIGN                                                   !18, 10
  122   154        INIT_FCALL                                               'print_r'
        155        SEND_VAR                                                 !15
        156        DO_ICALL                                                 
  124   157        ASSIGN                                                   !19, 'http%3A%2F%2Fads.adiquity.com%2Fmads'
  126   158        INIT_FCALL_BY_NAME                                       'curl_setopt_array'
        159        SEND_VAR_EX                                              !17
  127   160        FETCH_CONSTANT                                   ~110    'CURLOPT_URL'
        161        INIT_ARRAY                                       ~111    !19, ~110
  128   162        FETCH_CONSTANT                                   ~112    'CURLOPT_RETURNTRANSFER'
  127   163        ADD_ARRAY_ELEMENT                                ~111    <true>, ~112
  129   164        FETCH_CONSTANT                                   ~113    'CURLOPT_TIMEOUT'
        165        ADD_ARRAY_ELEMENT                                ~111    !18, ~113
  130   166        FETCH_CONSTANT                                   ~114    'CURLOPT_HTTPHEADER'
  127   167        ADD_ARRAY_ELEMENT                                ~111    <array>, ~114
  134   168        FETCH_CONSTANT                                   ~115    'URLOPT_POSTFIELDS'
        169        ADD_ARRAY_ELEMENT                                ~111    ~115
        170        ADD_ARRAY_ELEMENT                                ~111    !15
        171        SEND_VAL_EX                                              ~111
        172        DO_FCALL                                      0          
  138   173        INIT_FCALL_BY_NAME                                       'curl_exec'
        174        SEND_VAR_EX                                              !17
        175        DO_FCALL                                      0  $117    
        176        ASSIGN                                                   !20, $117
  140   177        CONCAT                                           ~119    'proxy%3A%0A%0A', !3
        178        CONCAT                                           ~120    ~119, '%0D%0A%0A%7C%7C%0A%0A'
        179        ECHO                                                     ~120
  141   180        CONCAT                                           ~121    'useragent%3A%0A%0A', !5
        181        CONCAT                                           ~122    ~121, '%0D%0A%0A%7C%7C%0A%0A'
        182        ECHO                                                     ~122
  143   183        INIT_FCALL_BY_NAME                                       'curl_getinfo'
        184        SEND_VAR_EX                                              !17
        185        FETCH_CONSTANT                                   ~123    'CURLINFO_HTTP_CODE'
        186        SEND_VAL_EX                                              ~123
        187        DO_FCALL                                      0  $124    
        188        IS_EQUAL                                                 $124, 200
        189      > JMPZ                                                     ~125, ->197
  144   190    >   TYPE_CHECK                                    8  ~126    !20
        191      > JMPNZ_EX                                         ~126    ~126, ->194
        192    >   TYPE_CHECK                                    4  ~127    !20
        193        BOOL                                             ~126    ~127
        194    > > JMPZ                                                     ~126, ->196
  145   195    >   ASSIGN                                                   !20, ''
  147   196    >   ECHO                                                     !20
  149   197    >   INIT_FCALL_BY_NAME                                       'curl_close'
        198        SEND_VAR_EX                                              !17
        199        DO_FCALL                                      0          
  150   200      > RETURN                                                   null

End of function adiquity_ad

Function getadqcookie:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 8
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/mN6Sg
function name:  getadqCookie
number of ops:  10
compiled vars:  !0 = $Adq_COOKIE, !1 = $ext_user_id
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  153     0  E >   BIND_GLOBAL                                              !0, 'Adq_COOKIE'
  154     1        ASSIGN                                                   !1, null
  155     2        FETCH_IS                                         ~3      '_COOKIE'
          3        ISSET_ISEMPTY_DIM_OBJ                         0          ~3, !0
          4      > JMPZ                                                     ~4, ->8
  156     5    >   FETCH_R                      global              ~5      '_COOKIE'
          6        FETCH_DIM_R                                      ~6      ~5, !0
          7        ASSIGN                                                   !1, ~6
  158     8    > > RETURN                                                   !1
  159     9*     > RETURN                                                   null

End of function getadqcookie

Function setusercookie:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 20
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
filename:       /in/mN6Sg
function name:  setUserCookie
number of ops:  21
compiled vars:  !0 = $Adq_COOKIE, !1 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  162     0  E >   BIND_GLOBAL                                              !0, 'Adq_COOKIE'
  163     1        FETCH_IS                                         ~2      '_COOKIE'
          2        ISSET_ISEMPTY_DIM_OBJ                         0  ~3      ~2, !0
          3        BOOL_NOT                                         ~4      ~3
          4      > JMPZ                                                     ~4, ->20
  164     5    >   INIT_FCALL                                               'time'
          6        DO_ICALL                                         $5      
          7        INIT_FCALL                                               'rand'
          8        DO_ICALL                                         $6      
          9        CONCAT                                           ~7      $5, $6
         10        ASSIGN                                                   !1, ~7
  165    11        INIT_FCALL                                               'setcookie'
         12        SEND_VAR                                                 !0
         13        SEND_VAR                                                 !1
         14        INIT_FCALL                                               'time'
         15        DO_ICALL                                         $9      
         16        ADD                                              ~10     $9, 6480000
         17        SEND_VAL                                                 ~10
         18        SEND_VAL                                                 '%2F'
         19        DO_ICALL                                                 
  167    20    > > RETURN                                                   null

End of function setusercookie

Function deleteusercookie:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mN6Sg
function name:  deleteUserCookie
number of ops:  13
compiled vars:  !0 = $Adq_COOKIE, !1 = $res
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  170     0  E >   BIND_GLOBAL                                              !0, 'Adq_COOKIE'
  171     1        FETCH_UNSET                                      $2      '_COOKIE'
          2        UNSET_DIM                                                $2, !0
  172     3        INIT_FCALL                                               'setcookie'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 ''
          6        INIT_FCALL                                               'time'
          7        DO_ICALL                                         $3      
          8        SUB                                              ~4      $3, 3600
          9        SEND_VAL                                                 ~4
         10        DO_ICALL                                         $5      
         11        ASSIGN                                                   !1, $5
  173    12      > RETURN                                                   null

End of function deleteusercookie

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
187.44 ms | 1420 KiB | 27 Q