3v4l.org

run code in 300+ PHP versions simultaneously
<?php // set up basic connection $conn_id = ftp_connect($ftp_server); // login with username and password $login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass); // get contents of the current directory $contents = ftp_nlist($conn_id, "."); // output $contents var_dump($contents);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oUZNA
function name:  (null)
number of ops:  19
compiled vars:  !0 = $conn_id, !1 = $ftp_server, !2 = $login_result, !3 = $ftp_user_name, !4 = $ftp_user_pass, !5 = $contents
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL_BY_NAME                                       'ftp_connect'
          1        SEND_VAR_EX                                              !1
          2        DO_FCALL                                      0  $6      
          3        ASSIGN                                                   !0, $6
    6     4        INIT_FCALL_BY_NAME                                       'ftp_login'
          5        SEND_VAR_EX                                              !0
          6        SEND_VAR_EX                                              !3
          7        SEND_VAR_EX                                              !4
          8        DO_FCALL                                      0  $8      
          9        ASSIGN                                                   !2, $8
    9    10        INIT_FCALL_BY_NAME                                       'ftp_nlist'
         11        SEND_VAR_EX                                              !0
         12        SEND_VAL_EX                                              '.'
         13        DO_FCALL                                      0  $10     
         14        ASSIGN                                                   !5, $10
   12    15        INIT_FCALL                                               'var_dump'
         16        SEND_VAR                                                 !5
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.68 ms | 1394 KiB | 15 Q