summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli_api.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-02-10 12:18:42 +0100
committerNikita Popov <nikita.ppv@gmail.com>2021-02-10 12:18:42 +0100
commitfd5ff37db77b52b39d97c5749dcbbf4b09c10d9d (patch)
treecdbbdf9b3a4af8ff9b0fe0f96d1a0cb3e5deefd0 /ext/mysqli/mysqli_api.c
parentce7935e82a31a312852c6fa738b10a8223bd8a7a (diff)
downloadphp-git-fd5ff37db77b52b39d97c5749dcbbf4b09c10d9d.tar.gz
Make finfo_open() $magic_database nullable
Empty string was interpreted as a special value here, which indicates that the default magic database should be used. It makes more sense to use null for this purpose. The documentation also explicitly mentions that null can be used.
Diffstat (limited to 'ext/mysqli/mysqli_api.c')
0 files changed, 0 insertions, 0 deletions