3v4l.org

run code in 300+ PHP versions simultaneously
<?php $host = "partnerupload.google.com"; $fileName = "coverfx_review_feed.xml"; $port = 19321; $user = "mc-sftp-10863943"; $password = "!**iLX7!??"; //$basePath = '/home/socialan/public_html'; //$basePath = 'D:/xampp/htdocs'; $resConnection = ssh2_connect($host, $port); if(ssh2_auth_password($resConnection, $user, $password)){ //Initialize SFTP subsystem $resSFTP = ssh2_sftp($resConnection); echo "connected to server"; // //Send/Download file here // }else{ echo "Unable to authenticate on server"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 22
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kqLhA
function name:  (null)
number of ops:  24
compiled vars:  !0 = $host, !1 = $fileName, !2 = $port, !3 = $user, !4 = $password, !5 = $resConnection, !6 = $resSFTP
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'partnerupload.google.com'
    3     1        ASSIGN                                                   !1, 'coverfx_review_feed.xml'
    4     2        ASSIGN                                                   !2, 19321
    5     3        ASSIGN                                                   !3, 'mc-sftp-10863943'
    6     4        ASSIGN                                                   !4, '%21%2A%2AiLX7%21%3F%3F'
   10     5        INIT_FCALL_BY_NAME                                       'ssh2_connect'
          6        SEND_VAR_EX                                              !0
          7        SEND_VAR_EX                                              !2
          8        DO_FCALL                                      0  $12     
          9        ASSIGN                                                   !5, $12
   12    10        INIT_FCALL_BY_NAME                                       'ssh2_auth_password'
         11        SEND_VAR_EX                                              !5
         12        SEND_VAR_EX                                              !3
         13        SEND_VAR_EX                                              !4
         14        DO_FCALL                                      0  $14     
         15      > JMPZ                                                     $14, ->22
   14    16    >   INIT_FCALL_BY_NAME                                       'ssh2_sftp'
         17        SEND_VAR_EX                                              !5
         18        DO_FCALL                                      0  $15     
         19        ASSIGN                                                   !6, $15
   15    20        ECHO                                                     'connected+to+server'
         21      > JMP                                                      ->23
   20    22    >   ECHO                                                     'Unable+to+authenticate+on+server'
   21    23    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.58 ms | 1394 KiB | 13 Q