]> khamidou — GitHub mirrors - arcanist.git/commit
Add mb_* functions to the external function list
authorepriestley <git@epriestley.com>
Wed, 11 Jul 2012 23:55:21 +0000 (16:55 -0700)
committerepriestley <git@epriestley.com>
Wed, 11 Jul 2012 23:55:21 +0000 (16:55 -0700)
commit1ec2d1095bdd5d3a4c4fa669a4e76681b56deb8e
treeb28f458eb8582116512edb1eefabfb9304475237
parent1b4205c1a1b6c665ab7af01b80ba438628adb383
Add mb_* functions to the external function list

Summary: The mbstring extension is common but not part of the PHP core, and we have a soft dependency on it but generally guard calls with function_exists(). Add the mbstring functions to the whitelist of known extension functions so lint doesn't raise errors about them if you don't have mbstring installed.

Test Plan: @ffx, can you verify this fixes the lint issue for you? Probably faster than recompiling my PHP without mbstring.

Reviewers: ffx, btrahan

Reviewed By: btrahan

CC: aran
Differential Revision: https://secure.phabricator.com/D2961
scripts/lib/PhutilLibraryMapBuilder.php
scripts/php_extension_functions.txt