3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ftp_server = 'ftp.cetip.com.br/MediaCDI/'; $connect = ftp_connect($ftp_server); $login_result = ftp_login($connect, '', ''); $contents = ftp_nlist($connect, "."); print_r($contents);
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/drunp
function name:  (null)
number of ops:  20
compiled vars:  !0 = $ftp_server, !1 = $connect, !2 = $login_result, !3 = $contents
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   ASSIGN                                                   !0, 'ftp.cetip.com.br%2FMediaCDI%2F'
   4     1        INIT_FCALL_BY_NAME                                       'ftp_connect'
         2        SEND_VAR_EX                                              !0
         3        DO_FCALL                                      0  $5      
         4        ASSIGN                                                   !1, $5
   6     5        INIT_FCALL_BY_NAME                                       'ftp_login'
         6        SEND_VAR_EX                                              !1
         7        SEND_VAL_EX                                              ''
         8        SEND_VAL_EX                                              ''
         9        DO_FCALL                                      0  $7      
        10        ASSIGN                                                   !2, $7
   8    11        INIT_FCALL_BY_NAME                                       'ftp_nlist'
        12        SEND_VAR_EX                                              !1
        13        SEND_VAL_EX                                              '.'
        14        DO_FCALL                                      0  $9      
        15        ASSIGN                                                   !3, $9
  10    16        INIT_FCALL                                               'print_r'
        17        SEND_VAR                                                 !3
        18        DO_ICALL                                                 
        19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0