Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

ThinkPHP3.2.3 source code analysis

Shulou Source: shulou.com Published: 2022-06-03 04:54:47 11月25日 Update

Defined ('THINK_PATH') or define (' THINK_PATH',__DIR__.'/')

If the constant is not defined, define the constant

Magic_quotes_runtime

The system automatically adds backslash escape characters

Define ('IS_CGI', (0 = strpos (PHP_SAPI,'cgi') | | false! = = strpos (PHP_SAPI,'fcgi'))? 1: 0); / / determine whether it is CGI mode define (' IS_WIN',strstr (PHP_OS, 'WIN')? 1: 0); / / determine whether it is windows system define (' IS_CLI',PHP_SAPI=='cli'? 1: 0); / / determine whether it is running in command line mode

Tags: Constant pattern system command character slash is in escape run source code analysis Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Apple Shulou Tech Info Redmi Huawei