1--TEST-- 2Testing ftp_pasv basic funcionality 3--CREDITS-- 4Gabriel Caruso (carusogabriel34@gmail.com) 5--SKIPIF-- 6<?php require 'skipif.inc'; ?> 7--FILE-- 8<?php 9require 'server.inc'; 10 11$ftp = ftp_connect('127.0.0.1', $port); 12ftp_login($ftp, 'user', 'pass'); 13$ftp or die("Couldn't connect to the server"); 14 15var_dump(ftp_pasv($ftp, false)); 16?> 17--EXPECT-- 18bool(true) 19