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    escape: '',
10));
11?>
12--EXPECT--
13array(2) {
14  [0]=>
15  string(12) "aaaaaaaaaaaa"
16  [1]=>
17  string(2) "  "
18}
19