3v4l.org

run code in 300+ PHP versions simultaneously
<?php $connection = ssh2_connect('shell.example.com', 22); ssh2_auth_pubkey_file($connection, 'username', 'id_dsa.pub', 'id_dsa'); $tunnel = ssh2_tunnel($connection, '10.0.0.101', 12345);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/m4djL
function name:  (null)
number of ops:  18
compiled vars:  !0 = $connection, !1 = $tunnel
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'ssh2_connect'
          1        SEND_VAL_EX                                              'shell.example.com'
          2        SEND_VAL_EX                                              22
          3        DO_FCALL                                      0  $2      
          4        ASSIGN                                                   !0, $2
    3     5        INIT_FCALL_BY_NAME                                       'ssh2_auth_pubkey_file'
          6        SEND_VAR_EX                                              !0
          7        SEND_VAL_EX                                              'username'
          8        SEND_VAL_EX                                              'id_dsa.pub'
          9        SEND_VAL_EX                                              'id_dsa'
         10        DO_FCALL                                      0          
    5    11        INIT_FCALL_BY_NAME                                       'ssh2_tunnel'
         12        SEND_VAR_EX                                              !0
         13        SEND_VAL_EX                                              '10.0.0.101'
         14        SEND_VAL_EX                                              12345
         15        DO_FCALL                                      0  $5      
         16        ASSIGN                                                   !1, $5
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.86 ms | 1397 KiB | 13 Q