![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: SPL: SplFileObject::getBasename 3: --CREDITS-- 4: H�vard Eide <nucleuz at gmail.com> 5: #Testfest php.no 6: --FILE-- 7: <?php 8: $file = __FILE__; 9: $s = new SplFileObject( __FILE__ ); 10: echo $s->getBasename(); 11: ?> 12: --EXPECT-- 13: fileobject_getbasename_basic.php