1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 01:48:26 +02:00
Files
2024-09-13 15:07:26 +01:00

17 lines
326 B
PHP

--TEST--
Bug #65947 (basename is no more working after fgetcsv in certain situation)
--FILE--
<?php
$filename = 'test.toto';
// é in ISO-8859-1
$csv = base64_decode('6Q==');
$adata = str_getcsv($csv,";", escape: '');
$b2 = basename($filename);
if ($filename != $b2)
print "BUG";
else
print "OKEY";
?>
--EXPECT--
OKEY