1--TEST--
2oss-fuzz #57392: Buffer-overflow in php_fgetcsv() with \0 delimiter and enclosure
3--FILE--
4<?php
5var_dump(str_getcsv(
6    "aaaaaaaaaaaa\0  ",
7    "\0",
8    "\0",
9));
10?>
11--EXPECT--
12array(2) {
13  [0]=>
14  string(12) "aaaaaaaaaaaa"
15  [1]=>
16  string(2) "  "
17}
18