1--TEST-- 2Test filetype() function: Basic functionality 3--FILE-- 4<?php 5echo "*** Testing filetype() with files and dirs ***\n"; 6 7print( filetype(__FILE__) )."\n"; 8print( filetype(".") )."\n"; 9 10echo "*** Done ***\n"; 11?> 12--EXPECT-- 13*** Testing filetype() with files and dirs *** 14file 15dir 16*** Done *** 17