3v4l.org

run code in 300+ PHP versions simultaneously
<?php while (($peopleData = fgetcsv($handle, 1000, ",")) !== FALSE) { // echo count($peopleData) . ' - '. $fieldsCount; exit; if (count($peopleData) == $fieldsCount) { $attributes = array_combine(array_merge($this->fileUploadFields, $customColumns), $peopleData); $attributes = $this->formatAttributes($attributes); $model = null; if (null != $attributes['firstName'] && null != $attributes['lastName'] && null != $attributes['dateOfBirth']) { $model = User::model()->findByAttributes(array('firstName' => $attributes['firstName'], 'lastName' => $attributes['lastName'], 'dateOfBirth' => $attributes['dateOfBirth']), 'userType NOT IN ("' . User::POLITICIAN . '")'); } if (null == $model && null != $attributes['email']) { $model = User::model()->findByAttributes(array('email' => $attributes['email']), 'userType NOT IN ("' . User::POLITICIAN . '")'); } // Check Email contact limit if (!empty($attributes['email']) && $tc->packageInfo['totalEmailContacts'] < $emailContactsCount) { $this->isEmailContactLimitExceed = true; break; } if ($model == null) { $model = new User; $model->joinedDate = date('Y-m-d H:i:s'); $model->userType = User::SUPPORTER; $customFields = CustomValue::model()->getCustomData(CustomType::CF_PEOPLE, 0, CustomField::ACTION_CREATE, $attributes, CustomType::CF_SUB_PEOPLE_BULK_INSERT); } else { if ($model->userType != User::NON_SUPPORTER) { $model->userType = User::SUPPORTER; } $customFields = CustomValue::model()->getCustomData(CustomType::CF_PEOPLE, $model->id, CustomField::ACTION_CREATE, $attributes, CustomType::CF_SUB_PEOPLE_BULK_INSERT); } $model->scenario = 'bulkPeople'; $model->attributes = $attributes; $model->countryCode = $this->countryCode; $model->isManual = 1; $oldKeywords = $model->keywords; $model->keywords = empty($this->keywords) ? $oldKeywords : $this->keywords; $model->delStatus = User::NOTDELETE; $model->supporterDate = date('Y-m-d H:i:s'); $customErrors = array(); foreach ($attributes as $key => $val) { foreach ($customFields as $k => $customField) { if ($key == $customField->fieldName) { $customField->fieldValue = $val; $customValues[$customField->fieldName] = $val; $customField->validate(); $customErrors[] = $customField->errors; } } } $attributes = array_merge($model->attributes, $customValues); try { $valid = $model->validate(); $valid = CustomField::validateCustomFieldList($customFields) && $valid; if ($valid && $model->saveWithCustomData($customFields, null, false)) { $this->bulkSuccessCount++; if (!empty($model->email)) { $emailContactsCount++; } Yii::app()->appLog->writeLog("People created. People data:" . @json_encode($attributes)); $fbModule = FbProfile::model()->findByAttributes(array('userId' => $model->id)); if ($fbModule != null) { Feed::model()->updateFeedUserType($fbModule->fbUserId, $model->userType); } $twModule = TwProfile::model()->findByAttributes(array('userId' => $model->id)); if ($twModule != null) { Feed::model()->updateFeedUserType($twModule->twUserId, $model->userType); } } else { $errorKey = array_keys($model->errors); if (empty($model->errors)) { $errorKey = array_keys(current(array_filter($customErrors))); $firstElement = current(array_filter($customErrors)); $errorMsg = $firstElement[$errorKey[0]][0]; } else { $errorMsg = $model->errors[$errorKey[0]][0]; } Yii::app()->appLog->writeLog("People create failed. People data:" . @json_encode($attributes)); $this->fileErrors[] = Yii::t('messages', 'Failed,') . $errorMsg . "," . implode(",", $peopleData); } } catch (Exception $e) { Yii::app()->appLog->writeLog("People create failed. Error:{$e->getMessage()}"); } } else { Yii::app()->appLog->writeLog("People create failed. Data line:" . @json_encode($peopleData)); $this->fileErrors[] = Yii::t('messages', 'Failed, Number of data fields not match.') . "," . implode(",", $peopleData); } } fclose($handle);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 363
Branch analysis from position: 363
2 jumps found. (Code = 44) Position 1 = 371, Position 2 = 1
Branch analysis from position: 371
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 1
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 337
Branch analysis from position: 4
2 jumps found. (Code = 46) Position 1 = 24, Position 2 = 27
Branch analysis from position: 24
2 jumps found. (Code = 46) Position 1 = 28, Position 2 = 31
Branch analysis from position: 28
2 jumps found. (Code = 43) Position 1 = 32, Position 2 = 48
Branch analysis from position: 32
2 jumps found. (Code = 46) Position 1 = 50, Position 2 = 53
Branch analysis from position: 50
2 jumps found. (Code = 43) Position 1 = 54, Position 2 = 66
Branch analysis from position: 54
2 jumps found. (Code = 46) Position 1 = 69, Position 2 = 73
Branch analysis from position: 69
2 jumps found. (Code = 43) Position 1 = 74, Position 2 = 78
Branch analysis from position: 74
1 jumps found. (Code = 42) Position 1 = 371
Branch analysis from position: 371
Branch analysis from position: 78
2 jumps found. (Code = 43) Position 1 = 80, Position 2 = 105
Branch analysis from position: 80
1 jumps found. (Code = 42) Position 1 = 127
Branch analysis from position: 127
2 jumps found. (Code = 43) Position 1 = 142, Position 2 = 144
Branch analysis from position: 142
1 jumps found. (Code = 42) Position 1 = 147
Branch analysis from position: 147
2 jumps found. (Code = 77) Position 1 = 159, Position 2 = 180
Branch analysis from position: 159
2 jumps found. (Code = 78) Position 1 = 160, Position 2 = 180
Branch analysis from position: 160
2 jumps found. (Code = 77) Position 1 = 162, Position 2 = 178
Branch analysis from position: 162
2 jumps found. (Code = 78) Position 1 = 163, Position 2 = 178
Branch analysis from position: 163
2 jumps found. (Code = 43) Position 1 = 167, Position 2 = 177
Branch analysis from position: 167
1 jumps found. (Code = 42) Position 1 = 162
Branch analysis from position: 162
Branch analysis from position: 177
Branch analysis from position: 178
1 jumps found. (Code = 42) Position 1 = 159
Branch analysis from position: 159
Branch analysis from position: 178
Branch analysis from position: 180
2 jumps found. (Code = 46) Position 1 = 194, Position 2 = 195
Branch analysis from position: 194
2 jumps found. (Code = 46) Position 1 = 197, Position 2 = 203
Branch analysis from position: 197
2 jumps found. (Code = 43) Position 1 = 204, Position 2 = 263
Branch analysis from position: 204
2 jumps found. (Code = 43) Position 1 = 209, Position 2 = 210
Branch analysis from position: 209
2 jumps found. (Code = 43) Position 1 = 232, Position 2 = 242
Branch analysis from position: 232
2 jumps found. (Code = 43) Position 1 = 252, Position 2 = 262
Branch analysis from position: 252
1 jumps found. (Code = 42) Position 1 = 324
Branch analysis from position: 324
1 jumps found. (Code = 42) Position 1 = 336
Branch analysis from position: 336
1 jumps found. (Code = 42) Position 1 = 363
Branch analysis from position: 363
Branch analysis from position: 262
Branch analysis from position: 242
Branch analysis from position: 210
Branch analysis from position: 263
2 jumps found. (Code = 43) Position 1 = 270, Position 2 = 292
Branch analysis from position: 270
1 jumps found. (Code = 42) Position 1 = 297
Branch analysis from position: 297
1 jumps found. (Code = 42) Position 1 = 336
Branch analysis from position: 336
Branch analysis from position: 292
1 jumps found. (Code = 42) Position 1 = 336
Branch analysis from position: 336
Branch analysis from position: 203
Branch analysis from position: 195
Branch analysis from position: 180
Branch analysis from position: 144
2 jumps found. (Code = 77) Position 1 = 159, Position 2 = 180
Branch analysis from position: 159
Branch analysis from position: 180
Branch analysis from position: 105
2 jumps found. (Code = 43) Position 1 = 109, Position 2 = 112
Branch analysis from position: 109
2 jumps found. (Code = 43) Position 1 = 142, Position 2 = 144
Branch analysis from position: 142
Branch analysis from position: 144
Branch analysis from position: 112
Branch analysis from position: 73
Branch analysis from position: 66
Branch analysis from position: 53
Branch analysis from position: 48
Branch analysis from position: 31
Branch analysis from position: 27
Branch analysis from position: 337
2 jumps found. (Code = 44) Position 1 = 371, Position 2 = 1
Branch analysis from position: 371
Branch analysis from position: 1
Found catch point at position: 325
Branch analysis from position: 325
2 jumps found. (Code = 107) Position 1 = 326, Position 2 = -2
Branch analysis from position: 326
1 jumps found. (Code = 42) Position 1 = 363
Branch analysis from position: 363
filename:       /in/QZeg2
function name:  (null)
number of ops:  375
compiled vars:  !0 = $peopleData, !1 = $fieldsCount, !2 = $attributes, !3 = $customColumns, !4 = $model, !5 = $tc, !6 = $emailContactsCount, !7 = $customFields, !8 = $oldKeywords, !9 = $customErrors, !10 = $val, !11 = $key, !12 = $customField, !13 = $k, !14 = $customValues, !15 = $valid, !16 = $fbModule, !17 = $twModule, !18 = $errorKey, !19 = $firstElement, !20 = $errorMsg, !21 = $e, !22 = $handle
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > JMP                                                      ->363
    5     1    >   COUNT                                            ~23     !0
          2        IS_EQUAL                                                 !1, ~23
          3      > JMPZ                                                     ~24, ->337
    7     4    >   INIT_FCALL                                               'array_combine'
          5        INIT_FCALL                                               'array_merge'
          6        FETCH_THIS                                       $25     
          7        FETCH_OBJ_R                                      ~26     $25, 'fileUploadFields'
          8        SEND_VAL                                                 ~26
          9        SEND_VAR                                                 !3
         10        DO_ICALL                                         $27     
         11        SEND_VAR                                                 $27
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $28     
         14        ASSIGN                                                   !2, $28
    8    15        FETCH_THIS                                       $30     
         16        INIT_METHOD_CALL                                         $30, 'formatAttributes'
         17        SEND_VAR_EX                                              !2
         18        DO_FCALL                                      0  $31     
         19        ASSIGN                                                   !2, $31
   10    20        ASSIGN                                                   !4, null
   11    21        FETCH_DIM_R                                      ~34     !2, 'firstName'
         22        IS_NOT_EQUAL                                     ~35     ~34, null
         23      > JMPZ_EX                                          ~35     ~35, ->27
         24    >   FETCH_DIM_R                                      ~36     !2, 'lastName'
         25        IS_NOT_EQUAL                                     ~37     ~36, null
         26        BOOL                                             ~35     ~37
         27    > > JMPZ_EX                                          ~35     ~35, ->31
         28    >   FETCH_DIM_R                                      ~38     !2, 'dateOfBirth'
         29        IS_NOT_EQUAL                                     ~39     ~38, null
         30        BOOL                                             ~35     ~39
         31    > > JMPZ                                                     ~35, ->48
   12    32    >   INIT_STATIC_METHOD_CALL                                  'User', 'model'
         33        DO_FCALL                                      0  $40     
         34        INIT_METHOD_CALL                                         $40, 'findByAttributes'
         35        FETCH_DIM_R                                      ~41     !2, 'firstName'
         36        INIT_ARRAY                                       ~42     ~41, 'firstName'
         37        FETCH_DIM_R                                      ~43     !2, 'lastName'
         38        ADD_ARRAY_ELEMENT                                ~42     ~43, 'lastName'
         39        FETCH_DIM_R                                      ~44     !2, 'dateOfBirth'
         40        ADD_ARRAY_ELEMENT                                ~42     ~44, 'dateOfBirth'
         41        SEND_VAL_EX                                              ~42
         42        FETCH_CLASS_CONSTANT                             ~45     'User', 'POLITICIAN'
         43        CONCAT                                           ~46     'userType+NOT+IN+%28%22', ~45
         44        CONCAT                                           ~47     ~46, '%22%29'
         45        SEND_VAL_EX                                              ~47
         46        DO_FCALL                                      0  $48     
         47        ASSIGN                                                   !4, $48
   15    48    >   IS_EQUAL                                         ~50     !4, null
         49      > JMPZ_EX                                          ~50     ~50, ->53
         50    >   FETCH_DIM_R                                      ~51     !2, 'email'
         51        IS_NOT_EQUAL                                     ~52     ~51, null
         52        BOOL                                             ~50     ~52
         53    > > JMPZ                                                     ~50, ->66
   16    54    >   INIT_STATIC_METHOD_CALL                                  'User', 'model'
         55        DO_FCALL                                      0  $53     
         56        INIT_METHOD_CALL                                         $53, 'findByAttributes'
         57        FETCH_DIM_R                                      ~54     !2, 'email'
         58        INIT_ARRAY                                       ~55     ~54, 'email'
         59        SEND_VAL_EX                                              ~55
         60        FETCH_CLASS_CONSTANT                             ~56     'User', 'POLITICIAN'
         61        CONCAT                                           ~57     'userType+NOT+IN+%28%22', ~56
         62        CONCAT                                           ~58     ~57, '%22%29'
         63        SEND_VAL_EX                                              ~58
         64        DO_FCALL                                      0  $59     
         65        ASSIGN                                                   !4, $59
   19    66    >   ISSET_ISEMPTY_DIM_OBJ                         1  ~61     !2, 'email'
         67        BOOL_NOT                                         ~62     ~61
         68      > JMPZ_EX                                          ~62     ~62, ->73
         69    >   FETCH_OBJ_R                                      ~63     !5, 'packageInfo'
         70        FETCH_DIM_R                                      ~64     ~63, 'totalEmailContacts'
         71        IS_SMALLER                                       ~65     ~64, !6
         72        BOOL                                             ~62     ~65
         73    > > JMPZ                                                     ~62, ->78
   20    74    >   FETCH_THIS                                       $66     
         75        ASSIGN_OBJ                                               $66, 'isEmailContactLimitExceed'
         76        OP_DATA                                                  <true>
   21    77      > JMP                                                      ->371
   24    78    >   IS_EQUAL                                                 !4, null
         79      > JMPZ                                                     ~68, ->105
   25    80    >   NEW                                              $69     'User'
         81        DO_FCALL                                      0          
         82        ASSIGN                                                   !4, $69
   26    83        INIT_FCALL                                               'date'
         84        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
         85        DO_ICALL                                         $73     
         86        ASSIGN_OBJ                                               !4, 'joinedDate'
         87        OP_DATA                                                  $73
   27    88        FETCH_CLASS_CONSTANT                             ~75     'User', 'SUPPORTER'
         89        ASSIGN_OBJ                                               !4, 'userType'
         90        OP_DATA                                                  ~75
   28    91        INIT_STATIC_METHOD_CALL                                  'CustomValue', 'model'
         92        DO_FCALL                                      0  $76     
         93        INIT_METHOD_CALL                                         $76, 'getCustomData'
         94        FETCH_CLASS_CONSTANT                             ~77     'CustomType', 'CF_PEOPLE'
         95        SEND_VAL_EX                                              ~77
         96        SEND_VAL_EX                                              0
         97        FETCH_CLASS_CONSTANT                             ~78     'CustomField', 'ACTION_CREATE'
         98        SEND_VAL_EX                                              ~78
         99        SEND_VAR_EX                                              !2
        100        FETCH_CLASS_CONSTANT                             ~79     'CustomType', 'CF_SUB_PEOPLE_BULK_INSERT'
        101        SEND_VAL_EX                                              ~79
        102        DO_FCALL                                      0  $80     
        103        ASSIGN                                                   !7, $80
        104      > JMP                                                      ->127
   31   105    >   FETCH_OBJ_R                                      ~82     !4, 'userType'
        106        FETCH_CLASS_CONSTANT                             ~83     'User', 'NON_SUPPORTER'
        107        IS_NOT_EQUAL                                             ~82, ~83
        108      > JMPZ                                                     ~84, ->112
   32   109    >   FETCH_CLASS_CONSTANT                             ~86     'User', 'SUPPORTER'
        110        ASSIGN_OBJ                                               !4, 'userType'
        111        OP_DATA                                                  ~86
   34   112    >   INIT_STATIC_METHOD_CALL                                  'CustomValue', 'model'
        113        DO_FCALL                                      0  $87     
        114        INIT_METHOD_CALL                                         $87, 'getCustomData'
        115        FETCH_CLASS_CONSTANT                             ~88     'CustomType', 'CF_PEOPLE'
        116        SEND_VAL_EX                                              ~88
        117        CHECK_FUNC_ARG                                           
        118        FETCH_OBJ_FUNC_ARG                               $89     !4, 'id'
        119        SEND_FUNC_ARG                                            $89
        120        FETCH_CLASS_CONSTANT                             ~90     'CustomField', 'ACTION_CREATE'
        121        SEND_VAL_EX                                              ~90
        122        SEND_VAR_EX                                              !2
        123        FETCH_CLASS_CONSTANT                             ~91     'CustomType', 'CF_SUB_PEOPLE_BULK_INSERT'
        124        SEND_VAL_EX                                              ~91
        125        DO_FCALL                                      0  $92     
        126        ASSIGN                                                   !7, $92
   38   127    >   ASSIGN_OBJ                                               !4, 'scenario'
        128        OP_DATA                                                  'bulkPeople'
   39   129        ASSIGN_OBJ                                               !4, 'attributes'
        130        OP_DATA                                                  !2
   40   131        FETCH_THIS                                       $97     
        132        FETCH_OBJ_R                                      ~98     $97, 'countryCode'
        133        ASSIGN_OBJ                                               !4, 'countryCode'
        134        OP_DATA                                                  ~98
   41   135        ASSIGN_OBJ                                               !4, 'isManual'
        136        OP_DATA                                                  1
   42   137        FETCH_OBJ_R                                      ~100    !4, 'keywords'
        138        ASSIGN                                                   !8, ~100
   43   139        FETCH_THIS                                       $103    
        140        ISSET_ISEMPTY_PROP_OBJ                                   $103, 'keywords'
        141      > JMPZ                                                     ~104, ->144
        142    >   QM_ASSIGN                                        ~105    !8
        143      > JMP                                                      ->147
        144    >   FETCH_THIS                                       $106    
        145        FETCH_OBJ_R                                      ~107    $106, 'keywords'
        146        QM_ASSIGN                                        ~105    ~107
        147    >   ASSIGN_OBJ                                               !4, 'keywords'
        148        OP_DATA                                                  ~105
   44   149        FETCH_CLASS_CONSTANT                             ~109    'User', 'NOTDELETE'
        150        ASSIGN_OBJ                                               !4, 'delStatus'
        151        OP_DATA                                                  ~109
   45   152        INIT_FCALL                                               'date'
        153        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
        154        DO_ICALL                                         $111    
        155        ASSIGN_OBJ                                               !4, 'supporterDate'
        156        OP_DATA                                                  $111
   47   157        ASSIGN                                                   !9, <array>
   48   158      > FE_RESET_R                                       $113    !2, ->180
        159    > > FE_FETCH_R                                       ~114    $113, !10, ->180
        160    >   ASSIGN                                                   !11, ~114
   49   161      > FE_RESET_R                                       $116    !7, ->178
        162    > > FE_FETCH_R                                       ~117    $116, !12, ->178
        163    >   ASSIGN                                                   !13, ~117
   50   164        FETCH_OBJ_R                                      ~119    !12, 'fieldName'
        165        IS_EQUAL                                                 !11, ~119
        166      > JMPZ                                                     ~120, ->177
   51   167    >   ASSIGN_OBJ                                               !12, 'fieldValue'
        168        OP_DATA                                                  !10
   52   169        FETCH_OBJ_R                                      ~122    !12, 'fieldName'
        170        ASSIGN_DIM                                               !14, ~122
        171        OP_DATA                                                  !10
   53   172        INIT_METHOD_CALL                                         !12, 'validate'
        173        DO_FCALL                                      0          
   54   174        FETCH_OBJ_R                                      ~126    !12, 'errors'
        175        ASSIGN_DIM                                               !9
        176        OP_DATA                                                  ~126
   49   177    > > JMP                                                      ->162
        178    >   FE_FREE                                                  $116
   48   179      > JMP                                                      ->159
        180    >   FE_FREE                                                  $113
   58   181        INIT_FCALL                                               'array_merge'
        182        FETCH_OBJ_R                                      ~127    !4, 'attributes'
        183        SEND_VAL                                                 ~127
        184        SEND_VAR                                                 !14
        185        DO_ICALL                                         $128    
        186        ASSIGN                                                   !2, $128
   60   187        INIT_METHOD_CALL                                         !4, 'validate'
        188        DO_FCALL                                      0  $130    
        189        ASSIGN                                                   !15, $130
   61   190        INIT_STATIC_METHOD_CALL                                  'CustomField', 'validateCustomFieldList'
        191        SEND_VAR_EX                                              !7
        192        DO_FCALL                                      0  $132    
        193      > JMPZ_EX                                          ~133    $132, ->195
        194    >   BOOL                                             ~133    !15
        195    >   ASSIGN                                                   !15, ~133
   62   196      > JMPZ_EX                                          ~135    !15, ->203
        197    >   INIT_METHOD_CALL                                         !4, 'saveWithCustomData'
        198        SEND_VAR_EX                                              !7
        199        SEND_VAL_EX                                              null
        200        SEND_VAL_EX                                              <false>
        201        DO_FCALL                                      0  $136    
        202        BOOL                                             ~135    $136
        203    > > JMPZ                                                     ~135, ->263
   63   204    >   FETCH_THIS                                       $137    
        205        PRE_INC_OBJ                                              $137, 'bulkSuccessCount'
   64   206        ISSET_ISEMPTY_PROP_OBJ                           ~139    !4, 'email'
        207        BOOL_NOT                                         ~140    ~139
        208      > JMPZ                                                     ~140, ->210
   65   209    >   PRE_INC                                                  !6
   68   210    >   INIT_STATIC_METHOD_CALL                                  'Yii', 'app'
        211        DO_FCALL                                      0  $142    
        212        FETCH_OBJ_R                                      ~143    $142, 'appLog'
        213        INIT_METHOD_CALL                                         ~143, 'writeLog'
        214        BEGIN_SILENCE                                    ~144    
        215        INIT_FCALL                                               'json_encode'
        216        SEND_VAR                                                 !2
        217        DO_ICALL                                         $145    
        218        END_SILENCE                                              ~144
        219        CONCAT                                           ~146    'People+created.+People+data%3A', $145
        220        SEND_VAL_EX                                              ~146
        221        DO_FCALL                                      0          
   70   222        INIT_STATIC_METHOD_CALL                                  'FbProfile', 'model'
        223        DO_FCALL                                      0  $148    
        224        INIT_METHOD_CALL                                         $148, 'findByAttributes'
        225        FETCH_OBJ_R                                      ~149    !4, 'id'
        226        INIT_ARRAY                                       ~150    ~149, 'userId'
        227        SEND_VAL_EX                                              ~150
        228        DO_FCALL                                      0  $151    
        229        ASSIGN                                                   !16, $151
   72   230        IS_NOT_EQUAL                                             !16, null
        231      > JMPZ                                                     ~153, ->242
   73   232    >   INIT_STATIC_METHOD_CALL                                  'Feed', 'model'
        233        DO_FCALL                                      0  $154    
        234        INIT_METHOD_CALL                                         $154, 'updateFeedUserType'
        235        CHECK_FUNC_ARG                                           
        236        FETCH_OBJ_FUNC_ARG                               $155    !16, 'fbUserId'
        237        SEND_FUNC_ARG                                            $155
        238        CHECK_FUNC_ARG                                           
        239        FETCH_OBJ_FUNC_ARG                               $156    !4, 'userType'
        240        SEND_FUNC_ARG                                            $156
        241        DO_FCALL                                      0          
   76   242    >   INIT_STATIC_METHOD_CALL                                  'TwProfile', 'model'
        243        DO_FCALL                                      0  $158    
        244        INIT_METHOD_CALL                                         $158, 'findByAttributes'
        245        FETCH_OBJ_R                                      ~159    !4, 'id'
        246        INIT_ARRAY                                       ~160    ~159, 'userId'
        247        SEND_VAL_EX                                              ~160
        248        DO_FCALL                                      0  $161    
        249        ASSIGN                                                   !17, $161
   78   250        IS_NOT_EQUAL                                             !17, null
        251      > JMPZ                                                     ~163, ->262
   79   252    >   INIT_STATIC_METHOD_CALL                                  'Feed', 'model'
        253        DO_FCALL                                      0  $164    
        254        INIT_METHOD_CALL                                         $164, 'updateFeedUserType'
        255        CHECK_FUNC_ARG                                           
        256        FETCH_OBJ_FUNC_ARG                               $165    !17, 'twUserId'
        257        SEND_FUNC_ARG                                            $165
        258        CHECK_FUNC_ARG                                           
        259        FETCH_OBJ_FUNC_ARG                               $166    !4, 'userType'
        260        SEND_FUNC_ARG                                            $166
        261        DO_FCALL                                      0          
        262    > > JMP                                                      ->324
   83   263    >   INIT_FCALL                                               'array_keys'
        264        FETCH_OBJ_R                                      ~168    !4, 'errors'
        265        SEND_VAL                                                 ~168
        266        DO_ICALL                                         $169    
        267        ASSIGN                                                   !18, $169
   84   268        ISSET_ISEMPTY_PROP_OBJ                                   !4, 'errors'
        269      > JMPZ                                                     ~171, ->292
   85   270    >   INIT_FCALL                                               'array_keys'
        271        INIT_FCALL                                               'current'
        272        INIT_FCALL                                               'array_filter'
        273        SEND_VAR                                                 !9
        274        DO_ICALL                                         $172    
        275        SEND_VAR                                                 $172
        276        DO_ICALL                                         $173    
        277        SEND_VAR                                                 $173
        278        DO_ICALL                                         $174    
        279        ASSIGN                                                   !18, $174
   86   280        INIT_FCALL                                               'current'
        281        INIT_FCALL                                               'array_filter'
        282        SEND_VAR                                                 !9
        283        DO_ICALL                                         $176    
        284        SEND_VAR                                                 $176
        285        DO_ICALL                                         $177    
        286        ASSIGN                                                   !19, $177
   87   287        FETCH_DIM_R                                      ~179    !18, 0
        288        FETCH_DIM_R                                      ~180    !19, ~179
        289        FETCH_DIM_R                                      ~181    ~180, 0
        290        ASSIGN                                                   !20, ~181
        291      > JMP                                                      ->297
   89   292    >   FETCH_DIM_R                                      ~184    !18, 0
        293        FETCH_OBJ_R                                      ~183    !4, 'errors'
        294        FETCH_DIM_R                                      ~185    ~183, ~184
        295        FETCH_DIM_R                                      ~186    ~185, 0
        296        ASSIGN                                                   !20, ~186
   91   297    >   INIT_STATIC_METHOD_CALL                                  'Yii', 'app'
        298        DO_FCALL                                      0  $188    
        299        FETCH_OBJ_R                                      ~189    $188, 'appLog'
        300        INIT_METHOD_CALL                                         ~189, 'writeLog'
        301        BEGIN_SILENCE                                    ~190    
        302        INIT_FCALL                                               'json_encode'
        303        SEND_VAR                                                 !2
        304        DO_ICALL                                         $191    
        305        END_SILENCE                                              ~190
        306        CONCAT                                           ~192    'People+create+failed.+People+data%3A', $191
        307        SEND_VAL_EX                                              ~192
        308        DO_FCALL                                      0          
   92   309        FETCH_THIS                                       $194    
        310        INIT_STATIC_METHOD_CALL                                  'Yii', 't'
        311        SEND_VAL_EX                                              'messages'
        312        SEND_VAL_EX                                              'Failed%2C'
        313        DO_FCALL                                      0  $197    
        314        CONCAT                                           ~198    $197, !20
        315        CONCAT                                           ~199    ~198, '%2C'
        316        INIT_FCALL                                               'implode'
        317        SEN

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.5 ms | 1428 KiB | 29 Q