--TEST-- Test fgetcsv() : usage variations - with different delimiter and enclosure --FILE-- --EXPECT-- *** Testing fgetcsv() : with different delimiter and enclosure *** -- Testing fgetcsv() with file opened using r mode -- array(1) { [0]=> string(13) ""water",fruit" } int(14) bool(false) -- Testing fgetcsv() with file opened using rb mode -- array(1) { [0]=> string(13) ""water",fruit" } int(14) bool(false) -- Testing fgetcsv() with file opened using rt mode -- array(1) { [0]=> string(13) ""water",fruit" } int(14) bool(false) -- Testing fgetcsv() with file opened using r+ mode -- array(1) { [0]=> string(13) ""water",fruit" } int(14) bool(false) -- Testing fgetcsv() with file opened using r+b mode -- array(1) { [0]=> string(13) ""water",fruit" } int(14) bool(false) -- Testing fgetcsv() with file opened using r+t mode -- array(1) { [0]=> string(13) ""water",fruit" } int(14) bool(false) -- Testing fgetcsv() with file opened using a+ mode -- array(1) { [0]=> string(13) ""water",fruit" } int(14) bool(false) -- Testing fgetcsv() with file opened using a+b mode -- array(1) { [0]=> string(13) ""water",fruit" } int(14) bool(false) -- Testing fgetcsv() with file opened using a+t mode -- array(1) { [0]=> string(13) ""water",fruit" } int(14) bool(false) -- Testing fgetcsv() with file opened using w+ mode -- array(1) { [0]=> string(13) ""water",fruit" } int(14) bool(false) -- Testing fgetcsv() with file opened using w+b mode -- array(1) { [0]=> string(13) ""water",fruit" } int(14) bool(false) -- Testing fgetcsv() with file opened using w+t mode -- array(1) { [0]=> string(13) ""water",fruit" } int(14) bool(false) -- Testing fgetcsv() with file opened using x+ mode -- array(1) { [0]=> string(13) ""water",fruit" } int(14) bool(false) -- Testing fgetcsv() with file opened using x+b mode -- array(1) { [0]=> string(13) ""water",fruit" } int(14) bool(false) -- Testing fgetcsv() with file opened using x+t mode -- array(1) { [0]=> string(13) ""water",fruit" } int(14) bool(false) -- Testing fgetcsv() with file opened using r mode -- array(1) { [0]=> string(15) ""water","fruit"" } int(16) bool(false) -- Testing fgetcsv() with file opened using rb mode -- array(1) { [0]=> string(15) ""water","fruit"" } int(16) bool(false) -- Testing fgetcsv() with file opened using rt mode -- array(1) { [0]=> string(15) ""water","fruit"" } int(16) bool(false) -- Testing fgetcsv() with file opened using r+ mode -- array(1) { [0]=> string(15) ""water","fruit"" } int(16) bool(false) -- Testing fgetcsv() with file opened using r+b mode -- array(1) { [0]=> string(15) ""water","fruit"" } int(16) bool(false) -- Testing fgetcsv() with file opened using r+t mode -- array(1) { [0]=> string(15) ""water","fruit"" } int(16) bool(false) -- Testing fgetcsv() with file opened using a+ mode -- array(1) { [0]=> string(15) ""water","fruit"" } int(16) bool(false) -- Testing fgetcsv() with file opened using a+b mode -- array(1) { [0]=> string(15) ""water","fruit"" } int(16) bool(false) -- Testing fgetcsv() with file opened using a+t mode -- array(1) { [0]=> string(15) ""water","fruit"" } int(16) bool(false) -- Testing fgetcsv() with file opened using w+ mode -- array(1) { [0]=> string(15) ""water","fruit"" } int(16) bool(false) -- Testing fgetcsv() with file opened using w+b mode -- array(1) { [0]=> string(15) ""water","fruit"" } int(16) bool(false) -- Testing fgetcsv() with file opened using w+t mode -- array(1) { [0]=> string(15) ""water","fruit"" } int(16) bool(false) -- Testing fgetcsv() with file opened using x+ mode -- array(1) { [0]=> string(15) ""water","fruit"" } int(16) bool(false) -- Testing fgetcsv() with file opened using x+b mode -- array(1) { [0]=> string(15) ""water","fruit"" } int(16) bool(false) -- Testing fgetcsv() with file opened using x+t mode -- array(1) { [0]=> string(15) ""water","fruit"" } int(16) bool(false) -- Testing fgetcsv() with file opened using r mode -- array(1) { [0]=> string(15) "^water^ ^fruit^" } int(16) bool(false) -- Testing fgetcsv() with file opened using rb mode -- array(1) { [0]=> string(15) "^water^ ^fruit^" } int(16) bool(false) -- Testing fgetcsv() with file opened using rt mode -- array(1) { [0]=> string(15) "^water^ ^fruit^" } int(16) bool(false) -- Testing fgetcsv() with file opened using r+ mode -- array(1) { [0]=> string(15) "^water^ ^fruit^" } int(16) bool(false) -- Testing fgetcsv() with file opened using r+b mode -- array(1) { [0]=> string(15) "^water^ ^fruit^" } int(16) bool(false) -- Testing fgetcsv() with file opened using r+t mode -- array(1) { [0]=> string(15) "^water^ ^fruit^" } int(16) bool(false) -- Testing fgetcsv() with file opened using a+ mode -- array(1) { [0]=> string(15) "^water^ ^fruit^" } int(16) bool(false) -- Testing fgetcsv() with file opened using a+b mode -- array(1) { [0]=> string(15) "^water^ ^fruit^" } int(16) bool(false) -- Testing fgetcsv() with file opened using a+t mode -- array(1) { [0]=> string(15) "^water^ ^fruit^" } int(16) bool(false) -- Testing fgetcsv() with file opened using w+ mode -- array(1) { [0]=> string(15) "^water^ ^fruit^" } int(16) bool(false) -- Testing fgetcsv() with file opened using w+b mode -- array(1) { [0]=> string(15) "^water^ ^fruit^" } int(16) bool(false) -- Testing fgetcsv() with file opened using w+t mode -- array(1) { [0]=> string(15) "^water^ ^fruit^" } int(16) bool(false) -- Testing fgetcsv() with file opened using x+ mode -- array(1) { [0]=> string(15) "^water^ ^fruit^" } int(16) bool(false) -- Testing fgetcsv() with file opened using x+b mode -- array(1) { [0]=> string(15) "^water^ ^fruit^" } int(16) bool(false) -- Testing fgetcsv() with file opened using x+t mode -- array(1) { [0]=> string(15) "^water^ ^fruit^" } int(16) bool(false) -- Testing fgetcsv() with file opened using r mode -- array(1) { [0]=> string(15) "&water&:&fruit&" } int(16) bool(false) -- Testing fgetcsv() with file opened using rb mode -- array(1) { [0]=> string(15) "&water&:&fruit&" } int(16) bool(false) -- Testing fgetcsv() with file opened using rt mode -- array(1) { [0]=> string(15) "&water&:&fruit&" } int(16) bool(false) -- Testing fgetcsv() with file opened using r+ mode -- array(1) { [0]=> string(15) "&water&:&fruit&" } int(16) bool(false) -- Testing fgetcsv() with file opened using r+b mode -- array(1) { [0]=> string(15) "&water&:&fruit&" } int(16) bool(false) -- Testing fgetcsv() with file opened using r+t mode -- array(1) { [0]=> string(15) "&water&:&fruit&" } int(16) bool(false) -- Testing fgetcsv() with file opened using a+ mode -- array(1) { [0]=> string(15) "&water&:&fruit&" } int(16) bool(false) -- Testing fgetcsv() with file opened using a+b mode -- array(1) { [0]=> string(15) "&water&:&fruit&" } int(16) bool(false) -- Testing fgetcsv() with file opened using a+t mode -- array(1) { [0]=> string(15) "&water&:&fruit&" } int(16) bool(false) -- Testing fgetcsv() with file opened using w+ mode -- array(1) { [0]=> string(15) "&water&:&fruit&" } int(16) bool(false) -- Testing fgetcsv() with file opened using w+b mode -- array(1) { [0]=> string(15) "&water&:&fruit&" } int(16) bool(false) -- Testing fgetcsv() with file opened using w+t mode -- array(1) { [0]=> string(15) "&water&:&fruit&" } int(16) bool(false) -- Testing fgetcsv() with file opened using x+ mode -- array(1) { [0]=> string(15) "&water&:&fruit&" } int(16) bool(false) -- Testing fgetcsv() with file opened using x+b mode -- array(1) { [0]=> string(15) "&water&:&fruit&" } int(16) bool(false) -- Testing fgetcsv() with file opened using x+t mode -- array(1) { [0]=> string(15) "&water&:&fruit&" } int(16) bool(false) -- Testing fgetcsv() with file opened using r mode -- array(1) { [0]=> string(15) "=water===fruit=" } int(16) bool(false) -- Testing fgetcsv() with file opened using rb mode -- array(1) { [0]=> string(15) "=water===fruit=" } int(16) bool(false) -- Testing fgetcsv() with file opened using rt mode -- array(1) { [0]=> string(15) "=water===fruit=" } int(16) bool(false) -- Testing fgetcsv() with file opened using r+ mode -- array(1) { [0]=> string(15) "=water===fruit=" } int(16) bool(false) -- Testing fgetcsv() with file opened using r+b mode -- array(1) { [0]=> string(15) "=water===fruit=" } int(16) bool(false) -- Testing fgetcsv() with file opened using r+t mode -- array(1) { [0]=> string(15) "=water===fruit=" } int(16) bool(false) -- Testing fgetcsv() with file opened using a+ mode -- array(1) { [0]=> string(15) "=water===fruit=" } int(16) bool(false) -- Testing fgetcsv() with file opened using a+b mode -- array(1) { [0]=> string(15) "=water===fruit=" } int(16) bool(false) -- Testing fgetcsv() with file opened using a+t mode -- array(1) { [0]=> string(15) "=water===fruit=" } int(16) bool(false) -- Testing fgetcsv() with file opened using w+ mode -- array(1) { [0]=> string(15) "=water===fruit=" } int(16) bool(false) -- Testing fgetcsv() with file opened using w+b mode -- array(1) { [0]=> string(15) "=water===fruit=" } int(16) bool(false) -- Testing fgetcsv() with file opened using w+t mode -- array(1) { [0]=> string(15) "=water===fruit=" } int(16) bool(false) -- Testing fgetcsv() with file opened using x+ mode -- array(1) { [0]=> string(15) "=water===fruit=" } int(16) bool(false) -- Testing fgetcsv() with file opened using x+b mode -- array(1) { [0]=> string(15) "=water===fruit=" } int(16) bool(false) -- Testing fgetcsv() with file opened using x+t mode -- array(1) { [0]=> string(15) "=water===fruit=" } int(16) bool(false) -- Testing fgetcsv() with file opened using r mode -- array(1) { [0]=> string(17) "-water--fruit-air" } int(18) bool(false) -- Testing fgetcsv() with file opened using rb mode -- array(1) { [0]=> string(17) "-water--fruit-air" } int(18) bool(false) -- Testing fgetcsv() with file opened using rt mode -- array(1) { [0]=> string(17) "-water--fruit-air" } int(18) bool(false) -- Testing fgetcsv() with file opened using r+ mode -- array(1) { [0]=> string(17) "-water--fruit-air" } int(18) bool(false) -- Testing fgetcsv() with file opened using r+b mode -- array(1) { [0]=> string(17) "-water--fruit-air" } int(18) bool(false) -- Testing fgetcsv() with file opened using r+t mode -- array(1) { [0]=> string(17) "-water--fruit-air" } int(18) bool(false) -- Testing fgetcsv() with file opened using a+ mode -- array(1) { [0]=> string(17) "-water--fruit-air" } int(18) bool(false) -- Testing fgetcsv() with file opened using a+b mode -- array(1) { [0]=> string(17) "-water--fruit-air" } int(18) bool(false) -- Testing fgetcsv() with file opened using a+t mode -- array(1) { [0]=> string(17) "-water--fruit-air" } int(18) bool(false) -- Testing fgetcsv() with file opened using w+ mode -- array(1) { [0]=> string(17) "-water--fruit-air" } int(18) bool(false) -- Testing fgetcsv() with file opened using w+b mode -- array(1) { [0]=> string(17) "-water--fruit-air" } int(18) bool(false) -- Testing fgetcsv() with file opened using w+t mode -- array(1) { [0]=> string(17) "-water--fruit-air" } int(18) bool(false) -- Testing fgetcsv() with file opened using x+ mode -- array(1) { [0]=> string(17) "-water--fruit-air" } int(18) bool(false) -- Testing fgetcsv() with file opened using x+b mode -- array(1) { [0]=> string(17) "-water--fruit-air" } int(18) bool(false) -- Testing fgetcsv() with file opened using x+t mode -- array(1) { [0]=> string(17) "-water--fruit-air" } int(18) bool(false) -- Testing fgetcsv() with file opened using r mode -- array(1) { [0]=> string(21) "-water---fruit---air-" } int(22) bool(false) -- Testing fgetcsv() with file opened using rb mode -- array(1) { [0]=> string(21) "-water---fruit---air-" } int(22) bool(false) -- Testing fgetcsv() with file opened using rt mode -- array(1) { [0]=> string(21) "-water---fruit---air-" } int(22) bool(false) -- Testing fgetcsv() with file opened using r+ mode -- array(1) { [0]=> string(21) "-water---fruit---air-" } int(22) bool(false) -- Testing fgetcsv() with file opened using r+b mode -- array(1) { [0]=> string(21) "-water---fruit---air-" } int(22) bool(false) -- Testing fgetcsv() with file opened using r+t mode -- array(1) { [0]=> string(21) "-water---fruit---air-" } int(22) bool(false) -- Testing fgetcsv() with file opened using a+ mode -- array(1) { [0]=> string(21) "-water---fruit---air-" } int(22) bool(false) -- Testing fgetcsv() with file opened using a+b mode -- array(1) { [0]=> string(21) "-water---fruit---air-" } int(22) bool(false) -- Testing fgetcsv() with file opened using a+t mode -- array(1) { [0]=> string(21) "-water---fruit---air-" } int(22) bool(false) -- Testing fgetcsv() with file opened using w+ mode -- array(1) { [0]=> string(21) "-water---fruit---air-" } int(22) bool(false) -- Testing fgetcsv() with file opened using w+b mode -- array(1) { [0]=> string(21) "-water---fruit---air-" } int(22) bool(false) -- Testing fgetcsv() with file opened using w+t mode -- array(1) { [0]=> string(21) "-water---fruit---air-" } int(22) bool(false) -- Testing fgetcsv() with file opened using x+ mode -- array(1) { [0]=> string(21) "-water---fruit---air-" } int(22) bool(false) -- Testing fgetcsv() with file opened using x+b mode -- array(1) { [0]=> string(21) "-water---fruit---air-" } int(22) bool(false) -- Testing fgetcsv() with file opened using x+t mode -- array(1) { [0]=> string(21) "-water---fruit---air-" } int(22) bool(false) -- Testing fgetcsv() with file opened using r mode -- array(1) { [0]=> string(23) "&""""&:&"&:,:":&,&:,,,," } int(24) bool(false) -- Testing fgetcsv() with file opened using rb mode -- array(1) { [0]=> string(23) "&""""&:&"&:,:":&,&:,,,," } int(24) bool(false) -- Testing fgetcsv() with file opened using rt mode -- array(1) { [0]=> string(23) "&""""&:&"&:,:":&,&:,,,," } int(24) bool(false) -- Testing fgetcsv() with file opened using r+ mode -- array(1) { [0]=> string(23) "&""""&:&"&:,:":&,&:,,,," } int(24) bool(false) -- Testing fgetcsv() with file opened using r+b mode -- array(1) { [0]=> string(23) "&""""&:&"&:,:":&,&:,,,," } int(24) bool(false) -- Testing fgetcsv() with file opened using r+t mode -- array(1) { [0]=> string(23) "&""""&:&"&:,:":&,&:,,,," } int(24) bool(false) -- Testing fgetcsv() with file opened using a+ mode -- array(1) { [0]=> string(23) "&""""&:&"&:,:":&,&:,,,," } int(24) bool(false) -- Testing fgetcsv() with file opened using a+b mode -- array(1) { [0]=> string(23) "&""""&:&"&:,:":&,&:,,,," } int(24) bool(false) -- Testing fgetcsv() with file opened using a+t mode -- array(1) { [0]=> string(23) "&""""&:&"&:,:":&,&:,,,," } int(24) bool(false) -- Testing fgetcsv() with file opened using w+ mode -- array(1) { [0]=> string(23) "&""""&:&"&:,:":&,&:,,,," } int(24) bool(false) -- Testing fgetcsv() with file opened using w+b mode -- array(1) { [0]=> string(23) "&""""&:&"&:,:":&,&:,,,," } int(24) bool(false) -- Testing fgetcsv() with file opened using w+t mode -- array(1) { [0]=> string(23) "&""""&:&"&:,:":&,&:,,,," } int(24) bool(false) -- Testing fgetcsv() with file opened using x+ mode -- array(1) { [0]=> string(23) "&""""&:&"&:,:":&,&:,,,," } int(24) bool(false) -- Testing fgetcsv() with file opened using x+b mode -- array(1) { [0]=> string(23) "&""""&:&"&:,:":&,&:,,,," } int(24) bool(false) -- Testing fgetcsv() with file opened using x+t mode -- array(1) { [0]=> string(23) "&""""&:&"&:,:":&,&:,,,," } int(24) bool(false) Done