3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test { public function employer_application_submission($params = array()) { $share_link = ''; if ((isset($params['video_link'])) && ($params['video_link'] != false)) { $link = 'http://video.careerone.com.au/ats.php?url=' . $params['video_link']; } else { $link = site_url('employer/dashboard'); } $body = 'You have a new Video Response for Job ' . $params['job_id'] . ' at ' . $this->wl['name'] . '. <br /><br /> You can view your Video Responses <a href="' . $link . '">here</a>. <br /><br /> ' . $share_link . ' Thank you for using ' . $this->wl['name'] . '.'; $this->send( $params['email'], 'New application for Job ' . $params['title'] . ' ' . $params['reference'], $body ); } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/C05P6
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   26     0  E > > RETURN                                                   1

Class test:
Function employer_application_submission:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 4, Position 2 = 7
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 12
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/C05P6
function name:  employer_application_submission
number of ops:  45
compiled vars:  !0 = $params, !1 = $share_link, !2 = $link, !3 = $body
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV_INIT                                        !0      <array>
    5     1        ASSIGN                                                   !1, ''
    6     2        ISSET_ISEMPTY_DIM_OBJ                         0  ~5      !0, 'video_link'
          3      > JMPZ_EX                                          ~5      ~5, ->7
          4    >   FETCH_DIM_R                                      ~6      !0, 'video_link'
          5        BOOL                                             ~7      ~6
          6        BOOL                                             ~5      ~7
          7    > > JMPZ                                                     ~5, ->12
    7     8    >   FETCH_DIM_R                                      ~8      !0, 'video_link'
          9        CONCAT                                           ~9      'http%3A%2F%2Fvideo.careerone.com.au%2Fats.php%3Furl%3D', ~8
         10        ASSIGN                                                   !2, ~9
         11      > JMP                                                      ->16
   10    12    >   INIT_FCALL_BY_NAME                                       'site_url'
         13        SEND_VAL_EX                                              'employer%2Fdashboard'
         14        DO_FCALL                                      0  $11     
         15        ASSIGN                                                   !2, $11
   12    16    >   FETCH_DIM_R                                      ~13     !0, 'job_id'
         17        CONCAT                                           ~14     'You+have+a+new+Video+Response+for+Job+', ~13
         18        CONCAT                                           ~15     ~14, '+at+'
         19        FETCH_OBJ_R                                      ~16     'wl'
         20        FETCH_DIM_R                                      ~17     ~16, 'name'
         21        CONCAT                                           ~18     ~15, ~17
         22        CONCAT                                           ~19     ~18, '.%0A%09%09%3Cbr+%2F%3E%3Cbr+%2F%3E%0A%09%09You+can+view+your+Video+Responses+%3Ca+href%3D%22'
   14    23        CONCAT                                           ~20     ~19, !2
         24        CONCAT                                           ~21     ~20, '%22%3Ehere%3C%2Fa%3E.%0A%09%09%3Cbr+%2F%3E%3Cbr+%2F%3E%0A%09%09'
   16    25        CONCAT                                           ~22     ~21, !1
         26        CONCAT                                           ~23     ~22, '%0A%0A%09%09Thank+you+for+using+'
   18    27        FETCH_OBJ_R                                      ~24     'wl'
         28        FETCH_DIM_R                                      ~25     ~24, 'name'
         29        CONCAT                                           ~26     ~23, ~25
         30        CONCAT                                           ~27     ~26, '.'
   12    31        ASSIGN                                                   !3, ~27
   20    32        INIT_METHOD_CALL                                         'send'
         33        CHECK_FUNC_ARG                                           
   21    34        FETCH_DIM_FUNC_ARG                               $29     !0, 'email'
         35        SEND_FUNC_ARG                                            $29
   22    36        FETCH_DIM_R                                      ~30     !0, 'title'
         37        CONCAT                                           ~31     'New+application+for+Job+', ~30
         38        CONCAT                                           ~32     ~31, '+'
         39        FETCH_DIM_R                                      ~33     !0, 'reference'
         40        CONCAT                                           ~34     ~32, ~33
         41        SEND_VAL_EX                                              ~34
   21    42        SEND_VAR_EX                                              !3
         43        DO_FCALL                                      0          
   25    44      > RETURN                                                   null

End of function employer_application_submission

End of class test.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.9 ms | 1399 KiB | 13 Q