case sensitive Native::FuncTable
commitf5dc3597c43fb0d307f3df4e15a099cca2f2597d
authorEdwin Smith <smith@meta.com>
Sun, 15 Jan 2023 21:13:40 +0000 (15 13:13 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Sun, 15 Jan 2023 21:13:40 +0000 (15 13:13 -0800)
tree79022701d1402b949ec5fbca7bf393ed1b08e197
parent07f4fd8fb16c7ec81fabd0b2377733eeb4b00991
case sensitive Native::FuncTable

Summary:
Native::FuncTable is used to register C++ impls of Hack extension methods
and functions marked with `<<__Native>>`. While HHVM still treats toplevel class
and functions as case-insensitive symbols, nothing stops us from requiring
case-correct binding of the PHP decls with their C++ native implementations.

That's what this diff does.

Reviewed By: ricklavoie

Differential Revision: D42523872

fbshipit-source-id: 012d3d7849c42a6df755a8386671b93716132d67
hphp/runtime/vm/native-func-table.h
hphp/runtime/vm/native.h