1--TEST-- 2Verify php can handle filesizes >32bit 3--SKIPIF-- 4<?php 5require 'skipif.inc'; 6if (2147483647 == PHP_INT_MAX) { 7 die('skip 64-bit only'); 8} 9?> 10--FILE-- 11<?php 12require 'server.inc'; 13 14$ftp = ftp_connect('127.0.0.1', $port); 15if (!$ftp) die("Couldn't connect to the server"); 16 17ftp_login($ftp, 'user', 'pass'); 18var_dump(ftp_size($ftp, 'largefile')); 19 20ftp_close($ftp); 21?> 22--EXPECT-- 23int(5368709120) 24