Return to bug65947.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / strings |
php 5.4.29
--TEST-- Bug #65947 (basename is no more working after fgetcsv in certain situation) --SKIPIF-- <?php if (!PHP_ZTS) { print "skip only for zts build"; } --FILE-- <?php $filename = 'test.toto'; // é in ISO-8859-1 $csv = base64_decode('6Q=='); $adata = str_getcsv($csv,";"); $b2 = basename($filename); if ($filename != $b2) print "BUG"; else print "OKEY"; --EXPECTF-- OKEY