make PHP_SAPI dynamic based on execution mode
commit543927cc35bcd74f5af29b9030ed4fad259664a0
authorSean Cannella <seanc@fb.com>
Fri, 7 Jun 2013 17:42:08 +0000 (7 10:42 -0700)
committerSara Golemon <sgolemon@fb.com>
Fri, 7 Jun 2013 19:41:50 +0000 (7 12:41 -0700)
treeba406b47a0b075d1b875886233a82f0317ff1dfe
parent894b0addf2baf258dd47740d34e12e031e459216
make PHP_SAPI dynamic based on execution mode

It isn't really a constant anyways.

Closes #757
13 files changed:
hphp/compiler/builtin_symbols.cpp
hphp/idl/class_map.php
hphp/runtime/base/program_functions.cpp
hphp/runtime/vm/jit/region_method.cpp
hphp/runtime/vm/jit/region_onebc.cpp
hphp/runtime/vm/jit/region_selection.cpp
hphp/runtime/vm/jit/region_selection.h
hphp/runtime/vm/name_value_table_wrapper.h
hphp/system/class_map.cpp
hphp/system/constants.h
hphp/system/globals/constdef.json
hphp/test/quick/sapi_name.php [new file with mode: 0644]
hphp/test/quick/sapi_name.php.expect [new file with mode: 0644]