3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user = new \appointments\models\Users(); $user->load(35388); if ($user->isLoaded()) { $subUpdate = new \fastspring\FsprgSubscriptionUpdate($user->subscription_reference); $subUpdate->proration = true; $subUpdate->productPath = \appointments\libs\FastSpring::PRODUCT_PATH_LEVEL_2; $subUpdate->quantity = 1; $subManager = new \appointments\libs\SubscriptionsManager(); $resp = $subManager->update($user, $subUpdate); var_dump($resp); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 33
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 33
filename:       /in/reoWE
function name:  (null)
number of ops:  34
compiled vars:  !0 = $user, !1 = $subUpdate, !2 = $subManager, !3 = $resp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $4      'appointments%5Cmodels%5CUsers'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $4
    3     3        INIT_METHOD_CALL                                         !0, 'load'
          4        SEND_VAL_EX                                              35388
          5        DO_FCALL                                      0          
    4     6        INIT_METHOD_CALL                                         !0, 'isLoaded'
          7        DO_FCALL                                      0  $8      
          8      > JMPZ                                                     $8, ->33
    6     9    >   NEW                                              $9      'fastspring%5CFsprgSubscriptionUpdate'
         10        CHECK_FUNC_ARG                                           
         11        FETCH_OBJ_FUNC_ARG                               $10     !0, 'subscription_reference'
         12        SEND_FUNC_ARG                                            $10
         13        DO_FCALL                                      0          
         14        ASSIGN                                                   !1, $9
    7    15        ASSIGN_OBJ                                               !1, 'proration'
         16        OP_DATA                                                  <true>
    8    17        FETCH_CLASS_CONSTANT                             ~15     'appointments%5Clibs%5CFastSpring', 'PRODUCT_PATH_LEVEL_2'
         18        ASSIGN_OBJ                                               !1, 'productPath'
         19        OP_DATA                                                  ~15
    9    20        ASSIGN_OBJ                                               !1, 'quantity'
         21        OP_DATA                                                  1
   11    22        NEW                                              $17     'appointments%5Clibs%5CSubscriptionsManager'
         23        DO_FCALL                                      0          
         24        ASSIGN                                                   !2, $17
   12    25        INIT_METHOD_CALL                                         !2, 'update'
         26        SEND_VAR_EX                                              !0
         27        SEND_VAR_EX                                              !1
         28        DO_FCALL                                      0  $20     
         29        ASSIGN                                                   !3, $20
   13    30        INIT_FCALL                                               'var_dump'
         31        SEND_VAR                                                 !3
         32        DO_ICALL                                                 
   14    33    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.99 ms | 1400 KiB | 15 Q