Skip to content

Instantly share code, notes, and snippets.

@tstarling
Created August 27, 2024 01:08
Show Gist options
  • Save tstarling/2a2324585f5ccb4b176c04ca630de6dd to your computer and use it in GitHub Desktop.
Save tstarling/2a2324585f5ccb4b176c04ca630de6dd to your computer and use it in GitHub Desktop.
Log for PHP #15502
This file has been truncated, but you can view the full file.
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /opt/php-master/bin/php-cgi autoload-test.php
warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libtinfo.so.6
warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/liblber-2.5.so.0
warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libicuio.so.70
warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libicui18n.so.70
warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libicuuc.so.70
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/liblber.so.2
warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libbrotlidec.so.1
warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libbrotlicommon.so.1
$_main:
; (lines=41, args=0, vars=4, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/autoload-test.php:1-48
0000 ASSIGN CV0($i) int(0)
0001 INCLUDE_OR_EVAL (require) string("./includes/WebStart.php")
0002 JMP 0005
0003 INIT_FCALL 0 80 string("ob_end_clean")
0004 DO_ICALL
0005 INIT_FCALL 0 80 string("ob_get_level")
0006 V4 = DO_ICALL
0007 JMPNZ V4 0003
0008 ASSIGN CV1($classes) array(...)
0009 V4 = FE_RESET_R CV1($classes) 0015
0010 FE_FETCH_R V4 CV2($class) 0015
0011 INIT_STATIC_METHOD_CALL 1 string("AutoLoader") string("find")
0012 SEND_VAR_EX CV2($class) 1
0013 DO_FCALL
0014 JMP 0010
0015 FE_FREE V4
0016 ECHO string("Starting Excimer
")
0017 V4 = NEW 0 string("ExcimerProfiler")
0018 DO_FCALL
0019 ASSIGN CV3($excimer) V4
0020 INIT_METHOD_CALL 1 CV3($excimer) string("setPeriod")
0021 SEND_VAL_EX float(0.001) 1
0022 DO_FCALL
0023 INIT_METHOD_CALL 1 CV3($excimer) string("setEventType")
0024 SEND_VAL_EX int(0) 1
0025 DO_FCALL
0026 INIT_METHOD_CALL 0 CV3($excimer) string("start")
0027 DO_FCALL
0028 ASSIGN CV0($i) int(0)
0029 JMP 0038
0030 V4 = FE_RESET_R CV1($classes) 0036
0031 FE_FETCH_R V4 CV2($class) 0036
0032 INIT_STATIC_METHOD_CALL 1 string("AutoLoader") string("find")
0033 SEND_VAR_EX CV2($class) 1
0034 DO_FCALL
0035 JMP 0031
0036 FE_FREE V4
0037 PRE_INC CV0($i)
0038 T4 = IS_SMALLER CV0($i) int(1000000)
0039 JMPNZ T4 0030
0040 RETURN int(1)
LIVE RANGES:
4: 0010 - 0015 (loop)
4: 0018 - 0019 (new)
4: 0031 - 0036 (loop)
$_main:
; (lines=74, args=0, vars=2, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/WebStart.php:1-116
0000 INIT_FCALL 1 96 string("header")
0001 SEND_VAL string("X-Content-Type-Options: nosniff") 1
0002 DO_ICALL
0003 DECLARE_CONST string("MEDIAWIKI") bool(true)
0004 INCLUDE_OR_EVAL (require_once) string("/var/tmp/mediawiki-1.42.1/includes/BootstrapHelperFunctions.php")
0005 T2 = DEFINED string("MW_CONFIG_CALLBACK")
0006 JMPNZ T2 0015
0007 INIT_FCALL_BY_NAME 0 string("wfDetectLocalSettingsFile")
0008 DO_FCALL_BY_NAME
0009 INIT_FCALL 1 96 string("is_readable")
0010 T2 = FETCH_CONSTANT string("MW_CONFIG_FILE")
0011 SEND_VAL T2 1
0012 V2 = DO_ICALL
0013 JMPNZ V2 0015
0014 DECLARE_CONST string("MW_CONFIG_CALLBACK") string("wfWebStartNoLocalSettings")
0015 T2 = DEFINED string("MW_SETUP_CALLBACK")
0016 JMPNZ T2 0018
0017 DECLARE_CONST string("MW_SETUP_CALLBACK") string("wfWebStartSetup")
0018 INCLUDE_OR_EVAL (require_once) string("/var/tmp/mediawiki-1.42.1/includes/Setup.php")
0019 T3 = FETCH_IS (global) string("_SERVER")
0020 T2 = ISSET_ISEMPTY_DIM_OBJ (isset) T3 string("REQUEST_METHOD")
0021 JMPZ T2 0029
0022 T4 = FETCH_R (global) string("_SERVER")
0023 T3 = FETCH_DIM_R T4 string("REQUEST_METHOD")
0024 T2 = IS_IDENTICAL T3 string("POST")
0025 JMPZ T2 0029
0026 INIT_FCALL 1 96 string("ignore_user_abort")
0027 SEND_VAL bool(true) 1
0028 DO_ICALL
0029 T2 = DEFINED string("MW_API")
0030 JMPNZ T2 0073
0031 T2 = DEFINED string("MW_REST_API")
0032 JMPNZ T2 0073
0033 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Context\\RequestContext") string("getMain")
0034 V2 = DO_FCALL
0035 INIT_METHOD_CALL 0 V2 string("getRequest")
0036 V2 = DO_FCALL
0037 INIT_METHOD_CALL 1 V2 string("getHeader")
0038 SEND_VAL_EX string("Promise-Non-Write-API-Action") 1
0039 V2 = DO_FCALL
0040 JMPZ V2 0073
0041 INIT_FCALL 1 96 string("header")
0042 SEND_VAL string("Cache-Control: no-cache") 1
0043 DO_ICALL
0044 INIT_FCALL 1 96 string("header")
0045 SEND_VAL string("Content-Type: text/html; charset=utf-8") 1
0046 DO_ICALL
0047 INIT_STATIC_METHOD_CALL 1 string("HttpStatus") string("header")
0048 SEND_VAL_EX int(400) 1
0049 DO_FCALL
0050 INIT_FCALL_BY_NAME 1 string("wfMessage")
0051 SEND_VAL_EX string("nonwrite-api-promise-error") 1
0052 V2 = DO_FCALL_BY_NAME
0053 INIT_METHOD_CALL 1 V2 string("useDatabase")
0054 SEND_VAL_EX bool(false) 1
0055 V2 = DO_FCALL
0056 INIT_METHOD_CALL 0 V2 string("inContentLanguage")
0057 V2 = DO_FCALL
0058 INIT_METHOD_CALL 0 V2 string("escaped")
0059 V2 = DO_FCALL
0060 ASSIGN CV0($errorHtml) V2
0061 T3 = ROPE_INIT 3 string("<!DOCTYPE html>
<html>
<head><meta charset=\"UTF-8\" /></head>
<body>
")
0062 T3 = ROPE_ADD 1 T3 CV0($errorHtml)
0063 T2 = ROPE_END 2 T3 string("
</body>
</html>
")
0064 ASSIGN CV1($content) T2
0065 INIT_FCALL 1 96 string("header")
0066 T3 = STRLEN CV1($content)
0067 T2 = CONCAT string("Content-Length: ") T3
0068 SEND_VAL T2 1
0069 DO_ICALL
0070 ECHO CV1($content)
0071 INIT_FCALL 0 80 string("exit")
0072 DO_ICALL
0073 RETURN int(1)
LIVE RANGES:
3: 0061 - 0063 (rope)
wfWebStartNoLocalSettings:
; (lines=5, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/WebStart.php:47-53
0000 CV0($settings) = RECV 1
0001 INCLUDE_OR_EVAL (require_once) string("/var/tmp/mediawiki-1.42.1/includes/Output/NoLocalSettings.php")
0002 INIT_FCALL 0 80 string("exit")
0003 DO_ICALL
0004 RETURN null
wfWebStartSetup:
; (lines=9, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/WebStart.php:66-78
0000 CV0($settings) = RECV 1
0001 INIT_FCALL 0 80 string("ob_get_level")
0002 V2 = DO_ICALL
0003 T1 = IS_EQUAL V2 int(0)
0004 JMPZ T1 0008
0005 INIT_FCALL 1 96 string("ob_start")
0006 SEND_VAL array(...) 1
0007 DO_ICALL
0008 RETURN null
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/BootstrapHelperFunctions.php:1-98
0000 RETURN int(1)
wfDetectLocalSettingsFile:
; (lines=30, args=1, vars=2, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/BootstrapHelperFunctions.php:30-53
0000 CV0($installationPath) = RECV_INIT 1 null
0001 T2 = DEFINED string("MW_CONFIG_FILE")
0002 JMPZ T2 0006
0003 T2 = FETCH_CONSTANT string("MW_CONFIG_FILE")
0004 VERIFY_RETURN_TYPE T2
0005 RETURN T2
0006 T2 = TYPE_CHECK (null) CV0($installationPath)
0007 JMPZ T2 0011
0008 INIT_FCALL 0 112 string("wfdetectinstallpath")
0009 V2 = DO_UCALL
0010 CV0($installationPath) = QM_ASSIGN V2
0011 INIT_FCALL 1 96 string("getenv")
0012 SEND_VAL string("MW_CONFIG_FILE") 1
0013 V3 = DO_ICALL
0014 T2 = JMP_SET V3 0016
0015 T2 = QM_ASSIGN string("LocalSettings.php")
0016 CV1($configFile) = QM_ASSIGN T2
0017 T3 = FRAMELESS_ICALL_2(strpos) CV1($configFile) string("/")
0018 T2 = TYPE_CHECK (false) T3
0019 JMPZ T2 0024
0020 T3 = ROPE_INIT 3 CV0($installationPath)
0021 T3 = ROPE_ADD 1 T3 string("/")
0022 T2 = ROPE_END 2 T3 CV1($configFile)
0023 ASSIGN CV1($configFile) T2
0024 INIT_FCALL 2 112 string("define")
0025 SEND_VAL string("MW_CONFIG_FILE") 1
0026 SEND_VAR CV1($configFile) 2
0027 DO_ICALL
0028 VERIFY_RETURN_TYPE CV1($configFile)
0029 RETURN CV1($configFile)
LIVE RANGES:
2: 0004 - 0005 (tmp/var)
3: 0020 - 0022 (rope)
wfDetectInstallPath:
; (lines=16, args=0, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/BootstrapHelperFunctions.php:68-78
0000 T1 = DEFINED string("MW_INSTALL_PATH")
0001 JMPNZ T1 0013
0002 INIT_FCALL 1 96 string("getenv")
0003 SEND_VAL string("MW_INSTALL_PATH") 1
0004 V1 = DO_ICALL
0005 CV0($IP) = QM_ASSIGN V1
0006 T1 = TYPE_CHECK (false) CV0($IP)
0007 JMPZ T1 0009
0008 CV0($IP) = QM_ASSIGN string("/var/tmp/mediawiki-1.42.1")
0009 INIT_FCALL 2 112 string("define")
0010 SEND_VAL string("MW_INSTALL_PATH") 1
0011 SEND_VAR CV0($IP) 2
0012 DO_ICALL
0013 T1 = FETCH_CONSTANT string("MW_INSTALL_PATH")
0014 VERIFY_RETURN_TYPE T1
0015 RETURN T1
LIVE RANGES:
1: 0014 - 0015 (tmp/var)
wfIsWindows:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/BootstrapHelperFunctions.php:85-87
0000 RETURN bool(false)
wfIsCLI:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/BootstrapHelperFunctions.php:95-97
0000 RETURN bool(false)
$_main:
; (lines=651, args=0, vars=58, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Setup.php:1-629
0000 T58 = DEFINED string("MEDIAWIKI")
0001 JMPNZ T58 0005
0002 INIT_FCALL 1 96 string("exit")
0003 SEND_VAL int(1) 1
0004 DO_ICALL
0005 INIT_FCALL 1 96 string("ini_get")
0006 SEND_VAL string("mbstring.func_overload") 1
0007 V58 = DO_ICALL
0008 JMPZ V58 0012
0009 INIT_FCALL 1 96 string("exit")
0010 SEND_VAL string("MediaWiki does not support installations where mbstring.func_overload is non-zero.") 1
0011 DO_ICALL
0012 T58 = DEFINED string("MW_ENTRY_POINT")
0013 JMPNZ T58 0015
0014 DECLARE_CONST string("MW_ENTRY_POINT") string("unknown")
0015 BIND_GLOBAL CV0($IP) string("IP")
0016 INIT_FCALL_BY_NAME 0 string("wfDetectInstallPath")
0017 V58 = DO_FCALL_BY_NAME
0018 ASSIGN CV0($IP) V58
0019 T59 = FETCH_CONSTANT string("MW_INSTALL_PATH")
0020 T58 = FAST_CONCAT T59 string("/includes/AutoLoader.php")
0021 INCLUDE_OR_EVAL (require_once) T58
0022 T59 = FETCH_CONSTANT string("MW_INSTALL_PATH")
0023 T58 = FAST_CONCAT T59 string("/includes/Defines.php")
0024 INCLUDE_OR_EVAL (require_once) T58
0025 INIT_FCALL 1 96 string("interface_exists")
0026 SEND_VAL string("Psr\\Log\\LoggerInterface") 1
0027 V58 = DO_ICALL
0028 JMPNZ V58 0035
0029 ASSIGN CV1($message) string("MediaWiki requires the <a href=\"https://github.com/php-fig/log\">PSR-3 logging library</a> to be present. This library is not embedded directly in MediaWiki's git repository and must be installed separately by the end user.
Please see the <a href=\"https://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries\">instructions for installing libraries</a> on mediawiki.org for help on installing the required components.")
0030 ECHO CV1($message)
0031 INIT_FCALL 2 112 string("trigger_error")
0032 SEND_VAR CV1($message) 1
0033 SEND_VAL int(256) 2
0034 DO_ICALL
0035 T59 = FETCH_CONSTANT string("MW_ENTRY_POINT")
0036 T58 = IS_IDENTICAL T59 string("cli")
0037 ASSIGN CV2($wgCommandLineMode) T58
0038 V58 = NEW 0 string("MediaWiki\\Config\\SiteConfiguration")
0039 DO_FCALL
0040 ASSIGN CV3($wgConf) V58
0041 T58 = COALESCE CV4($wgAutoloadClasses) 0043
0042 T58 = ASSIGN CV4($wgAutoloadClasses) array(...)
0043 FREE T58
0044 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Settings\\SettingsBuilder") string("getInstance")
0045 V58 = DO_FCALL
0046 ASSIGN CV5($wgSettings) V58
0047 T58 = DEFINED string("MW_USE_CONFIG_SCHEMA_CLASS")
0048 JMPZ T58 0056
0049 INIT_METHOD_CALL 1 CV5($wgSettings) string("load")
0050 V58 = NEW 1 string("MediaWiki\\Settings\\Source\\ReflectionSchemaSource")
0051 SEND_VAL_EX string("MediaWiki\\MainConfigSchema") 1
0052 DO_FCALL
0053 SEND_VAR_NO_REF_EX V58 1
0054 DO_FCALL
0055 JMP 0064
0056 INIT_METHOD_CALL 1 CV5($wgSettings) string("load")
0057 V58 = NEW 1 string("MediaWiki\\Settings\\Source\\PhpSettingsSource")
0058 T60 = FETCH_CONSTANT string("MW_INSTALL_PATH")
0059 T59 = FAST_CONCAT T60 string("/includes/config-schema.php")
0060 SEND_VAL_EX T59 1
0061 DO_FCALL
0062 SEND_VAR_NO_REF_EX V58 1
0063 DO_FCALL
0064 T59 = FETCH_CONSTANT string("MW_INSTALL_PATH")
0065 T58 = FAST_CONCAT T59 string("/includes/GlobalFunctions.php")
0066 INCLUDE_OR_EVAL (require_once) T58
0067 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Request\\HeaderCallback") string("register")
0068 DO_FCALL
0069 INIT_FCALL 1 96 string("mb_internal_encoding")
0070 SEND_VAL string("UTF-8") 1
0071 DO_ICALL
0072 INIT_METHOD_CALL 1 CV5($wgSettings) string("putConfigValues")
0073 T60 = FETCH_CLASS_CONSTANT string("MediaWiki\\MainConfigNames") string("BaseDirectory")
0074 T59 = FETCH_CONSTANT string("MW_INSTALL_PATH")
0075 T58 = INIT_ARRAY 5 T59 T60
0076 T60 = FETCH_CLASS_CONSTANT string("MediaWiki\\MainConfigNames") string("ExtensionDirectory")
0077 T61 = FETCH_CONSTANT string("MW_INSTALL_PATH")
0078 T59 = FAST_CONCAT T61 string("/extensions")
0079 T58 = ADD_ARRAY_ELEMENT T59 T60
0080 T60 = FETCH_CLASS_CONSTANT string("MediaWiki\\MainConfigNames") string("StyleDirectory")
0081 T61 = FETCH_CONSTANT string("MW_INSTALL_PATH")
0082 T59 = FAST_CONCAT T61 string("/skins")
0083 T58 = ADD_ARRAY_ELEMENT T59 T60
0084 T60 = FETCH_CLASS_CONSTANT string("MediaWiki\\MainConfigNames") string("ServiceWiringFiles")
0085 T59 = FETCH_CONSTANT string("MW_INSTALL_PATH")
0086 T61 = FAST_CONCAT T59 string("/includes/ServiceWiring.php")
0087 T59 = INIT_ARRAY 1 (packed) T61 NEXT
0088 T58 = ADD_ARRAY_ELEMENT T59 T60
0089 T59 = FETCH_CONSTANT string("MW_VERSION")
0090 T58 = ADD_ARRAY_ELEMENT T59 string("Version")
0091 SEND_VAL_EX T58 1
0092 DO_FCALL
0093 INIT_METHOD_CALL 0 CV5($wgSettings) string("apply")
0094 DO_FCALL
0095 ASSIGN CV6($wgScopeTest) string("MediaWiki Setup.php scope test")
0096 T58 = ISSET_ISEMPTY_VAR (global) (isset) string("wgScopeTest")
0097 JMPZ T58 0101
0098 T59 = FETCH_R (global) string("wgScopeTest")
0099 T58 = IS_NOT_IDENTICAL CV6($wgScopeTest) T59
0100 JMPZ T58 0116
0101 INIT_METHOD_CALL 0 CV5($wgSettings) string("getConfigSchema")
0102 V58 = DO_FCALL
0103 INIT_METHOD_CALL 0 V58 string("getDefinedKeys")
0104 V59 = DO_FCALL
0105 V58 = FE_RESET_R V59 0113
0106 FE_FETCH_R V58 CV7($key) 0113
0107 T59 = FAST_CONCAT string("wg") CV7($key)
0108 ASSIGN CV8($var) T59
0109 V60 = FETCH_W (global+lock) CV8($var)
0110 V59 = FETCH_W (local) CV8($var)
0111 ASSIGN_REF V59 V60
0112 JMP 0106
0113 FE_FREE V58
0114 UNSET_CV CV7($key)
0115 UNSET_CV CV8($var)
0116 UNSET_CV CV6($wgScopeTest)
0117 T58 = DEFINED string("MW_CONFIG_CALLBACK")
0118 JMPZ T58 0124
0119 T58 = FETCH_CONSTANT string("MW_CONFIG_CALLBACK")
0120 INIT_USER_CALL 1 string("call_user_func") T58
0121 SEND_USER CV5($wgSettings) 1
0122 DO_FCALL
0123 JMP 0159
0124 INIT_FCALL_BY_NAME 1 string("wfDetectLocalSettingsFile")
0125 T58 = FETCH_CONSTANT string("MW_INSTALL_PATH")
0126 SEND_VAL_EX T58 1
0127 DO_FCALL_BY_NAME
0128 INIT_FCALL 1 96 string("getenv")
0129 SEND_VAL string("MW_USE_LOCAL_SETTINGS_LOADER") 1
0130 V58 = DO_ICALL
0131 JMPZ V58 0144
0132 V58 = NEW 2 string("MediaWiki\\Settings\\LocalSettingsLoader")
0133 SEND_VAR_EX CV5($wgSettings) 1
0134 T59 = FETCH_CONSTANT string("MW_INSTALL_PATH")
0135 SEND_VAL_EX T59 2
0136 DO_FCALL
0137 ASSIGN CV9($localSettingsLoader) V58
0138 INIT_METHOD_CALL 1 CV9($localSettingsLoader) string("loadLocalSettingsFile")
0139 T58 = FETCH_CONSTANT string("MW_CONFIG_FILE")
0140 SEND_VAL_EX T58 1
0141 DO_FCALL
0142 UNSET_CV CV9($localSettingsLoader)
0143 JMP 0159
0144 INIT_FCALL 2 112 string("str_ends_with")
0145 T58 = FETCH_CONSTANT string("MW_CONFIG_FILE")
0146 SEND_VAL T58 1
0147 SEND_VAL string(".php") 2
0148 V58 = DO_ICALL
0149 JMPZ V58 0155
0150 INIT_METHOD_CALL 0 CV5($wgSettings) string("apply")
0151 DO_FCALL
0152 T58 = FETCH_CONSTANT string("MW_CONFIG_FILE")
0153 INCLUDE_OR_EVAL (require_once) T58
0154 JMP 0159
0155 INIT_METHOD_CALL 1 CV5($wgSettings) string("loadFile")
0156 T58 = FETCH_CONSTANT string("MW_CONFIG_FILE")
0157 SEND_VAL_EX T58 1
0158 DO_FCALL
0159 INIT_METHOD_CALL 0 CV5($wgSettings) string("apply")
0160 DO_FCALL
0161 JMP 0165
0162 CV10($e) = CATCH string("MissingExtensionException")
0163 INIT_METHOD_CALL 0 CV10($e) string("render")
0164 DO_FCALL
0165 INIT_METHOD_CALL 0 CV5($wgSettings) string("getConfig")
0166 V58 = DO_FCALL
0167 INIT_METHOD_CALL 1 V58 string("get")
0168 T58 = FETCH_CLASS_CONSTANT string("MediaWiki\\MainConfigNames") string("WikiFarmSettingsDirectory")
0169 SEND_VAL_EX T58 1
0170 V58 = DO_FCALL
0171 JMPZ V58 0179
0172 V58 = NEW 1 string("MediaWiki\\Settings\\WikiFarmSettingsLoader")
0173 SEND_VAR_EX CV5($wgSettings) 1
0174 DO_FCALL
0175 ASSIGN CV11($wikiFarmSettingsLoader) V58
0176 INIT_METHOD_CALL 0 CV11($wikiFarmSettingsLoader) string("loadWikiFarmSettings")
0177 DO_FCALL
0178 UNSET_CV CV11($wikiFarmSettingsLoader)
0179 INIT_METHOD_CALL 0 CV5($wgSettings) string("enterRegistrationStage")
0180 DO_FCALL
0181 T58 = DEFINED string("MW_SETUP_CALLBACK")
0182 JMPZ T58 0189
0183 T58 = FETCH_CONSTANT string("MW_SETUP_CALLBACK")
0184 INIT_USER_CALL 1 string("call_user_func") T58
0185 SEND_USER CV5($wgSettings) 1
0186 DO_FCALL
0187 INIT_METHOD_CALL 0 CV5($wgSettings) string("apply")
0188 DO_FCALL
0189 V58 = NEW 1 string("MediaWiki\\Settings\\DynamicDefaultValues")
0190 INIT_METHOD_CALL 0 CV5($wgSettings) string("getConfigSchema")
0191 V59 = DO_FCALL
0192 SEND_VAR_NO_REF_EX V59 1
0193 DO_FCALL
0194 ASSIGN CV12($dynamicDefaults) V58
0195 INIT_METHOD_CALL 1 CV12($dynamicDefaults) string("applyDynamicDefaults")
0196 INIT_METHOD_CALL 0 CV5($wgSettings) string("getConfigBuilder")
0197 V58 = DO_FCALL
0198 SEND_VAR_NO_REF_EX V58 1
0199 DO_FCALL
0200 INIT_METHOD_CALL 0 CV5($wgSettings) string("apply")
0201 DO_FCALL
0202 INCLUDE_OR_EVAL (require) string("/var/tmp/mediawiki-1.42.1/includes/SetupDynamicConfig.php")
0203 T58 = DEFINED string("MW_AUTOLOAD_TEST_CLASSES")
0204 JMPZ T58 0206
0205 INCLUDE_OR_EVAL (require_once) string("/var/tmp/mediawiki-1.42.1/includes/../tests/common/TestsAutoLoader.php")
0206 T59 = FETCH_CONSTANT string("MW_INSTALL_PATH")
0207 T58 = IS_NOT_IDENTICAL CV13($wgBaseDirectory) T59
0208 JMPZ T58 0213
0209 V58 = NEW 1 string("FatalError")
0210 SEND_VAL_EX string("$wgBaseDirectory must not be modified in settings files! Use the MW_INSTALL_PATH environment variable to override the installation root directory.") 1
0211 DO_FCALL
0212 THROW V58
0213 JMPZ CV14($wgRequestTimeLimit) 0222
0214 T59 = FETCH_CONSTANT string("MW_ENTRY_POINT")
0215 T58 = IS_NOT_IDENTICAL T59 string("cli")
0216 JMPZ T58 0222
0217 INIT_STATIC_METHOD_CALL 0 string("Wikimedia\\RequestTimeout\\RequestTimeout") string("singleton")
0218 V58 = DO_FCALL
0219 INIT_METHOD_CALL 1 V58 string("setWallTimeLimit")
0220 SEND_VAR_EX CV14($wgRequestTimeLimit) 1
0221 DO_FCALL
0222 T58 = DEFINED string("MW_AUTOLOAD_TEST_CLASSES")
0223 JMPZ T58 0229
0224 INIT_STATIC_METHOD_CALL 0 string("ExtensionRegistry") string("getInstance")
0225 V58 = DO_FCALL
0226 INIT_METHOD_CALL 1 V58 string("setLoadTestClassesAndNamespaces")
0227 SEND_VAL_EX bool(true) 1
0228 DO_FCALL
0229 INIT_STATIC_METHOD_CALL 0 string("ExtensionRegistry") string("getInstance")
0230 V58 = DO_FCALL
0231 INIT_METHOD_CALL 1 V58 string("setSettingsBuilder")
0232 SEND_VAR_EX CV5($wgSettings) 1
0233 DO_FCALL
0234 INIT_STATIC_METHOD_CALL 0 string("ExtensionRegistry") string("getInstance")
0235 V58 = DO_FCALL
0236 INIT_METHOD_CALL 0 V58 string("loadFromQueue")
0237 DO_FCALL
0238 INIT_STATIC_METHOD_CALL 0 string("ExtensionRegistry") string("getInstance")
0239 V58 = DO_FCALL
0240 INIT_METHOD_CALL 0 V58 string("finish")
0241 DO_FCALL
0242 T58 = DEFINED string("MW_FINAL_SETUP_CALLBACK")
0243 JMPZ T58 0250
0244 T58 = FETCH_CONSTANT string("MW_FINAL_SETUP_CALLBACK")
0245 INIT_USER_CALL 1 string("call_user_func") T58
0246 SEND_USER CV5($wgSettings) 1
0247 DO_FCALL
0248 INIT_METHOD_CALL 0 CV5($wgSettings) string("apply")
0249 DO_FCALL
0250 INIT_METHOD_CALL 0 CV5($wgSettings) string("enterReadOnlyStage")
0251 DO_FCALL
0252 INIT_FCALL 1 96 string("putenv")
0253 INIT_FCALL 3 128 string("setlocale")
0254 SEND_VAL int(6) 1
0255 SEND_VAL string("C.UTF-8") 2
0256 SEND_VAL string("C") 3
0257 V59 = DO_ICALL
0258 T58 = CONCAT string("LC_ALL=") V59
0259 SEND_VAL T58 1
0260 DO_ICALL
0261 INIT_FCALL 1 96 string("date_default_timezone_set")
0262 SEND_VAR CV15($wgLocaltimezone) 1
0263 DO_ICALL
0264 INIT_STATIC_METHOD_CALL 0 string("MWDebug") string("setup")
0265 DO_FCALL
0266 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("allowGlobalInstance")
0267 DO_FCALL
0268 DECLARE_CONST string("MW_SERVICE_BOOTSTRAP_COMPLETE") int(1)
0269 INIT_STATIC_METHOD_CALL 1 string("MWExceptionRenderer") string("setShowExceptionDetails")
0270 SEND_VAR_EX CV16($wgShowExceptionDetails) 1
0271 DO_FCALL
0272 T58 = DEFINED string("MW_PHPUNIT_TEST")
0273 JMPNZ T58 0278
0274 INIT_STATIC_METHOD_CALL 2 string("MWExceptionHandler") string("installHandler")
0275 SEND_VAR_EX CV17($wgLogExceptionBacktrace) 1
0276 SEND_VAR_EX CV18($wgPropagateErrors) 2
0277 DO_FCALL
0278 INIT_STATIC_METHOD_CALL 1 string("Profiler") string("init")
0279 SEND_VAR_EX CV19($wgProfiler) 1
0280 DO_FCALL
0281 T58 = TYPE_CHECK (false) CV20($wgServer)
0282 JMPZ T58 0287
0283 V58 = NEW 1 string("FatalError")
0284 SEND_VAL_EX string("$wgServer must be set in LocalSettings.php. See <a href=\"https://www.mediawiki.org/wiki/Manual:$wgServer\">https://www.mediawiki.org/wiki/Manual:$wgServer</a>.") 1
0285 DO_FCALL
0286 THROW V58
0287 BIND_GLOBAL CV21($wgHooks) string("wgHooks")
0288 V58 = NEW 2 string("MediaWiki\\HookContainer\\FauxGlobalHookArray")
0289 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("getInstance")
0290 V59 = DO_FCALL
0291 INIT_METHOD_CALL 0 V59 string("getHookContainer")
0292 V59 = DO_FCALL
0293 SEND_VAR_NO_REF_EX V59 1
0294 SEND_VAR_EX CV21($wgHooks) 2
0295 DO_FCALL
0296 ASSIGN CV21($wgHooks) V58
0297 T58 = TYPE_CHECK (false) CV22($wgCanonicalServer)
0298 JMPZ T58 0306
0299 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("getInstance")
0300 V58 = DO_FCALL
0301 INIT_METHOD_CALL 0 V58 string("getUrlUtils")
0302 V58 = DO_FCALL
0303 INIT_METHOD_CALL 0 V58 string("getCanonicalServer")
0304 V58 = DO_FCALL
0305 ASSIGN CV22($wgCanonicalServer) V58
0306 V58 = FETCH_DIM_W CV23($wgVirtualRestConfig) string("global")
0307 ASSIGN_DIM V58 string("domain")
0308 OP_DATA CV22($wgCanonicalServer)
0309 T58 = TYPE_CHECK TYPE [null, true, long, double, string, array, object, resource] CV24($wgServerName)
0310 JMPZ T58 0314
0311 INIT_FCALL_BY_NAME 1 string("wfWarn")
0312 SEND_VAL_EX string("$wgServerName should be derived from $wgCanonicalServer, not customized. Overwriting $wgServerName.") 1
0313 DO_FCALL_BY_NAME
0314 INIT_FCALL 2 112 string("parse_url")
0315 SEND_VAR CV22($wgCanonicalServer) 1
0316 SEND_VAL int(1) 2
0317 V58 = DO_ICALL
0318 ASSIGN CV24($wgServerName) V58
0319 JMPNZ CV25($wgEmergencyContact) 0322
0320 T58 = CONCAT string("wikiadmin@") CV24($wgServerName)
0321 ASSIGN CV25($wgEmergencyContact) T58
0322 JMPNZ CV26($wgPasswordSender) 0325
0323 T58 = CONCAT string("apache@") CV24($wgServerName)
0324 ASSIGN CV26($wgPasswordSender) T58
0325 JMPNZ CV27($wgNoReplyAddress) 0327
0326 ASSIGN CV27($wgNoReplyAddress) CV26($wgPasswordSender)
0327 JMPZ CV28($wgSecureLogin) 0336
0328 T59 = FRAMELESS_ICALL_3(substr) CV20($wgServer) int(0)
0329 OP_DATA int(2)
0330 T58 = IS_NOT_IDENTICAL T59 string("//")
0331 JMPZ T58 0336
0332 ASSIGN CV28($wgSecureLogin) bool(false)
0333 INIT_FCALL_BY_NAME 1 string("wfWarn")
0334 SEND_VAL_EX string("Secure login was enabled on a server that only supports HTTP or HTTPS. Disabling secure login.") 1
0335 DO_FCALL_BY_NAME
0336 T58 = TYPE_CHECK (false) CV29($wgTmpDirectory)
0337 JMPZ T58 0341
0338 INIT_FCALL_BY_NAME 0 string("wfTempDir")
0339 V58 = DO_FCALL_BY_NAME
0340 ASSIGN CV29($wgTmpDirectory) V58
0341 JMPZ CV30($wgSharedDB) 0357
0342 JMPZ CV31($wgSharedTables) 0357
0343 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("getInstance")
0344 V58 = DO_FCALL
0345 INIT_METHOD_CALL 0 V58 string("getDBLoadBalancer")
0346 V58 = DO_FCALL
0347 INIT_METHOD_CALL 1 V58 string("setTableAliases")
0348 INIT_FCALL 2 112 string("array_fill_keys")
0349 SEND_VAR CV31($wgSharedTables) 1
0350 T58 = INIT_ARRAY 3 CV30($wgSharedDB) string("dbname")
0351 T58 = ADD_ARRAY_ELEMENT CV32($wgSharedSchema) string("schema")
0352 T58 = ADD_ARRAY_ELEMENT CV33($wgSharedPrefix) string("prefix")
0353 SEND_VAL T58 2
0354 V58 = DO_ICALL
0355 SEND_VAR_NO_REF_EX V58 1
0356 DO_FCALL
0357 INIT_FCALL_BY_NAME 1 string("wfMemoryLimit")
0358 SEND_VAR_EX CV34($wgMemoryLimit) 1
0359 DO_FCALL_BY_NAME
0360 BIND_GLOBAL CV35($wgRequest) string("wgRequest")
0361 BIND_GLOBAL CV36($wgInitialSessionId) string("wgInitialSessionId")
0362 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Context\\RequestContext") string("getMain")
0363 V58 = DO_FCALL
0364 INIT_METHOD_CALL 0 V58 string("getRequest")
0365 V58 = DO_FCALL
0366 ASSIGN CV35($wgRequest) V58
0367 INIT_METHOD_CALL 2 CV35($wgRequest) string("getCookie")
0368 SEND_VAL_EX string("UseDC") 1
0369 SEND_VAL_EX string("") 2
0370 V59 = DO_FCALL
0371 T58 = IS_IDENTICAL V59 string("master")
0372 JMPZ T58 0380
0373 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("getInstance")
0374 V58 = DO_FCALL
0375 INIT_METHOD_CALL 0 V58 string("getMainWANObjectCache")
0376 V58 = DO_FCALL
0377 INIT_METHOD_CALL 1 V58 string("useInterimHoldOffCaching")
0378 SEND_VAL_EX bool(false) 1
0379 DO_FCALL
0380 T58 = DECLARE_LAMBDA_FUNCTION 0
0381 INIT_DYNAMIC_CALL 0 T58
0382 DO_FCALL
0383 V58 = NEW 1 string("MediaWiki\\HookContainer\\HookRunner")
0384 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("getInstance")
0385 V59 = DO_FCALL
0386 INIT_METHOD_CALL 0 V59 string("getHookContainer")
0387 V59 = DO_FCALL
0388 SEND_VAR_NO_REF_EX V59 1
0389 DO_FCALL
0390 INIT_METHOD_CALL 0 V58 string("onSetupAfterCache")
0391 DO_FCALL
0392 T59 = FETCH_CONSTANT string("MW_ENTRY_POINT")
0393 T58 = IS_IDENTICAL T59 string("index")
0394 JMPZ T58 0397
0395 INIT_METHOD_CALL 0 CV35($wgRequest) string("interpolateTitle")
0396 DO_FCALL
0397 ASSIGN CV36($wgInitialSessionId) null
0398 T58 = DEFINED string("MW_NO_SESSION")
0399 JMPNZ T58 0514
0400 T59 = FETCH_CONSTANT string("MW_ENTRY_POINT")
0401 T58 = IS_NOT_IDENTICAL T59 string("cli")
0402 JMPZ T58 0514
0403 T58 = IS_NOT_IDENTICAL CV37($wgPHPSessionHandling) string("disable")
0404 JMPZ T58 0416
0405 INIT_FCALL_BY_NAME 1 string("wfIniGetBool")
0406 SEND_VAL_EX string("session.auto_start") 1
0407 V58 = DO_FCALL_BY_NAME
0408 JMPNZ V58 0416
0409 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Request\\HeaderCallback") string("warnIfHeadersSent")
0410 DO_FCALL
0411 INIT_FCALL 1 96 string("session_name")
0412 T58 = JMP_SET CV38($wgSessionName) 0414
0413 T58 = CONCAT CV39($wgCookiePrefix) string("_session")
0414 SEND_VAL T58 1
0415 DO_ICALL
0416 T58 = DEFINED string("MW_NO_SESSION_HANDLER")
0417 JMPNZ T58 0423
0418 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\Session\\PHPSessionHandler") string("install")
0419 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Session\\SessionManager") string("singleton")
0420 V58 = DO_FCALL
0421 SEND_VAR_NO_REF_EX V58 1
0422 DO_FCALL
0423 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("getInstance")
0424 V58 = DO_FCALL
0425 INIT_METHOD_CALL 0 V58 string("getContentLanguage")
0426 V58 = DO_FCALL
0427 ASSIGN CV40($contLang) V58
0428 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Session\\SessionManager") string("getGlobalSession")
0429 V58 = DO_FCALL
0430 ASSIGN CV41($session) V58
0431 JMP 0463
0432 CV42($ex) = CATCH string("MediaWiki\\Session\\SessionOverflowException")
0433 ASSIGN CV43($list) array(...)
0434 INIT_METHOD_CALL 0 CV42($ex) string("getSessionInfos")
0435 V59 = DO_FCALL
0436 V58 = FE_RESET_R V59 0446
0437 FE_FETCH_R V58 CV44($info) 0446
0438 INIT_METHOD_CALL 0 CV44($info) string("getProvider")
0439 V59 = DO_FCALL
0440 INIT_METHOD_CALL 1 V59 string("describe")
0441 SEND_VAR_EX CV40($contLang) 1
0442 V59 = DO_FCALL
0443 ASSIGN_DIM CV43($list) NEXT
0444 OP_DATA V59
0445 JMP 0437
0446 FE_FREE V58
0447 INIT_METHOD_CALL 1 CV40($contLang) string("listToText")
0448 SEND_VAR_EX CV43($list) 1
0449 V58 = DO_FCALL
0450 ASSIGN CV43($list) V58
0451 V58 = NEW 2 string("HttpError")
0452 SEND_VAL_EX int(400) 1
0453 INIT_STATIC_METHOD_CALL 2 string("Message") string("newFromKey")
0454 SEND_VAL_EX string("sessionmanager-tie") 1
0455 SEND_VAR_EX CV43($list) 2
0456 V59 = DO_FCALL
0457 INIT_METHOD_CALL 1 V59 string("inLanguage")
0458 SEND_VAR_EX CV40($contLang) 1
0459 V59 = DO_FCALL
0460 SEND_VAR_NO_REF_EX V59 2
0461 DO_FCALL
0462 THROW V58
0463 UNSET_CV CV40($contLang)
0464 INIT_METHOD_CALL 0 CV41($session) string("isPersistent")
0465 V58 = DO_FCALL
0466 JMPZ V58 0470
0467 INIT_METHOD_CALL 0 CV41($session) string("getSessionId")
0468 V58 = DO_FCALL
0469 ASSIGN CV36($wgInitialSessionId) V58
0470 INIT_METHOD_CALL 0 CV41($session) string("renew")
0471 DO_FCALL
0472 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Session\\PHPSessionHandler") string("isEnabled")
0473 V58 = DO_FCALL
0474 JMPZ V58 0512
0475 INIT_METHOD_CALL 0 CV41($session) string("isPersistent")
0476 V58 = DO_FCALL
0477 JMPNZ V58 0481
0478 INIT_METHOD_CALL 0 CV41($session) string("shouldRememberUser")
0479 V58 = DO_FCALL
0480 JMPZ V58 0512
0481 INIT_FCALL 0 80 string("session_id")
0482 V59 = DO_ICALL
0483 INIT_METHOD_CALL 0 CV41($session) string("getId")
0484 V60 = DO_FCALL
0485 T58 = IS_NOT_IDENTICAL V59 V60
0486 JMPZ T58 0512
0487 INIT_FCALL 0 80 string("session_id")
0488 V59 = DO_ICALL
0489 T58 = IS_NOT_IDENTICAL V59 string("")
0490 JMPZ T58 0505
0491 INIT_FCALL_BY_NAME 4 string("wfDebugLog")
0492 SEND_VAL_EX string("session") 1
0493 SEND_VAL_EX string("PHP session {old_id} was already started, changing to {new_id}") 2
0494 SEND_VAL_EX string("all") 3
0495 INIT_FCALL 0 80 string("session_id")
0496 V59 = DO_ICALL
0497 T58 = INIT_ARRAY 2 V59 string("old_id")
0498 INIT_METHOD_CALL 0 CV41($session) string("getId")
0499 V59 = DO_FCALL
0500 T58 = ADD_ARRAY_ELEMENT V59 string("new_id")
0501 SEND_VAL_EX T58 4
0502 DO_FCALL_BY_NAME
0503 INIT_FCALL 0 80 string("session_write_close")
0504 DO_ICALL
0505 INIT_FCALL 1 96 string("session_id")
0506 INIT_METHOD_CALL 0 CV41($session) string("getId")
0507 V58 = DO_FCALL
0508 SEND_VAR V58 1
0509 DO_ICALL
0510 INIT_FCALL 0 80 string("session_start")
0511 DO_ICALL
0512 UNSET_CV CV41($session)
0513 JMP 0521
0514 T58 = DEFINED string("MW_NO_SESSION_HANDLER")
0515 JMPNZ T58 0521
0516 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\Session\\PHPSessionHandler") string("install")
0517 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Session\\SessionManager") string("singleton")
0518 V58 = DO_FCALL
0519 SEND_VAR_NO_REF_EX V58 1
0520 DO_FCALL
0521 BIND_GLOBAL CV45($wgUser) string("wgUser")
0522 BIND_GLOBAL CV46($wgLang) string("wgLang")
0523 BIND_GLOBAL CV47($wgOut) string("wgOut")
0524 BIND_GLOBAL CV48($wgTitle) string("wgTitle")
0525 V58 = NEW 1 string("MediaWiki\\StubObject\\StubGlobalUser")
0526 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Context\\RequestContext") string("getMain")
0527 V59 = DO_FCALL
0528 INIT_METHOD_CALL 0 V59 string("getUser")
0529 V59 = DO_FCALL
0530 SEND_VAR_NO_REF_EX V59 1
0531 DO_FCALL
0532 ASSIGN CV45($wgUser) V58
0533 INIT_FCALL 1 96 string("register_shutdown_function")
0534 T58 = DECLARE_LAMBDA_FUNCTION 1
0535 SEND_VAL T58 1
0536 DO_ICALL
0537 V58 = NEW 0 string("MediaWiki\\StubObject\\StubUserLang")
0538 DO_FCALL
0539 ASSIGN CV46($wgLang) V58
0540 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Context\\RequestContext") string("getMain")
0541 V58 = DO_FCALL
0542 INIT_METHOD_CALL 0 V58 string("getOutput")
0543 V58 = DO_FCALL
0544 ASSIGN CV47($wgOut) V58
0545 ASSIGN CV48($wgTitle) null
0546 BIND_GLOBAL CV49($wgFullyInitialised) string("wgFullyInitialised")
0547 BIND_GLOBAL CV50($wgExtensionFunctions) string("wgExtensionFunctions")
0548 V58 = FE_RESET_R CV50($wgExtensionFunctions) 0553
0549 FE_FETCH_R V58 CV51($func) 0553
0550 INIT_USER_CALL 0 string("call_user_func") CV51($func)
0551 DO_FCALL
0552 JMP 0549
0553 FE_FREE V58
0554 UNSET_CV CV51($func)
0555 T58 = DEFINED string("MW_NO_SESSION")
0556 JMPNZ T58 0614
0557 T59 = FETCH_CONSTANT string("MW_ENTRY_POINT")
0558 T58 = IS_NOT_IDENTICAL T59 string("cli")
0559 JMPZ T58 0614
0560 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Session\\SessionManager") string("getGlobalSession")
0561 V58 = DO_FCALL
0562 INIT_METHOD_CALL 0 V58 string("getUser")
0563 V58 = DO_FCALL
0564 ASSIGN CV52($sessionUser) V58
0565 INIT_METHOD_CALL 0 CV52($sessionUser) string("getId")
0566 V59 = DO_FCALL
0567 T58 = IS_IDENTICAL V59 int(0)
0568 JMPZ T58 0613
0569 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("getInstance")
0570 V58 = DO_FCALL
0571 INIT_METHOD_CALL 0 V58 string("getUserNameUtils")
0572 V58 = DO_FCALL
0573 INIT_METHOD_CALL 1 V58 string("isValid")
0574 INIT_METHOD_CALL 0 CV52($sessionUser) string("getName")
0575 V58 = DO_FCALL
0576 SEND_VAR_NO_REF_EX V58 1
0577 V58 = DO_FCALL
0578 JMPZ V58 0613
0579 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("getInstance")
0580 V58 = DO_FCALL
0581 INIT_METHOD_CALL 0 V58 string("getAuthManager")
0582 V58 = DO_FCALL
0583 INIT_METHOD_CALL 3 V58 string("autoCreateUser")
0584 SEND_VAR_EX CV52($sessionUser) 1
0585 T58 = FETCH_CLASS_CONSTANT string("MediaWiki\\Auth\\AuthManager") string("AUTOCREATE_SOURCE_SESSION")
0586 SEND_VAL_EX T58 2
0587 SEND_VAL_EX bool(true) 3
0588 V58 = DO_FCALL
0589 ASSIGN CV53($res) V58
0590 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\Logger\\LoggerFactory") string("getInstance")
0591 SEND_VAL_EX string("authevents") 1
0592 V58 = DO_FCALL
0593 INIT_METHOD_CALL 2 V58 string("info")
0594 SEND_VAL_EX string("Autocreation attempt") 1
0595 T58 = INIT_ARRAY 3 string("autocreate") string("event")
0596 INIT_METHOD_CALL 0 CV53($res) string("isGood")
0597 V59 = DO_FCALL
0598 T58 = ADD_ARRAY_ELEMENT V59 string("successful")
0599 INIT_METHOD_CALL 0 CV53($res) string("getErrorsArray")
0600 V59 = DO_FCALL
0601 T60 = JMP_SET V59 0605
0602 INIT_METHOD_CALL 0 CV53($res) string("getWarningsArray")
0603 V59 = DO_FCALL
0604 T60 = QM_ASSIGN V59
0605 T59 = FETCH_DIM_IS T60 int(0)
0606 T60 = FETCH_DIM_IS T59 int(0)
0607 T59 = COALESCE T60 0609
0608 T59 = QM_ASSIGN string("-")
0609 T58 = ADD_ARRAY_ELEMENT T59 string("status")
0610 SEND_VAL_EX T58 2
0611 DO_FCALL
0612 UNSET_CV CV53($res)
0613 UNSET_CV CV52($sessionUser)
0614 T59 = FETCH_CONSTANT string("MW_ENTRY_POINT")
0615 T58 = IS_NOT_IDENTICAL T59 string("cli")
0616 JMPZ T58 0622
0617 JMPZ CV54($wgPingback) 0622
0618 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\Deferred\\DeferredUpdates") string("addCallableUpdate")
0619 T58 = DECLARE_LAMBDA_FUNCTION 2
0620 SEND_VAL_EX T58 1
0621 DO_FCALL
0622 INIT_METHOD_CALL 0 CV5($wgSettings) string("getWarnings")
0623 V58 = DO_FCALL
0624 ASSIGN CV55($settingsWarnings) V58
0625 JMPZ CV55($settingsWarnings) 0638
0626 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\Logger\\LoggerFactory") string("getInstance")
0627 SEND_VAL_EX string("Settings") 1
0628 V58 = DO_FCALL
0629 ASSIGN CV56($logger) V58
0630 V58 = FE_RESET_R CV55($settingsWarnings) 0636
0631 FE_FETCH_R V58 CV57($msg) 0636
0632 INIT_METHOD_CALL 1 CV56($logger) string("warning")
0633 SEND_VAR_EX CV57($msg) 1
0634 DO_FCALL
0635 JMP 0631
0636 FE_FREE V58
0637 UNSET_CV CV56($logger)
0638 UNSET_CV CV55($settingsWarnings)
0639 BIND_GLOBAL CV49($wgFullyInitialised) string("wgFullyInitialised")
0640 ASSIGN CV49($wgFullyInitialised) bool(true)
0641 T58 = DEFINED string("MW_NO_SESSION")
0642 JMPNZ T58 0650
0643 T59 = FETCH_CONSTANT string("MW_ENTRY_POINT")
0644 T58 = IS_NOT_IDENTICAL T59 string("cli")
0645 JMPZ T58 0650
0646 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Session\\SessionManager") string("singleton")
0647 V58 = DO_FCALL
0648 INIT_METHOD_CALL 0 V58 string("logPotentialSessionLeakage")
0649 DO_FCALL
0650 RETURN int(1)
LIVE RANGES:
58: 0039 - 0040 (new)
58: 0051 - 0053 (new)
58: 0058 - 0062 (new)
60: 0074 - 0075 (tmp/var)
58: 0076 - 0091 (tmp/var)
60: 0077 - 0079 (tmp/var)
60: 0081 - 0083 (tmp/var)
60: 0085 - 0088 (tmp/var)
58: 0106 - 0113 (loop)
60: 0110 - 0111 (tmp/var)
58: 0133 - 0137 (new)
58: 0173 - 0175 (new)
58: 0190 - 0194 (new)
58: 0210 - 0212 (new)
58: 0284 - 0286 (new)
58: 0289 - 0296 (new)
59: 0329 - 0330 (tmp/var)
58: 0351 - 0353 (tmp/var)
58: 0384 - 0390 (new)
58: 0437 - 0446 (loop)
58: 0452 - 0462 (new)
59: 0483 - 0485 (tmp/var)
58: 0498 - 0501 (tmp/var)
58: 0526 - 0532 (new)
58: 0538 - 0539 (new)
58: 0549 - 0553 (loop)
58: 0596 - 0610 (tmp/var)
58: 0631 - 0636 (loop)
EXCEPTION TABLE:
0117, 0162, -, -
0428, 0432, -, -
{closure:/var/tmp/mediawiki-1.42.1/includes/Setup.php:429}:
; (lines=50, args=0, vars=6, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Setup.php:429-446
0000 BIND_GLOBAL CV0($wgRequest) string("wgRequest")
0001 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\Logger\\LoggerFactory") string("getInstance")
0002 SEND_VAL_EX string("wfDebug") 1
0003 V6 = DO_FCALL
0004 CV1($logger) = QM_ASSIGN V6
0005 T7 = FETCH_CONSTANT string("MW_ENTRY_POINT")
0006 T6 = IS_IDENTICAL T7 string("cli")
0007 JMPZ T6 0018
0008 T6 = FETCH_IS (global) string("_SERVER")
0009 T7 = FETCH_DIM_IS T6 string("PHP_SELF")
0010 T6 = COALESCE T7 0012
0011 T6 = QM_ASSIGN string("")
0012 CV2($self) = QM_ASSIGN T6
0013 INIT_METHOD_CALL 1 CV1($logger) string("debug")
0014 T6 = FAST_CONCAT string("
Start command line script ") CV2($self)
0015 SEND_VAL_EX T6 1
0016 DO_FCALL
0017 RETURN null
0018 T6 = ROPE_INIT 5 string("
Start request ")
0019 INIT_METHOD_CALL 0 CV0($wgRequest) string("getMethod")
0020 V9 = DO_FCALL
0021 T6 = ROPE_ADD 1 T6 V9
0022 T6 = ROPE_ADD 2 T6 string(" ")
0023 INIT_METHOD_CALL 0 CV0($wgRequest) string("getRequestURL")
0024 V9 = DO_FCALL
0025 T6 = ROPE_ADD 3 T6 V9
0026 CV3($debug) = ROPE_END 4 T6 string("
")
0027 INIT_METHOD_CALL 0 CV0($wgRequest) string("getIP")
0028 V6 = DO_FCALL
0029 T7 = CONCAT string("IP: ") V6
0030 T6 = FAST_CONCAT T7 string("
")
0031 ASSIGN_OP (CONCAT) CV3($debug) T6
0032 ASSIGN_OP (CONCAT) CV3($debug) string("HTTP HEADERS:
")
0033 INIT_METHOD_CALL 0 CV0($wgRequest) string("getAllHeaders")
0034 V7 = DO_FCALL
0035 V6 = FE_RESET_R V7 0044
0036 T7 = FE_FETCH_R V6 CV4($value) 0044
0037 ASSIGN CV5($name) T7
0038 T8 = ROPE_INIT 4 CV5($name)
0039 T8 = ROPE_ADD 1 T8 string(": ")
0040 T8 = ROPE_ADD 2 T8 CV4($value)
0041 T7 = ROPE_END 3 T8 string("
")
0042 ASSIGN_OP (CONCAT) CV3($debug) T7
0043 JMP 0036
0044 FE_FREE V6
0045 ASSIGN_OP (CONCAT) CV3($debug) string("(end headers)")
0046 INIT_METHOD_CALL 1 CV1($logger) string("debug")
0047 SEND_VAR_EX CV3($debug) 1
0048 DO_FCALL
0049 RETURN null
LIVE RANGES:
6: 0018 - 0026 (rope)
6: 0036 - 0044 (loop)
8: 0038 - 0041 (rope)
{closure:/var/tmp/mediawiki-1.42.1/includes/Setup.php:544}:
; (lines=3, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Setup.php:544-546
0000 ASSIGN_STATIC_PROP string("destructorDeprecationDisarmed") string("MediaWiki\\StubObject\\StubGlobalUser")
0001 OP_DATA bool(true)
0002 RETURN null
{closure:/var/tmp/mediawiki-1.42.1/includes/Setup.php:605}:
; (lines=7, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Setup.php:605-607
0000 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("getInstance")
0001 V0 = DO_FCALL
0002 INIT_METHOD_CALL 0 V0 string("getPingback")
0003 V0 = DO_FCALL
0004 INIT_METHOD_CALL 0 V0 string("run")
0005 DO_FCALL
0006 RETURN null
$_main:
; (lines=18, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/AutoLoader.php:1-302
0000 INCLUDE_OR_EVAL (require_once) string("/var/tmp/mediawiki-1.42.1/includes/../autoload.php")
0001 INIT_FCALL 1 96 string("spl_autoload_register")
0002 SEND_VAL array(...) 1
0003 DO_ICALL
0004 INIT_FCALL 1 96 string("is_readable")
0005 SEND_VAL string("/var/tmp/mediawiki-1.42.1/includes/../vendor/autoload.php") 1
0006 V0 = DO_ICALL
0007 JMPZ V0 0010
0008 INCLUDE_OR_EVAL (require_once) string("/var/tmp/mediawiki-1.42.1/includes/../vendor/autoload.php")
0009 RETURN int(1)
0010 INIT_FCALL 1 96 string("file_exists")
0011 SEND_VAL string("/var/tmp/mediawiki-1.42.1/includes/../vendor/autoload.php") 1
0012 V0 = DO_ICALL
0013 JMPZ V0 0017
0014 INIT_FCALL 1 96 string("exit")
0015 SEND_VAL string("/var/tmp/mediawiki-1.42.1/includes/../vendor/autoload.php exists but is not readable") 1
0016 DO_ICALL
0017 RETURN int(1)
AutoLoader::registerNamespaces:
; (lines=4, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/AutoLoader.php:110-112
0000 CV0($dirs) = RECV 1
0001 ASSIGN_STATIC_PROP_OP (ADD) string("psr4Namespaces")
0002 OP_DATA CV0($dirs)
0003 RETURN null
AutoLoader::registerClasses:
; (lines=4, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/AutoLoader.php:120-122
0000 CV0($files) = RECV 1
0001 ASSIGN_STATIC_PROP_OP (ADD) string("classFiles")
0002 OP_DATA CV0($files)
0003 RETURN null
AutoLoader::loadFile:
; (lines=3, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/AutoLoader.php:140-142
0000 CV0($file) = RECV 1
0001 INCLUDE_OR_EVAL (require_once) CV0($file)
0002 RETURN null
AutoLoader::loadFiles:
; (lines=9, args=1, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/AutoLoader.php:153-157
0000 CV0($files) = RECV 1
0001 V2 = FE_RESET_R CV0($files) 0007
0002 FE_FETCH_R V2 CV1($f) 0007
0003 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("loadFile")
0004 SEND_VAR CV1($f) 1
0005 DO_UCALL
0006 JMP 0002
0007 FE_FREE V2
0008 RETURN null
LIVE RANGES:
2: 0002 - 0007 (loop)
AutoLoader::find:
; (lines=67, args=1, vars=8, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/AutoLoader.php:165-212
0000 CV0($className) = RECV 1
0001 BIND_GLOBAL CV1($wgAutoloadLocalClasses) string("wgAutoloadLocalClasses")
0002 BIND_GLOBAL CV2($wgAutoloadClasses) string("wgAutoloadClasses")
0003 T9 = FETCH_DIM_IS CV1($wgAutoloadLocalClasses) CV0($className)
0004 T8 = COALESCE T9 0013
0005 T9 = FETCH_STATIC_PROP_IS string("classFiles") (self) (exception)
0006 T10 = FETCH_DIM_IS T9 CV0($className)
0007 T9 = COALESCE T10 0012
0008 T11 = FETCH_DIM_IS CV2($wgAutoloadClasses) CV0($className)
0009 T10 = COALESCE T11 0011
0010 T10 = QM_ASSIGN bool(false)
0011 T9 = QM_ASSIGN T10
0012 T8 = QM_ASSIGN T9
0013 CV3($filename) = QM_ASSIGN T8
0014 JMPNZ CV3($filename) 0057
0015 T9 = FRAMELESS_ICALL_2(strpos) CV0($className) string("\\")
0016 T8 = TYPE_CHECK TYPE [null, true, long, double, string, array, object, resource] T9
0017 JMPZ T8 0055
0018 CV4($prefix) = QM_ASSIGN CV0($className)
0019 JMP 0049
0020 T9 = ADD CV5($pos) int(1)
0021 T8 = FRAMELESS_ICALL_3(substr) CV0($className) int(0)
0022 OP_DATA T9
0023 ASSIGN CV4($prefix) T8
0024 T9 = FETCH_STATIC_PROP_IS string("psr4Namespaces") (self) (exception)
0025 T8 = ISSET_ISEMPTY_DIM_OBJ (isset) T9 CV4($prefix)
0026 JMPZ T8 0044
0027 T9 = ADD CV5($pos) int(1)
0028 T8 = FRAMELESS_ICALL_2(substr) CV0($className) T9
0029 ASSIGN CV6($relativeClass) T8
0030 T8 = FETCH_STATIC_PROP_R string("psr4Namespaces") (self) (exception)
0031 T9 = FETCH_DIM_R T8 CV4($prefix)
0032 T8 = CONCAT T9 string("/")
0033 T10 = FRAMELESS_ICALL_3(strtr) CV6($relativeClass) string("\\")
0034 OP_DATA string("/")
0035 T9 = FAST_CONCAT T8 T10
0036 T8 = FAST_CONCAT T9 string(".php")
0037 ASSIGN CV7($file) T8
0038 INIT_FCALL 1 96 string("is_file")
0039 SEND_VAR CV7($file) 1
0040 V8 = DO_ICALL
0041 JMPZ V8 0044
0042 ASSIGN CV3($filename) CV7($file)
0043 JMP 0055
0044 INIT_FCALL 2 112 string("rtrim")
0045 SEND_VAR CV4($prefix) 1
0046 SEND_VAL string("\\") 2
0047 V8 = DO_ICALL
0048 ASSIGN CV4($prefix) V8
0049 INIT_FCALL 2 112 string("strrpos")
0050 SEND_VAR CV4($prefix) 1
0051 SEND_VAL string("\\") 2
0052 CV5($pos) = DO_ICALL
0053 T8 = TYPE_CHECK TYPE [null, true, long, double, string, array, object, resource] CV5($pos)
0054 JMPNZ T8 0020
0055 JMPNZ CV3($filename) 0057
0056 RETURN null
0057 T9 = FETCH_DIM_R CV3($filename) int(0)
0058 T8 = IS_NOT_IDENTICAL T9 string("/")
0059 JMPZ T8 0065
0060 T9 = FETCH_DIM_R CV3($filename) int(1)
0061 T8 = IS_NOT_IDENTICAL T9 string(":")
0062 JMPZ T8 0065
0063 T8 = CONCAT string("/var/tmp/mediawiki-1.42.1/includes/../") CV3($filename)
0064 ASSIGN CV3($filename) T8
0065 VERIFY_RETURN_TYPE CV3($filename)
0066 RETURN CV3($filename)
LIVE RANGES:
8: 0022 - 0023 (tmp/var)
8: 0033 - 0035 (tmp/var)
10: 0034 - 0035 (tmp/var)
AutoLoader::autoload:
; (lines=9, args=1, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/AutoLoader.php:219-225
0000 CV0($className) = RECV 1
0001 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("find")
0002 SEND_VAR CV0($className) 1
0003 V2 = DO_UCALL
0004 ASSIGN CV1($filename) V2
0005 T2 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] CV1($filename)
0006 JMPZ T2 0008
0007 INCLUDE_OR_EVAL (require) CV1($filename)
0008 RETURN null
AutoLoader::assertTesting:
; (lines=9, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/AutoLoader.php:228-232
0000 CV0($method) = RECV 1
0001 T1 = DEFINED string("MW_PHPUNIT_TEST")
0002 JMPNZ T1 0008
0003 V1 = NEW 1 string("LogicException")
0004 T2 = FAST_CONCAT CV0($method) string(" is not supported outside phpunit tests!")
0005 SEND_VAL_EX T2 1
0006 DO_FCALL
0007 THROW V1
0008 RETURN null
LIVE RANGES:
1: 0004 - 0007 (new)
AutoLoader::getClassFiles:
; (lines=12, args=0, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/AutoLoader.php:239-250
0000 BIND_GLOBAL CV0($wgAutoloadLocalClasses) string("wgAutoloadLocalClasses")
0001 BIND_GLOBAL CV1($wgAutoloadClasses) string("wgAutoloadClasses")
0002 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("assertTesting")
0003 SEND_VAL string("AutoLoader::getClassFiles") 1
0004 DO_UCALL
0005 INIT_FCALL 3 128 string("array_merge")
0006 SEND_VAR CV1($wgAutoloadClasses) 1
0007 T2 = FETCH_STATIC_PROP_R string("classFiles") (self) (exception)
0008 SEND_VAL T2 2
0009 SEND_VAR CV0($wgAutoloadLocalClasses) 3
0010 V2 = DO_ICALL
0011 RETURN V2
AutoLoader::getNamespaceDirectories:
; (lines=6, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/AutoLoader.php:257-260
0000 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("assertTesting")
0001 SEND_VAL string("AutoLoader::getNamespaceDirectories") 1
0002 DO_UCALL
0003 T0 = FETCH_STATIC_PROP_R string("psr4Namespaces") (self) (exception)
0004 VERIFY_RETURN_TYPE T0
0005 RETURN T0
LIVE RANGES:
0: 0004 - 0005 (tmp/var)
AutoLoader::getState:
; (lines=8, args=0, vars=0, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/AutoLoader.php:269-275
0000 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("assertTesting")
0001 SEND_VAL string("AutoLoader::getState") 1
0002 DO_UCALL
0003 T1 = FETCH_STATIC_PROP_R string("classFiles") (self) (exception)
0004 T0 = INIT_ARRAY 2 T1 string("classFiles")
0005 T1 = FETCH_STATIC_PROP_R string("psr4Namespaces") (self) (exception)
0006 T0 = ADD_ARRAY_ELEMENT T1 string("psr4Namespaces")
0007 RETURN T0
LIVE RANGES:
0: 0005 - 0007 (tmp/var)
AutoLoader::restoreState:
; (lines=11, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/AutoLoader.php:285-290
0000 CV0($state) = RECV 1
0001 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("assertTesting")
0002 SEND_VAL string("AutoLoader::restoreState") 1
0003 DO_UCALL
0004 T1 = FETCH_DIM_R CV0($state) string("classFiles")
0005 ASSIGN_STATIC_PROP string("classFiles")
0006 OP_DATA T1
0007 T1 = FETCH_DIM_R CV0($state) string("psr4Namespaces")
0008 ASSIGN_STATIC_PROP string("psr4Namespaces")
0009 OP_DATA T1
0010 RETURN null
$_main:
; (lines=3, args=0, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/autoload.php:1-3355
0000 BIND_GLOBAL CV0($wgAutoloadLocalClasses) string("wgAutoloadLocalClasses")
0001 ASSIGN CV0($wgAutoloadLocalClasses) array(...)
0002 RETURN int(1)
$_main:
; (lines=4, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/autoload.php:1-26
0000 INCLUDE_OR_EVAL (require_once) string("/var/tmp/mediawiki-1.42.1/vendor/composer/autoload_real.php")
0001 INIT_STATIC_METHOD_CALL 0 string("ComposerAutoloaderInit_mediawiki_vendor") string("getLoader")
0002 V0 = DO_FCALL
0003 RETURN V0
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/autoload_real.php:1-56
0000 RETURN int(1)
ComposerAutoloaderInit_mediawiki_vendor::loadClassLoader:
; (lines=5, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/autoload_real.php:9-14
0000 CV0($class) = RECV 1
0001 T1 = IS_IDENTICAL CV0($class) string("Composer\\Autoload\\ClassLoader")
0002 JMPZ T1 0004
0003 INCLUDE_OR_EVAL (require) string("/var/tmp/mediawiki-1.42.1/vendor/composer/ClassLoader.php")
0004 RETURN null
ComposerAutoloaderInit_mediawiki_vendor::getLoader:
; (lines=62, args=0, vars=6, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/autoload_real.php:19-54
0000 T7 = FETCH_STATIC_PROP_R string("loader") (self) (exception)
0001 T6 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] T7
0002 JMPZ T6 0005
0003 T6 = FETCH_STATIC_PROP_R string("loader") (self) (exception)
0004 RETURN T6
0005 INCLUDE_OR_EVAL (require) string("/var/tmp/mediawiki-1.42.1/vendor/composer/platform_check.php")
0006 INIT_FCALL 3 128 string("spl_autoload_register")
0007 SEND_VAL array(...) 1
0008 SEND_VAL bool(true) 2
0009 SEND_VAL bool(false) 3
0010 DO_ICALL
0011 V7 = NEW 1 string("Composer\\Autoload\\ClassLoader")
0012 T6 = FRAMELESS_ICALL_1(dirname) string("/var/tmp/mediawiki-1.42.1/vendor/composer")
0013 SEND_VAL_EX T6 1
0014 DO_FCALL
0015 T6 = ASSIGN CV0($loader) V7
0016 ASSIGN_STATIC_PROP string("loader")
0017 OP_DATA T6
0018 INIT_FCALL 1 96 string("spl_autoload_unregister")
0019 SEND_VAL array(...) 1
0020 DO_ICALL
0021 V6 = INCLUDE_OR_EVAL (require) string("/var/tmp/mediawiki-1.42.1/vendor/composer/include_paths.php")
0022 ASSIGN CV1($includePaths) V6
0023 INIT_FCALL 0 80 string("get_include_path")
0024 V6 = DO_ICALL
0025 ASSIGN_DIM CV1($includePaths) NEXT
0026 OP_DATA V6
0027 INIT_FCALL 1 96 string("set_include_path")
0028 T6 = FRAMELESS_ICALL_2(implode) string(":") CV1($includePaths)
0029 SEND_VAL T6 1
0030 DO_ICALL
0031 INCLUDE_OR_EVAL (require) string("/var/tmp/mediawiki-1.42.1/vendor/composer/autoload_static.php")
0032 INIT_STATIC_METHOD_CALL 1 string("Composer\\Autoload\\ComposerStaticInit_mediawiki_vendor") string("getInitializer")
0033 SEND_VAR_EX CV0($loader) 1
0034 V6 = DO_FCALL
0035 INIT_USER_CALL 0 string("call_user_func") V6
0036 DO_FCALL
0037 INIT_METHOD_CALL 1 CV0($loader) string("setClassMapAuthoritative")
0038 SEND_VAL_EX bool(true) 1
0039 DO_FCALL
0040 INIT_METHOD_CALL 1 CV0($loader) string("register")
0041 SEND_VAL_EX bool(false) 1
0042 DO_FCALL
0043 T6 = FETCH_STATIC_PROP_R string("files") string("Composer\\Autoload\\ComposerStaticInit_mediawiki_vendor")
0044 ASSIGN CV2($filesToLoad) T6
0045 INIT_STATIC_METHOD_CALL 3 string("Closure") string("bind")
0046 T6 = DECLARE_LAMBDA_FUNCTION 0
0047 SEND_VAL T6 1
0048 SEND_VAL null 2
0049 SEND_VAL null 3
0050 V6 = DO_FCALL
0051 ASSIGN CV3($requireFile) V6
0052 V6 = FE_RESET_R CV2($filesToLoad) 0060
0053 T7 = FE_FETCH_R V6 CV4($file) 0060
0054 ASSIGN CV5($fileIdentifier) T7
0055 INIT_DYNAMIC_CALL 2 CV3($requireFile)
0056 SEND_VAR_EX CV5($fileIdentifier) 1
0057 SEND_VAR_EX CV4($file) 2
0058 DO_FCALL
0059 JMP 0053
0060 FE_FREE V6
0061 RETURN CV0($loader)
LIVE RANGES:
7: 0012 - 0015 (new)
6: 0053 - 0060 (loop)
{closure:ComposerAutoloaderInit_mediawiki_vendor::getLoader():42}:
; (lines=10, args=2, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/autoload_real.php:42-48
0000 CV0($fileIdentifier) = RECV 1
0001 CV1($file) = RECV 2
0002 T3 = FETCH_IS (global) string("__composer_autoload_files")
0003 T2 = ISSET_ISEMPTY_DIM_OBJ (empty) T3 CV0($fileIdentifier)
0004 JMPZ T2 0009
0005 V2 = FETCH_W (global) string("__composer_autoload_files")
0006 ASSIGN_DIM V2 CV0($fileIdentifier)
0007 OP_DATA bool(true)
0008 INCLUDE_OR_EVAL (require) CV1($file)
0009 RETURN null
$_main:
; (lines=28, args=0, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/platform_check.php:1-27
0000 ASSIGN CV0($issues) array(...)
0001 JMPZ CV0($issues) 0027
0002 INIT_FCALL 0 80 string("headers_sent")
0003 V1 = DO_ICALL
0004 JMPNZ V1 0008
0005 INIT_FCALL 1 96 string("header")
0006 SEND_VAL string("HTTP/1.1 500 Internal Server Error") 1
0007 DO_ICALL
0008 INIT_FCALL 1 96 string("ini_get")
0009 SEND_VAL string("display_errors") 1
0010 V1 = DO_ICALL
0011 JMPNZ V1 0021
0012 INIT_FCALL 0 80 string("headers_sent")
0013 V1 = DO_ICALL
0014 JMPNZ V1 0021
0015 T2 = FRAMELESS_ICALL_2(implode) string("
") CV0($issues)
0016 T1 = FRAMELESS_ICALL_3(str_replace) string("You are running 8.4.0-dev.") string("")
0017 OP_DATA T2
0018 T2 = FAST_CONCAT string("Composer detected issues in your platform:
") T1
0019 T1 = FAST_CONCAT T2 string("
")
0020 ECHO T1
0021 INIT_FCALL 2 112 string("trigger_error")
0022 T2 = FRAMELESS_ICALL_2(implode) string(" ") CV0($issues)
0023 T1 = FAST_CONCAT string("Composer detected issues in your platform: ") T2
0024 SEND_VAL T1 1
0025 SEND_VAL int(256) 2
0026 DO_ICALL
0027 RETURN int(1)
LIVE RANGES:
1: 0017 - 0018 (tmp/var)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/ClassLoader.php:1-580
0000 RETURN int(1)
Composer\Autoload\ClassLoader::__construct:
; (lines=6, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/ClassLoader.php:106-110
0000 CV0($vendorDir) = RECV_INIT 1 null
0001 ASSIGN_OBJ THIS string("vendorDir")
0002 OP_DATA CV0($vendorDir)
0003 INIT_STATIC_METHOD_CALL 0 (self) (exception) string("initializeIncludeClosure")
0004 DO_FCALL
0005 RETURN null
Composer\Autoload\ClassLoader::getPrefixes:
; (lines=13, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/ClassLoader.php:115-122
0000 T0 = ISSET_ISEMPTY_PROP_OBJ (empty) THIS string("prefixesPsr0")
0001 JMPNZ T0 0012
0002 INIT_NS_FCALL_BY_NAME 2 string("Composer\\Autoload\\call_user_func_array")
0003 SEND_VAL_EX string("array_merge") 1
0004 INIT_NS_FCALL_BY_NAME 1 string("Composer\\Autoload\\array_values")
0005 CHECK_FUNC_ARG 1
0006 V0 = FETCH_OBJ_FUNC_ARG (ref) THIS string("prefixesPsr0")
0007 SEND_FUNC_ARG V0 1
0008 V0 = DO_FCALL_BY_NAME
0009 SEND_VAR_NO_REF_EX V0 2
0010 V0 = DO_FCALL_BY_NAME
0011 RETURN V0
0012 RETURN array(...)
Composer\Autoload\ClassLoader::getPrefixesPsr4:
; (lines=2, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/ClassLoader.php:127-130
0000 T0 = FETCH_OBJ_R THIS string("prefixDirsPsr4")
0001 RETURN T0
Composer\Autoload\ClassLoader::getFallbackDirs:
; (lines=2, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/ClassLoader.php:135-138
0000 T0 = FETCH_OBJ_R THIS string("fallbackDirsPsr0")
0001 RETURN T0
Composer\Autoload\ClassLoader::getFallbackDirsPsr4:
; (lines=2, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/ClassLoader.php:143-146
0000 T0 = FETCH_OBJ_R THIS string("fallbackDirsPsr4")
0001 RETURN T0
Composer\Autoload\ClassLoader::getClassMap:
; (lines=2, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/ClassLoader.php:151-154
0000 T0 = FETCH_OBJ_R THIS string("classMap")
0001 RETURN T0
Composer\Autoload\ClassLoader::addClassMap:
; (lines=15, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/ClassLoader.php:161-168
0000 CV0($classMap) = RECV 1
0001 T1 = FETCH_OBJ_R THIS string("classMap")
0002 JMPZ T1 0012
0003 INIT_NS_FCALL_BY_NAME 2 string("Composer\\Autoload\\array_merge")
0004 CHECK_FUNC_ARG 1
0005 V1 = FETCH_OBJ_FUNC_ARG (ref) THIS string("classMap")
0006 SEND_FUNC_ARG V1 1
0007 SEND_VAR_EX CV0($classMap) 2
0008 V1 = DO_FCALL_BY_NAME
0009 ASSIGN_OBJ THIS string("classMap")
0010 OP_DATA V1
0011 RETURN null
0012 ASSIGN_OBJ THIS string("classMap")
0013 OP_DATA CV0($classMap)
0014 RETURN null
Composer\Autoload\ClassLoader::add:
; (lines=62, args=3, vars=4, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/ClassLoader.php:180-216
0000 CV0($prefix) = RECV 1
0001 CV1($paths) = RECV 2
0002 CV2($prepend) = RECV_INIT 3 bool(false)
0003 T4 = CAST (array) CV1($paths)
0004 ASSIGN CV1($paths) T4
0005 JMPNZ CV0($prefix) 0025
0006 JMPZ CV2($prepend) 0016
0007 INIT_NS_FCALL_BY_NAME 2 string("Composer\\Autoload\\array_merge")
0008 SEND_VAR_EX CV1($paths) 1
0009 CHECK_FUNC_ARG 2
0010 V4 = FETCH_OBJ_FUNC_ARG (ref) THIS string("fallbackDirsPsr0")
0011 SEND_FUNC_ARG V4 2
0012 V4 = DO_FCALL_BY_NAME
0013 ASSIGN_OBJ THIS string("fallbackDirsPsr0")
0014 OP_DATA V4
0015 RETURN null
0016 INIT_NS_FCALL_BY_NAME 2 string("Composer\\Autoload\\array_merge")
0017 CHECK_FUNC_ARG 1
0018 V4 = FETCH_OBJ_FUNC_ARG (ref) THIS string("fallbackDirsPsr0")
0019 SEND_FUNC_ARG V4 1
0020 SEND_VAR_EX CV1($paths) 2
0021 V4 = DO_FCALL_BY_NAME
0022 ASSIGN_OBJ THIS string("fallbackDirsPsr0")
0023 OP_DATA V4
0024 RETURN null
0025 CV3($first) = FETCH_DIM_R CV0($prefix) int(0)
0026 T4 = FETCH_OBJ_IS THIS string("prefixesPsr0")
0027 T5 = FETCH_DIM_IS T4 CV3($first)
0028 T4 = ISSET_ISEMPTY_DIM_OBJ (isset) T5 CV0($prefix)
0029 JMPNZ T4 0035
0030 V5 = FETCH_OBJ_W (dim write) THIS string("prefixesPsr0")
0031 V4 = FETCH_DIM_W V5 CV3($first)
0032 ASSIGN_DIM V4 CV0($prefix)
0033 OP_DATA CV1($paths)
0034 RETURN null
0035 JMPZ CV2($prepend) 0049
0036 INIT_NS_FCALL_BY_NAME 2 string("Composer\\Autoload\\array_merge")
0037 SEND_VAR_EX CV1($paths) 1
0038 CHECK_FUNC_ARG 2
0039 V4 = FETCH_OBJ_FUNC_ARG THIS string("prefixesPsr0")
0040 V5 = FETCH_DIM_FUNC_ARG V4 CV3($first)
0041 V4 = FETCH_DIM_FUNC_ARG V5 CV0($prefix)
0042 SEND_FUNC_ARG V4 2
0043 V4 = DO_FCALL_BY_NAME
0044 V6 = FETCH_OBJ_W (dim write) THIS string("prefixesPsr0")
0045 V5 = FETCH_DIM_W V6 CV3($first)
0046 ASSIGN_DIM V5 CV0($prefix)
0047 OP_DATA V4
0048 RETURN null
0049 INIT_NS_FCALL_BY_NAME 2 string("Composer\\Autoload\\array_merge")
0050 CHECK_FUNC_ARG 1
0051 V4 = FETCH_OBJ_FUNC_ARG THIS string("prefixesPsr0")
0052 V5 = FETCH_DIM_FUNC_ARG V4 CV3($first)
0053 V4 = FETCH_DIM_FUNC_ARG V5 CV0($prefix)
0054 SEND_FUNC_ARG V4 1
0055 SEND_VAR_EX CV1($paths) 2
0056 V4 = DO_FCALL_BY_NAME
0057 V6 = FETCH_OBJ_W (dim write) THIS string("prefixesPsr0")
0058 V5 = FETCH_DIM_W V6 CV3($first)
0059 ASSIGN_DIM V5 CV0($prefix)
0060 OP_DATA V4
0061 RETURN null
LIVE RANGES:
4: 0044 - 0046 (tmp/var)
4: 0057 - 0059 (tmp/var)
Composer\Autoload\ClassLoader::addPsr4:
; (lines=72, args=3, vars=4, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/ClassLoader.php:230-267
0000 CV0($prefix) = RECV 1
0001 CV1($paths) = RECV 2
0002 CV2($prepend) = RECV_INIT 3 bool(false)
0003 T4 = CAST (array) CV1($paths)
0004 ASSIGN CV1($paths) T4
0005 JMPNZ CV0($prefix) 0025
0006 JMPZ CV2($prepend) 0016
0007 INIT_NS_FCALL_BY_NAME 2 string("Composer\\Autoload\\array_merge")
0008 SEND_VAR_EX CV1($paths) 1
0009 CHECK_FUNC_ARG 2
0010 V4 = FETCH_OBJ_FUNC_ARG (ref) THIS string("fallbackDirsPsr4")
0011 SEND_FUNC_ARG V4 2
0012 V4 = DO_FCALL_BY_NAME
0013 ASSIGN_OBJ THIS string("fallbackDirsPsr4")
0014 OP_DATA V4
0015 RETURN null
0016 INIT_NS_FCALL_BY_NAME 2 string("Composer\\Autoload\\array_merge")
0017 CHECK_FUNC_ARG 1
0018 V4 = FETCH_OBJ_FUNC_ARG (ref) THIS string("fallbackDirsPsr4")
0019 SEND_FUNC_ARG V4 1
0020 SEND_VAR_EX CV1($paths) 2
0021 V4 = DO_FCALL_BY_NAME
0022 ASSIGN_OBJ THIS string("fallbackDirsPsr4")
0023 OP_DATA V4
0024 RETURN null
0025 T5 = FETCH_OBJ_IS THIS string("prefixDirsPsr4")
0026 T4 = ISSET_ISEMPTY_DIM_OBJ (isset) T5 CV0($prefix)
0027 JMPNZ T4 0049
0028 INIT_NS_FCALL_BY_NAME 1 string("Composer\\Autoload\\strlen")
0029 SEND_VAR_EX CV0($prefix) 1
0030 V4 = DO_FCALL_BY_NAME
0031 CV3($length) = QM_ASSIGN V4
0032 T4 = SUB CV3($length) int(1)
0033 T5 = FETCH_DIM_R CV0($prefix) T4
0034 T4 = IS_NOT_IDENTICAL T5 string("\\")
0035 JMPZ T4 0040
0036 V4 = NEW 1 string("InvalidArgumentException")
0037 SEND_VAL_EX string("A non-empty PSR-4 prefix must end with a namespace separator.") 1
0038 DO_FCALL
0039 THROW V4
0040 T6 = FETCH_DIM_R CV0($prefix) int(0)
0041 V5 = FETCH_OBJ_W (dim write) THIS string("prefixLengthsPsr4")
0042 V4 = FETCH_DIM_W V5 T6
0043 ASSIGN_DIM V4 CV0($prefix)
0044 OP_DATA CV3($length)
0045 V4 = FETCH_OBJ_W (dim write) THIS string("prefixDirsPsr4")
0046 ASSIGN_DIM V4 CV0($prefix)
0047 OP_DATA CV1($paths)
0048 RETURN null
0049 JMPZ CV2($prepend) 0061
0050 INIT_NS_FCALL_BY_NAME 2 string("Composer\\Autoload\\array_merge")
0051 SEND_VAR_EX CV1($paths) 1
0052 CHECK_FUNC_ARG 2
0053 V5 = FETCH_OBJ_FUNC_ARG THIS string("prefixDirsPsr4")
0054 V4 = FETCH_DIM_FUNC_ARG V5 CV0($prefix)
0055 SEND_FUNC_ARG V4 2
0056 V4 = DO_FCALL_BY_NAME
0057 V5 = FETCH_OBJ_W (dim write) THIS string("prefixDirsPsr4")
0058 ASSIGN_DIM V5 CV0($prefix)
0059 OP_DATA V4
0060 RETURN null
0061 INIT_NS_FCALL_BY_NAME 2 string("Composer\\Autoload\\array_merge")
0062 CHECK_FUNC_ARG 1
0063 V5 = FETCH_OBJ_FUNC_ARG THIS string("prefixDirsPsr4")
0064 V4 = FETCH_DIM_FUNC_ARG V5 CV0($prefix)
0065 SEND_FUNC_ARG V4 1
0066 SEND_VAR_EX CV1($paths) 2
0067 V4 = DO_FCALL_BY_NAME
0068 V5 = FETCH_OBJ_W (dim write) THIS string("prefixDirsPsr4")
0069 ASSIGN_DIM V5 CV0($prefix)
0070 OP_DATA V4
0071 RETURN null
LIVE RANGES:
4: 0037 - 0039 (new)
6: 0041 - 0042 (tmp/var)
4: 0057 - 0058 (tmp/var)
4: 0068 - 0069 (tmp/var)
Composer\Autoload\ClassLoader::set:
; (lines=14, args=2, vars=2, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/ClassLoader.php:278-285
0000 CV0($prefix) = RECV 1
0001 CV1($paths) = RECV 2
0002 JMPNZ CV0($prefix) 0007
0003 T2 = CAST (array) CV1($paths)
0004 ASSIGN_OBJ THIS string("fallbackDirsPsr0")
0005 OP_DATA T2
0006 RETURN null
0007 T5 = FETCH_DIM_R CV0($prefix) int(0)
0008 T2 = CAST (array) CV1($paths)
0009 V4 = FETCH_OBJ_W (dim write) THIS string("prefixesPsr0")
0010 V3 = FETCH_DIM_W V4 T5
0011 ASSIGN_DIM V3 CV0($prefix)
0012 OP_DATA T2
0013 RETURN null
LIVE RANGES:
5: 0008 - 0010 (tmp/var)
2: 0009 - 0011 (tmp/var)
Composer\Autoload\ClassLoader::setPsr4:
; (lines=29, args=2, vars=3, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/ClassLoader.php:298-310
0000 CV0($prefix) = RECV 1
0001 CV1($paths) = RECV 2
0002 JMPNZ CV0($prefix) 0007
0003 T3 = CAST (array) CV1($paths)
0004 ASSIGN_OBJ THIS string("fallbackDirsPsr4")
0005 OP_DATA T3
0006 RETURN null
0007 INIT_NS_FCALL_BY_NAME 1 string("Composer\\Autoload\\strlen")
0008 SEND_VAR_EX CV0($prefix) 1
0009 V3 = DO_FCALL_BY_NAME
0010 CV2($length) = QM_ASSIGN V3
0011 T3 = SUB CV2($length) int(1)
0012 T4 = FETCH_DIM_R CV0($prefix) T3
0013 T3 = IS_NOT_IDENTICAL T4 string("\\")
0014 JMPZ T3 0019
0015 V3 = NEW 1 string("InvalidArgumentException")
0016 SEND_VAL_EX string("A non-empty PSR-4 prefix must end with a namespace separator.") 1
0017 DO_FCALL
0018 THROW V3
0019 T5 = FETCH_DIM_R CV0($prefix) int(0)
0020 V4 = FETCH_OBJ_W (dim write) THIS string("prefixLengthsPsr4")
0021 V3 = FETCH_DIM_W V4 T5
0022 ASSIGN_DIM V3 CV0($prefix)
0023 OP_DATA CV2($length)
0024 T3 = CAST (array) CV1($paths)
0025 V4 = FETCH_OBJ_W (dim write) THIS string("prefixDirsPsr4")
0026 ASSIGN_DIM V4 CV0($prefix)
0027 OP_DATA T3
0028 RETURN null
LIVE RANGES:
3: 0016 - 0018 (new)
5: 0020 - 0021 (tmp/var)
3: 0025 - 0026 (tmp/var)
Composer\Autoload\ClassLoader::setUseIncludePath:
; (lines=4, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/ClassLoader.php:319-322
0000 CV0($useIncludePath) = RECV 1
0001 ASSIGN_OBJ THIS string("useIncludePath")
0002 OP_DATA CV0($useIncludePath)
0003 RETURN null
Composer\Autoload\ClassLoader::getUseIncludePath:
; (lines=2, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/ClassLoader.php:330-333
0000 T0 = FETCH_OBJ_R THIS string("useIncludePath")
0001 RETURN T0
Composer\Autoload\ClassLoader::setClassMapAuthoritative:
; (lines=4, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/ClassLoader.php:343-346
0000 CV0($classMapAuthoritative) = RECV 1
0001 ASSIGN_OBJ THIS string("classMapAuthoritative")
0002 OP_DATA CV0($classMapAuthoritative)
0003 RETURN null
Composer\Autoload\ClassLoader::isClassMapAuthoritative:
; (lines=2, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/ClassLoader.php:353-356
0000 T0 = FETCH_OBJ_R THIS string("classMapAuthoritative")
0001 RETURN T0
Composer\Autoload\ClassLoader::setApcuPrefix:
; (lines=20, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/ClassLoader.php:365-368
0000 CV0($apcuPrefix) = RECV 1
0001 INIT_NS_FCALL_BY_NAME 1 string("Composer\\Autoload\\function_exists")
0002 SEND_VAL_EX string("apcu_fetch") 1
0003 V1 = DO_FCALL_BY_NAME
0004 JMPZ V1 0016
0005 INIT_NS_FCALL_BY_NAME 2 string("Composer\\Autoload\\filter_var")
0006 INIT_NS_FCALL_BY_NAME 1 string("Composer\\Autoload\\ini_get")
0007 SEND_VAL_EX string("apc.enabled") 1
0008 V1 = DO_FCALL_BY_NAME
0009 SEND_VAR_NO_REF_EX V1 1
0010 T1 = FETCH_CONSTANT (unqualified-in-namespace) string("Composer\\Autoload\\FILTER_VALIDATE_BOOLEAN")
0011 SEND_VAL_EX T1 2
0012 V1 = DO_FCALL_BY_NAME
0013 JMPZ V1 0016
0014 T1 = QM_ASSIGN CV0($apcuPrefix)
0015 JMP 0017
0016 T1 = QM_ASSIGN null
0017 ASSIGN_OBJ THIS string("apcuPrefix")
0018 OP_DATA T1
0019 RETURN null
Composer\Autoload\ClassLoader::getApcuPrefix:
; (lines=2, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/ClassLoader.php:375-378
0000 T0 = FETCH_OBJ_R THIS string("apcuPrefix")
0001 RETURN T0
Composer\Autoload\ClassLoader::register:
; (lines=31, args=1, vars=1, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/ClassLoader.php:387-401
0000 CV0($prepend) = RECV_INIT 1 bool(false)
0001 INIT_NS_FCALL_BY_NAME 3 string("Composer\\Autoload\\spl_autoload_register")
0002 T2 = FETCH_THIS
0003 T1 = INIT_ARRAY 2 (packed) T2 NEXT
0004 T1 = ADD_ARRAY_ELEMENT string("loadClass") NEXT
0005 SEND_VAL_EX T1 1
0006 SEND_VAL_EX bool(true) 2
0007 SEND_VAR_EX CV0($prepend) 3
0008 DO_FCALL_BY_NAME
0009 T2 = FETCH_OBJ_R THIS string("vendorDir")
0010 T1 = TYPE_CHECK (null) T2
0011 JMPZ T1 0013
0012 RETURN null
0013 JMPZ CV0($prepend) 0022
0014 T3 = FETCH_OBJ_R THIS string("vendorDir")
0015 T1 = FETCH_THIS
0016 T2 = INIT_ARRAY 1 (packed) T1 T3
0017 T3 = FETCH_STATIC_PROP_R string("registeredLoaders") (self) (exception)
0018 T1 = ADD T2 T3
0019 ASSIGN_STATIC_PROP string("registeredLoaders")
0020 OP_DATA T1
0021 RETURN null
0022 T2 = FETCH_OBJ_R THIS string("vendorDir")
0023 V1 = FETCH_STATIC_PROP_UNSET string("registeredLoaders") (self) (exception)
0024 UNSET_DIM V1 T2
0025 T3 = FETCH_OBJ_R THIS string("vendorDir")
0026 T1 = FETCH_THIS
0027 V2 = FETCH_STATIC_PROP_W (dim write) string("registeredLoaders") (self) (exception)
0028 ASSIGN_DIM V2 T3
0029 OP_DATA T1
0030 RETURN null
LIVE RANGES:
1: 0004 - 0005 (tmp/var)
3: 0015 - 0016 (tmp/var)
2: 0017 - 0018 (tmp/var)
2: 0023 - 0024 (tmp/var)
3: 0026 - 0028 (tmp/var)
1: 0027 - 0028 (tmp/var)
Composer\Autoload\ClassLoader::unregister:
; (lines=13, args=0, vars=0, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/ClassLoader.php:408-415
0000 INIT_NS_FCALL_BY_NAME 1 string("Composer\\Autoload\\spl_autoload_unregister")
0001 T1 = FETCH_THIS
0002 T0 = INIT_ARRAY 2 (packed) T1 NEXT
0003 T0 = ADD_ARRAY_ELEMENT string("loadClass") NEXT
0004 SEND_VAL_EX T0 1
0005 DO_FCALL_BY_NAME
0006 T1 = FETCH_OBJ_R THIS string("vendorDir")
0007 T0 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] T1
0008 JMPZ T0 0012
0009 T1 = FETCH_OBJ_R THIS string("vendorDir")
0010 V0 = FETCH_STATIC_PROP_UNSET string("registeredLoaders") (self) (exception)
0011 UNSET_DIM V0 T1
0012 RETURN null
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
1: 0010 - 0011 (tmp/var)
Composer\Autoload\ClassLoader::loadClass:
; (lines=12, args=1, vars=3, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/ClassLoader.php:423-433
0000 CV0($class) = RECV 1
0001 INIT_METHOD_CALL 1 THIS string("findFile")
0002 SEND_VAR CV0($class) 1
0003 V3 = DO_FCALL
0004 CV1($file) = QM_ASSIGN V3
0005 JMPZ CV1($file) 0011
0006 CV2($includeFile) = FETCH_STATIC_PROP_R string("includeFile") (self) (exception)
0007 INIT_DYNAMIC_CALL 1 CV2($includeFile)
0008 SEND_VAR_EX CV1($file) 1
0009 DO_FCALL
0010 RETURN bool(true)
0011 RETURN null
Composer\Autoload\ClassLoader::findFile:
; (lines=56, args=1, vars=3, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/ClassLoader.php:442-475
0000 CV0($class) = RECV 1
0001 T4 = FETCH_OBJ_IS THIS string("classMap")
0002 T3 = ISSET_ISEMPTY_DIM_OBJ (isset) T4 CV0($class)
0003 JMPZ T3 0007
0004 T4 = FETCH_OBJ_R THIS string("classMap")
0005 T3 = FETCH_DIM_R T4 CV0($class)
0006 RETURN T3
0007 T3 = FETCH_OBJ_R THIS string("classMapAuthoritative")
0008 JMPNZ T3 0012
0009 T4 = FETCH_OBJ_IS THIS string("missingClasses")
0010 T3 = ISSET_ISEMPTY_DIM_OBJ (isset) T4 CV0($class)
0011 JMPZ T3 0013
0012 RETURN bool(false)
0013 T4 = FETCH_OBJ_R THIS string("apcuPrefix")
0014 T3 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] T4
0015 JMPZ T3 0025
0016 INIT_NS_FCALL_BY_NAME 2 string("Composer\\Autoload\\apcu_fetch")
0017 T4 = FETCH_OBJ_R THIS string("apcuPrefix")
0018 T3 = CONCAT T4 CV0($class)
0019 SEND_VAL_EX T3 1
0020 SEND_VAR_EX CV2($hit) 2
0021 V3 = DO_FCALL_BY_NAME
0022 CV1($file) = QM_ASSIGN V3
0023 JMPZ CV2($hit) 0025
0024 RETURN CV1($file)
0025 INIT_METHOD_CALL 2 THIS string("findFileWithExtension")
0026 SEND_VAR CV0($class) 1
0027 SEND_VAL string(".php") 2
0028 V3 = DO_FCALL
0029 ASSIGN CV1($file) V3
0030 T3 = TYPE_CHECK (false) CV1($file)
0031 JMPZ T3 0041
0032 INIT_NS_FCALL_BY_NAME 1 string("Composer\\Autoload\\defined")
0033 SEND_VAL_EX string("HHVM_VERSION") 1
0034 V3 = DO_FCALL_BY_NAME
0035 JMPZ V3 0041
0036 INIT_METHOD_CALL 2 THIS string("findFileWithExtension")
0037 SEND_VAR CV0($class) 1
0038 SEND_VAL string(".hh") 2
0039 V3 = DO_FCALL
0040 CV1($file) = QM_ASSIGN V3
0041 T4 = FETCH_OBJ_R THIS string("apcuPrefix")
0042 T3 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] T4
0043 JMPZ T3 0050
0044 INIT_NS_FCALL_BY_NAME 2 string("Composer\\Autoload\\apcu_add")
0045 T4 = FETCH_OBJ_R THIS string("apcuPrefix")
0046 T3 = CONCAT T4 CV0($class)
0047 SEND_VAL_EX T3 1
0048 SEND_VAR_EX CV1($file) 2
0049 DO_FCALL_BY_NAME
0050 T3 = TYPE_CHECK (false) CV1($file)
0051 JMPZ T3 0055
0052 V3 = FETCH_OBJ_W (dim write) THIS string("missingClasses")
0053 ASSIGN_DIM V3 CV0($class)
0054 OP_DATA bool(true)
0055 RETURN CV1($file)
Composer\Autoload\ClassLoader::getRegisteredLoaders:
; (lines=2, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/ClassLoader.php:482-485
0000 T0 = FETCH_STATIC_PROP_R string("registeredLoaders") (self) (exception)
0001 RETURN T0
Composer\Autoload\ClassLoader::findFileWithExtension:
; (lines=190, args=2, vars=14, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/ClassLoader.php:492-556
0000 CV0($class) = RECV 1
0001 CV1($ext) = RECV 2
0002 JMP_FRAMELESS 8 string("composer\\autoload\\strtr") 0010
0003 INIT_NS_FCALL_BY_NAME 3 string("Composer\\Autoload\\strtr")
0004 SEND_VAR_EX CV0($class) 1
0005 SEND_VAL_EX string("\\") 2
0006 T14 = FETCH_CONSTANT (unqualified-in-namespace) string("Composer\\Autoload\\DIRECTORY_SEPARATOR")
0007 SEND_VAL_EX T14 3
0008 V14 = DO_FCALL_BY_NAME
0009 JMP 0013
0010 T15 = FETCH_CONSTANT (unqualified-in-namespace) string("Composer\\Autoload\\DIRECTORY_SEPARATOR")
0011 V14 = FRAMELESS_ICALL_3(strtr) CV0($class) string("\\")
0012 OP_DATA T15
0013 CV2($logicalPathPsr4) = CONCAT V14 CV1($ext)
0014 CV3($first) = FETCH_DIM_R CV0($class) int(0)
0015 T15 = FETCH_OBJ_IS THIS string("prefixLengthsPsr4")
0016 T14 = ISSET_ISEMPTY_DIM_OBJ (isset) T15 CV3($first)
0017 JMPZ T14 0067
0018 CV4($subPath) = QM_ASSIGN CV0($class)
0019 JMP 0060
0020 JMP_FRAMELESS 56 string("composer\\autoload\\substr") 0027
0021 INIT_NS_FCALL_BY_NAME 3 string("Composer\\Autoload\\substr")
0022 SEND_VAR_EX CV4($subPath) 1
0023 SEND_VAL_EX int(0) 2
0024 SEND_VAR_EX CV5($lastPos) 3
0025 V14 = DO_FCALL_BY_NAME
0026 JMP 0029
0027 V14 = FRAMELESS_ICALL_3(substr) CV4($subPath) int(0)
0028 OP_DATA CV5($lastPos)
0029 ASSIGN CV4($subPath) V14
0030 T14 = CONCAT CV4($subPath) string("\\")
0031 ASSIGN CV6($search) T14
0032 T15 = FETCH_OBJ_IS THIS string("prefixDirsPsr4")
0033 T14 = ISSET_ISEMPTY_DIM_OBJ (isset) T15 CV6($search)
0034 JMPZ T14 0060
0035 T15 = FETCH_CONSTANT (unqualified-in-namespace) string("Composer\\Autoload\\DIRECTORY_SEPARATOR")
0036 JMP_FRAMELESS 96 string("composer\\autoload\\substr") 0043
0037 INIT_NS_FCALL_BY_NAME 2 string("Composer\\Autoload\\substr")
0038 SEND_VAR_EX CV2($logicalPathPsr4) 1
0039 T14 = ADD CV5($lastPos) int(1)
0040 SEND_VAL_EX T14 2
0041 V16 = DO_FCALL_BY_NAME
0042 JMP 0045
0043 T14 = ADD CV5($lastPos) int(1)
0044 V16 = FRAMELESS_ICALL_2(substr) CV2($logicalPathPsr4) T14
0045 T14 = CONCAT T15 V16
0046 ASSIGN CV7($pathEnd) T14
0047 T14 = FETCH_OBJ_R THIS string("prefixDirsPsr4")
0048 T15 = FETCH_DIM_R T14 CV6($search)
0049 V14 = FE_RESET_R T15 0059
0050 FE_FETCH_R V14 CV8($dir) 0059
0051 INIT_NS_FCALL_BY_NAME 1 string("Composer\\Autoload\\file_exists")
0052 T16 = CONCAT CV8($dir) CV7($pathEnd)
0053 T15 = ASSIGN CV9($file) T16
0054 SEND_VAL_EX T15 1
0055 V15 = DO_FCALL_BY_NAME
0056 JMPZ V15 0050
0057 FE_FREE V14
0058 RETURN CV9($file)
0059 FE_FREE V14
0060 INIT_NS_FCALL_BY_NAME 2 string("Composer\\Autoload\\strrpos")
0061 SEND_VAR_EX CV4($subPath) 1
0062 SEND_VAL_EX string("\\") 2
0063 V14 = DO_FCALL_BY_NAME
0064 T15 = ASSIGN CV5($lastPos) V14
0065 T14 = TYPE_CHECK TYPE [null, true, long, double, string, array, object, resource] T15
0066 JMPNZ T14 0020
0067 T15 = FETCH_OBJ_R THIS string("fallbackDirsPsr4")
0068 V14 = FE_RESET_R T15 0080
0069 FE_FETCH_R V14 CV8($dir) 0080
0070 INIT_NS_FCALL_BY_NAME 1 string("Composer\\Autoload\\file_exists")
0071 T16 = FETCH_CONSTANT (unqualified-in-namespace) string("Composer\\Autoload\\DIRECTORY_SEPARATOR")
0072 T15 = CONCAT CV8($dir) T16
0073 T16 = CONCAT T15 CV2($logicalPathPsr4)
0074 T15 = ASSIGN CV9($file) T16
0075 SEND_VAL_EX T15 1
0076 V15 = DO_FCALL_BY_NAME
0077 JMPZ V15 0069
0078 FE_FREE V14
0079 RETURN CV9($file)
0080 FE_FREE V14
0081 INIT_NS_FCALL_BY_NAME 2 string("Composer\\Autoload\\strrpos")
0082 SEND_VAR_EX CV0($class) 1
0083 SEND_VAL_EX string("\\") 2
0084 V14 = DO_FCALL_BY_NAME
0085 CV10($pos) = QM_ASSIGN V14
0086 T14 = TYPE_CHECK TYPE [null, true, long, double, string, array, object, resource] CV10($pos)
0087 JMPZ T14 0122
0088 JMP_FRAMELESS 144 string("composer\\autoload\\substr") 0096
0089 INIT_NS_FCALL_BY_NAME 3 string("Composer\\Autoload\\substr")
0090 SEND_VAR_EX CV2($logicalPathPsr4) 1
0091 SEND_VAL_EX int(0) 2
0092 T14 = ADD CV10($pos) int(1)
0093 SEND_VAL_EX T14 3
0094 V14 = DO_FCALL_BY_NAME
0095 JMP 0099
0096 T15 = ADD CV10($pos) int(1)
0097 V14 = FRAMELESS_ICALL_3(substr) CV2($logicalPathPsr4) int(0)
0098 OP_DATA T15
0099 JMP_FRAMELESS 152 string("composer\\autoload\\strtr") 0112
0100 INIT_NS_FCALL_BY_NAME 3 string("Composer\\Autoload\\strtr")
0101 INIT_NS_FCALL_BY_NAME 2 string("Composer\\Autoload\\substr")
0102 SEND_VAR_EX CV2($logicalPathPsr4) 1
0103 T15 = ADD CV10($pos) int(1)
0104 SEND_VAL_EX T15 2
0105 V15 = DO_FCALL_BY_NAME
0106 SEND_VAR_NO_REF_EX V15 1
0107 SEND_VAL_EX string("_") 2
0108 T15 = FETCH_CONSTANT (unqualified-in-namespace) string("Composer\\Autoload\\DIRECTORY_SEPARATOR")
0109 SEND_VAL_EX T15 3
0110 V15 = DO_FCALL_BY_NAME
0111 JMP 0120
0112 INIT_NS_FCALL_BY_NAME 2 string("Composer\\Autoload\\substr")
0113 SEND_VAR_EX CV2($logicalPathPsr4) 1
0114 T16 = ADD CV10($pos) int(1)
0115 SEND_VAL_EX T16 2
0116 V17 = DO_FCALL_BY_NAME
0117 T16 = FETCH_CONSTANT (unqualified-in-namespace) string("Composer\\Autoload\\DIRECTORY_SEPARATOR")
0118 V15 = FRAMELESS_ICALL_3(strtr) V17 string("_")
0119 OP_DATA T16
0120 CV11($logicalPathPsr0) = CONCAT V14 V15
0121 JMP 0134
0122 JMP_FRAMELESS 160 string("composer\\autoload\\strtr") 0130
0123 INIT_NS_FCALL_BY_NAME 3 string("Composer\\Autoload\\strtr")
0124 SEND_VAR_EX CV0($class) 1
0125 SEND_VAL_EX string("_") 2
0126 T14 = FETCH_CONSTANT (unqualified-in-namespace) string("Composer\\Autoload\\DIRECTORY_SEPARATOR")
0127 SEND_VAL_EX T14 3
0128 V14 = DO_FCALL_BY_NAME
0129 JMP 0133
0130 T15 = FETCH_CONSTANT (unqualified-in-namespace) string("Composer\\Autoload\\DIRECTORY_SEPARATOR")
0131 V14 = FRAMELESS_ICALL_3(strtr) CV0($class) string("_")
0132 OP_DATA T15
0133 CV11($logicalPathPsr0) = CONCAT V14 CV1($ext)
0134 T15 = FETCH_OBJ_IS THIS string("prefixesPsr0")
0135 T14 = ISSET_ISEMPTY_DIM_OBJ (isset) T15 CV3($first)
0136 JMPZ T14 0167
0137 T14 = FETCH_OBJ_R THIS string("prefixesPsr0")
0138 T15 = FETCH_DIM_R T14 CV3($first)
0139 V14 = FE_RESET_R T15 0166
0140 T15 = FE_FETCH_R V14 CV12($dirs) 0166
0141 ASSIGN CV13($prefix) T15
0142 JMP_FRAMELESS 192 string("composer\\autoload\\strpos") 0148
0143 INIT_NS_FCALL_BY_NAME 2 string("Composer\\Autoload\\strpos")
0144 SEND_VAR_EX CV0($class) 1
0145 SEND_VAR_EX CV13($prefix) 2
0146 V16 = DO_FCALL_BY_NAME
0147 JMP 0149
0148 V16 = FRAMELESS_ICALL_2(strpos) CV0($class) CV13($prefix)
0149 T15 = IS_IDENTICAL V16 int(0)
0150 JMPZ T15 0140
0151 V15 = FE_RESET_R CV12($dirs) 0164
0152 FE_FETCH_R V15 CV8($dir) 0164
0153 INIT_NS_FCALL_BY_NAME 1 string("Composer\\Autoload\\file_exists")
0154 T17 = FETCH_CONSTANT (unqualified-in-namespace) string("Composer\\Autoload\\DIRECTORY_SEPARATOR")
0155 T16 = CONCAT CV8($dir) T17
0156 T17 = FAST_CONCAT T16 CV11($logicalPathPsr0)
0157 T16 = ASSIGN CV9($file) T17
0158 SEND_VAL_EX T16 1
0159 V16 = DO_FCALL_BY_NAME
0160 JMPZ V16 0152
0161 FE_FREE V15
0162 FE_FREE V14
0163 RETURN CV9($file)
0164 FE_FREE V15
0165 JMP 0140
0166 FE_FREE V14
0167 T15 = FETCH_OBJ_R THIS string("fallbackDirsPsr0")
0168 V14 = FE_RESET_R T15 0180
0169 FE_FETCH_R V14 CV8($dir) 0180
0170 INIT_NS_FCALL_BY_NAME 1 string("Composer\\Autoload\\file_exists")
0171 T16 = FETCH_CONSTANT (unqualified-in-namespace) string("Composer\\Autoload\\DIRECTORY_SEPARATOR")
0172 T15 = CONCAT CV8($dir) T16
0173 T16 = FAST_CONCAT T15 CV11($logicalPathPsr0)
0174 T15 = ASSIGN CV9($file) T16
0175 SEND_VAL_EX T15 1
0176 V15 = DO_FCALL_BY_NAME
0177 JMPZ V15 0169
0178 FE_FREE V14
0179 RETURN CV9($file)
0180 FE_FREE V14
0181 T14 = FETCH_OBJ_R THIS string("useIncludePath")
0182 JMPZ T14 0189
0183 INIT_NS_FCALL_BY_NAME 1 string("Composer\\Autoload\\stream_resolve_include_path")
0184 SEND_VAR_EX CV11($logicalPathPsr0) 1
0185 V14 = DO_FCALL_BY_NAME
0186 ASSIGN CV9($file) V14
0187 JMPZ CV9($file) 0189
0188 RETURN CV9($file)
0189 RETURN bool(false)
LIVE RANGES:
14: 0012 - 0013 (tmp/var)
14: 0028 - 0029 (tmp/var)
15: 0036 - 0045 (tmp/var)
14: 0050 - 0059 (loop)
14: 0069 - 0080 (loop)
14: 0098 - 0120 (tmp/var)
17: 0117 - 0118 (tmp/var)
15: 0119 - 0120 (tmp/var)
14: 0132 - 0133 (tmp/var)
14: 0140 - 0166 (loop)
15: 0152 - 0164 (loop)
14: 0169 - 0180 (loop)
Composer\Autoload\ClassLoader::initializeIncludeClosure:
; (lines=13, args=0, vars=0, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/ClassLoader.php:561-578
0000 T1 = FETCH_STATIC_PROP_R string("includeFile") (self) (exception)
0001 T0 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] T1
0002 JMPZ T0 0004
0003 RETURN null
0004 INIT_STATIC_METHOD_CALL 3 string("Closure") string("bind")
0005 T0 = DECLARE_LAMBDA_FUNCTION 0
0006 SEND_VAL T0 1
0007 SEND_VAL null 2
0008 SEND_VAL null 3
0009 V0 = DO_FCALL
0010 ASSIGN_STATIC_PROP string("includeFile")
0011 OP_DATA V0
0012 RETURN null
{closure:Composer\Autoload\ClassLoader::initializeIncludeClosure():575}:
; (lines=3, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/ClassLoader.php:575-577
0000 CV0($file) = RECV 1
0001 INCLUDE_OR_EVAL (include) CV0($file)
0002 RETURN null
$_main:
; (lines=19, args=0, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/include_paths.php:1-18
0000 ASSIGN CV0($vendorDir) string("/var/tmp/mediawiki-1.42.1/vendor")
0001 ASSIGN CV1($baseDir) CV0($vendorDir)
0002 T3 = CONCAT CV0($vendorDir) string("/pear/console_getopt")
0003 T2 = INIT_ARRAY 8 (packed) T3 NEXT
0004 T3 = CONCAT CV0($vendorDir) string("/pear/mail")
0005 T2 = ADD_ARRAY_ELEMENT T3 NEXT
0006 T3 = CONCAT CV0($vendorDir) string("/pear/mail_mime")
0007 T2 = ADD_ARRAY_ELEMENT T3 NEXT
0008 T3 = CONCAT CV0($vendorDir) string("/pear/net_smtp")
0009 T2 = ADD_ARRAY_ELEMENT T3 NEXT
0010 T3 = CONCAT CV0($vendorDir) string("/pear/net_socket")
0011 T2 = ADD_ARRAY_ELEMENT T3 NEXT
0012 T3 = CONCAT CV0($vendorDir) string("/pear/net_url2")
0013 T2 = ADD_ARRAY_ELEMENT T3 NEXT
0014 T3 = CONCAT CV0($vendorDir) string("/pear/pear-core-minimal/src")
0015 T2 = ADD_ARRAY_ELEMENT T3 NEXT
0016 T3 = CONCAT CV0($vendorDir) string("/pear/pear_exception")
0017 T2 = ADD_ARRAY_ELEMENT T3 NEXT
0018 RETURN T2
LIVE RANGES:
2: 0004 - 0018 (tmp/var)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/autoload_static.php:1-2267
0000 RETURN int(1)
Composer\Autoload\ComposerStaticInit_mediawiki_vendor::getInitializer:
; (lines=9, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/autoload_static.php:2255-2265
0000 CV0($loader) = RECV 1
0001 INIT_STATIC_METHOD_CALL 3 string("Closure") string("bind")
0002 T1 = DECLARE_LAMBDA_FUNCTION 0
0003 BIND_LEXICAL T1 CV0($loader)
0004 SEND_VAL T1 1
0005 SEND_VAL null 2
0006 SEND_VAL string("Composer\\Autoload\\ClassLoader") 3
0007 V1 = DO_FCALL
0008 RETURN V1
LIVE RANGES:
1: 0003 - 0004 (tmp/var)
{closure:Composer\Autoload\ComposerStaticInit_mediawiki_vendor::getInitializer():2257}:
; (lines=17, args=0, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/composer/autoload_static.php:2257-2264
0000 BIND_STATIC CV0($loader)
0001 T1 = FETCH_STATIC_PROP_R string("prefixLengthsPsr4") string("Composer\\Autoload\\ComposerStaticInit_mediawiki_vendor")
0002 ASSIGN_OBJ CV0($loader) string("prefixLengthsPsr4")
0003 OP_DATA T1
0004 T1 = FETCH_STATIC_PROP_R string("prefixDirsPsr4") string("Composer\\Autoload\\ComposerStaticInit_mediawiki_vendor")
0005 ASSIGN_OBJ CV0($loader) string("prefixDirsPsr4")
0006 OP_DATA T1
0007 T1 = FETCH_STATIC_PROP_R string("prefixesPsr0") string("Composer\\Autoload\\ComposerStaticInit_mediawiki_vendor")
0008 ASSIGN_OBJ CV0($loader) string("prefixesPsr0")
0009 OP_DATA T1
0010 T1 = FETCH_STATIC_PROP_R string("fallbackDirsPsr0") string("Composer\\Autoload\\ComposerStaticInit_mediawiki_vendor")
0011 ASSIGN_OBJ CV0($loader) string("fallbackDirsPsr0")
0012 OP_DATA T1
0013 T1 = FETCH_STATIC_PROP_R string("classMap") string("Composer\\Autoload\\ComposerStaticInit_mediawiki_vendor")
0014 ASSIGN_OBJ CV0($loader) string("classMap")
0015 OP_DATA T1
0016 RETURN null
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/ralouphie/getallheaders/src/getallheaders.php:1-47
0000 RETURN int(1)
getallheaders:
; (lines=77, args=0, vars=4, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/ralouphie/getallheaders/src/getallheaders.php:10-44
0000 CV0($headers) = QM_ASSIGN array(...)
0001 T5 = FETCH_R (global) string("_SERVER")
0002 V4 = FE_RESET_R T5 0036
0003 T5 = FE_FETCH_R V4 CV1($value) 0036
0004 ASSIGN CV2($key) T5
0005 T6 = FRAMELESS_ICALL_3(substr) CV2($key) int(0)
0006 OP_DATA int(5)
0007 T5 = IS_IDENTICAL T6 string("HTTP_")
0008 JMPZ T5 0030
0009 T5 = FRAMELESS_ICALL_2(substr) CV2($key) int(5)
0010 ASSIGN CV2($key) T5
0011 T5 = ISSET_ISEMPTY_DIM_OBJ (isset) array(...) CV2($key)
0012 JMPZ T5 0016
0013 T6 = FETCH_IS (global) string("_SERVER")
0014 T5 = ISSET_ISEMPTY_DIM_OBJ (isset) T6 CV2($key)
0015 JMPNZ T5 0003
0016 INIT_FCALL 1 96 string("ucwords")
0017 INIT_FCALL 1 96 string("strtolower")
0018 T5 = FRAMELESS_ICALL_3(str_replace) string("_") string(" ")
0019 OP_DATA CV2($key)
0020 SEND_VAL T5 1
0021 V5 = DO_ICALL
0022 SEND_VAR V5 1
0023 V6 = DO_ICALL
0024 T5 = FRAMELESS_ICALL_3(str_replace) string(" ") string("-")
0025 OP_DATA V6
0026 ASSIGN CV2($key) T5
0027 ASSIGN_DIM CV0($headers) CV2($key)
0028 OP_DATA CV1($value)
0029 JMP 0003
0030 T5 = ISSET_ISEMPTY_DIM_OBJ (isset) array(...) CV2($key)
0031 JMPZ T5 0003
0032 T5 = FETCH_DIM_R array(...) CV2($key)
0033 ASSIGN_DIM CV0($headers) T5
0034 OP_DATA CV1($value)
0035 JMP 0003
0036 FE_FREE V4
0037 T4 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($headers) string("Authorization")
0038 JMPNZ T4 0076
0039 T5 = FETCH_IS (global) string("_SERVER")
0040 T4 = ISSET_ISEMPTY_DIM_OBJ (isset) T5 string("REDIRECT_HTTP_AUTHORIZATION")
0041 JMPZ T4 0047
0042 T5 = FETCH_R (global) string("_SERVER")
0043 T4 = FETCH_DIM_R T5 string("REDIRECT_HTTP_AUTHORIZATION")
0044 ASSIGN_DIM CV0($headers) string("Authorization")
0045 OP_DATA T4
0046 RETURN CV0($headers)
0047 T5 = FETCH_IS (global) string("_SERVER")
0048 T4 = ISSET_ISEMPTY_DIM_OBJ (isset) T5 string("PHP_AUTH_USER")
0049 JMPZ T4 0069
0050 T5 = FETCH_IS (global) string("_SERVER")
0051 T4 = ISSET_ISEMPTY_DIM_OBJ (isset) T5 string("PHP_AUTH_PW")
0052 JMPZ T4 0056
0053 T5 = FETCH_R (global) string("_SERVER")
0054 T4 = FETCH_DIM_R T5 string("PHP_AUTH_PW")
0055 JMP 0057
0056 T4 = QM_ASSIGN string("")
0057 CV3($basic_pass) = QM_ASSIGN T4
0058 INIT_FCALL 1 96 string("base64_encode")
0059 T5 = FETCH_R (global) string("_SERVER")
0060 T4 = FETCH_DIM_R T5 string("PHP_AUTH_USER")
0061 T5 = CONCAT T4 string(":")
0062 T4 = CONCAT T5 CV3($basic_pass)
0063 SEND_VAL T4 1
0064 V5 = DO_ICALL
0065 T4 = FAST_CONCAT string("Basic ") V5
0066 ASSIGN_DIM CV0($headers) string("Authorization")
0067 OP_DATA T4
0068 RETURN CV0($headers)
0069 T5 = FETCH_IS (global) string("_SERVER")
0070 T4 = ISSET_ISEMPTY_DIM_OBJ (isset) T5 string("PHP_AUTH_DIGEST")
0071 JMPZ T4 0076
0072 T5 = FETCH_R (global) string("_SERVER")
0073 T4 = FETCH_DIM_R T5 string("PHP_AUTH_DIGEST")
0074 ASSIGN_DIM CV0($headers) string("Authorization")
0075 OP_DATA T4
0076 RETURN CV0($headers)
LIVE RANGES:
4: 0003 - 0036 (loop)
6: 0006 - 0007 (tmp/var)
5: 0019 - 0020 (tmp/var)
5: 0025 - 0026 (tmp/var)
$_main:
; (lines=6, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/symfony/deprecation-contracts/function.php:1-28
0000 INIT_FCALL 1 96 string("function_exists")
0001 SEND_VAL string("trigger_deprecation") 1
0002 V0 = DO_ICALL
0003 JMPNZ V0 0005
0004 DECLARE_FUNCTION string("trigger_deprecation") 0
0005 RETURN int(1)
trigger_deprecation:
; (lines=29, args=3, vars=4, tmps=6)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/symfony/deprecation-contracts/function.php:23-26
0000 CV0($package) = RECV 1
0001 CV1($version) = RECV 2
0002 CV2($message) = RECV 3
0003 CV3($args) = RECV_VARIADIC 4
0004 T4 = BEGIN_SILENCE
0005 INIT_FCALL 2 112 string("trigger_error")
0006 JMPNZ CV0($package) 0008
0007 JMPZ CV1($version) 0014
0008 T7 = ROPE_INIT 5 string("Since ")
0009 T7 = ROPE_ADD 1 T7 CV0($package)
0010 T7 = ROPE_ADD 2 T7 string(" ")
0011 T7 = ROPE_ADD 3 T7 CV1($version)
0012 T6 = ROPE_END 4 T7 string(": ")
0013 JMP 0015
0014 T6 = QM_ASSIGN string("")
0015 JMPZ CV3($args) 0022
0016 INIT_FCALL 2 112 string("vsprintf")
0017 SEND_VAR CV2($message) 1
0018 SEND_VAR CV3($args) 2
0019 V5 = DO_ICALL
0020 T7 = QM_ASSIGN V5
0021 JMP 0023
0022 T7 = QM_ASSIGN CV2($message)
0023 T5 = FAST_CONCAT T6 T7
0024 SEND_VAL T5 1
0025 SEND_VAL int(16384) 2
0026 DO_ICALL
0027 END_SILENCE T4
0028 RETURN null
LIVE RANGES:
4: 0005 - 0027 (silence)
7: 0008 - 0012 (rope)
6: 0015 - 0023 (tmp/var)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/symfony/polyfill-php80/bootstrap.php:1-43
0000 RETURN null
fdiv:
; (lines=8, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/symfony/polyfill-php80/bootstrap.php:23-23
0000 CV0($num1) = RECV 1
0001 CV1($num2) = RECV 2
0002 INIT_STATIC_METHOD_CALL 2 string("Symfony\\Polyfill\\Php80\\Php80") string("fdiv")
0003 SEND_VAR_EX CV0($num1) 1
0004 SEND_VAR_EX CV1($num2) 2
0005 V2 = DO_FCALL
0006 VERIFY_RETURN_TYPE V2
0007 RETURN V2
LIVE RANGES:
2: 0006 - 0007 (tmp/var)
preg_last_error_msg:
; (lines=4, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/symfony/polyfill-php80/bootstrap.php:26-26
0000 INIT_STATIC_METHOD_CALL 0 string("Symfony\\Polyfill\\Php80\\Php80") string("preg_last_error_msg")
0001 V0 = DO_FCALL
0002 VERIFY_RETURN_TYPE V0
0003 RETURN V0
LIVE RANGES:
0: 0002 - 0003 (tmp/var)
str_contains:
; (lines=12, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/symfony/polyfill-php80/bootstrap.php:29-29
0000 CV0($haystack) = RECV 1
0001 CV1($needle) = RECV 2
0002 INIT_STATIC_METHOD_CALL 2 string("Symfony\\Polyfill\\Php80\\Php80") string("str_contains")
0003 T2 = COALESCE CV0($haystack) 0005
0004 T2 = QM_ASSIGN string("")
0005 SEND_VAL_EX T2 1
0006 T2 = COALESCE CV1($needle) 0008
0007 T2 = QM_ASSIGN string("")
0008 SEND_VAL_EX T2 2
0009 V2 = DO_FCALL
0010 VERIFY_RETURN_TYPE V2
0011 RETURN V2
LIVE RANGES:
2: 0010 - 0011 (tmp/var)
str_starts_with:
; (lines=12, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/symfony/polyfill-php80/bootstrap.php:32-32
0000 CV0($haystack) = RECV 1
0001 CV1($needle) = RECV 2
0002 INIT_STATIC_METHOD_CALL 2 string("Symfony\\Polyfill\\Php80\\Php80") string("str_starts_with")
0003 T2 = COALESCE CV0($haystack) 0005
0004 T2 = QM_ASSIGN string("")
0005 SEND_VAL_EX T2 1
0006 T2 = COALESCE CV1($needle) 0008
0007 T2 = QM_ASSIGN string("")
0008 SEND_VAL_EX T2 2
0009 V2 = DO_FCALL
0010 VERIFY_RETURN_TYPE V2
0011 RETURN V2
LIVE RANGES:
2: 0010 - 0011 (tmp/var)
str_ends_with:
; (lines=12, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/symfony/polyfill-php80/bootstrap.php:35-35
0000 CV0($haystack) = RECV 1
0001 CV1($needle) = RECV 2
0002 INIT_STATIC_METHOD_CALL 2 string("Symfony\\Polyfill\\Php80\\Php80") string("str_ends_with")
0003 T2 = COALESCE CV0($haystack) 0005
0004 T2 = QM_ASSIGN string("")
0005 SEND_VAL_EX T2 1
0006 T2 = COALESCE CV1($needle) 0008
0007 T2 = QM_ASSIGN string("")
0008 SEND_VAL_EX T2 2
0009 V2 = DO_FCALL
0010 VERIFY_RETURN_TYPE V2
0011 RETURN V2
LIVE RANGES:
2: 0010 - 0011 (tmp/var)
get_debug_type:
; (lines=6, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/symfony/polyfill-php80/bootstrap.php:38-38
0000 CV0($value) = RECV 1
0001 INIT_STATIC_METHOD_CALL 1 string("Symfony\\Polyfill\\Php80\\Php80") string("get_debug_type")
0002 SEND_VAR_EX CV0($value) 1
0003 V1 = DO_FCALL
0004 VERIFY_RETURN_TYPE V1
0005 RETURN V1
LIVE RANGES:
1: 0004 - 0005 (tmp/var)
get_resource_id:
; (lines=6, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/symfony/polyfill-php80/bootstrap.php:41-41
0000 CV0($resource) = RECV 1
0001 INIT_STATIC_METHOD_CALL 1 string("Symfony\\Polyfill\\Php80\\Php80") string("get_resource_id")
0002 SEND_VAR_EX CV0($resource) 1
0003 V1 = DO_FCALL
0004 VERIFY_RETURN_TYPE V1
0005 RETURN V1
LIVE RANGES:
1: 0004 - 0005 (tmp/var)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/symfony/polyfill-php81/bootstrap.php:1-29
0000 RETURN null
array_is_list:
; (lines=6, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/symfony/polyfill-php81/bootstrap.php:23-23
0000 CV0($array) = RECV 1
0001 INIT_STATIC_METHOD_CALL 1 string("Symfony\\Polyfill\\Php81\\Php81") string("array_is_list")
0002 SEND_VAR_EX CV0($array) 1
0003 V1 = DO_FCALL
0004 VERIFY_RETURN_TYPE V1
0005 RETURN V1
LIVE RANGES:
1: 0004 - 0005 (tmp/var)
enum_exists:
; (lines=7, args=2, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/symfony/polyfill-php81/bootstrap.php:27-27
0000 CV0($enum) = RECV 1
0001 CV1($autoload) = RECV_INIT 2 bool(true)
0002 T2 = JMPZ_EX CV1($autoload) 0006
0003 T3 = FRAMELESS_ICALL_1(class_exists) CV0($enum)
0004 T2 = JMPZ_EX T3 0006
0005 T2 = QM_ASSIGN bool(false)
0006 RETURN T2
$_main:
; (lines=8, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/at-ease/src/Wikimedia/Functions.php:1-59
0000 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\function_exists")
0001 SEND_VAL_EX string("Wikimedia\\suppressWarnings") 1
0002 V0 = DO_FCALL_BY_NAME
0003 JMPNZ V0 0007
0004 DECLARE_FUNCTION string("wikimedia\\suppresswarnings") 0
0005 DECLARE_FUNCTION string("wikimedia\\restorewarnings") 1
0006 DECLARE_FUNCTION string("wikimedia\\quietcall") 2
0007 RETURN int(1)
Wikimedia\suppressWarnings:
; (lines=5, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/at-ease/src/Wikimedia/Functions.php:33-35
0000 CV0($end) = RECV_INIT 1 bool(false)
0001 INIT_STATIC_METHOD_CALL 1 string("Wikimedia\\AtEase\\AtEase") string("suppressWarnings")
0002 SEND_VAR_EX CV0($end) 1
0003 DO_FCALL
0004 RETURN null
Wikimedia\restoreWarnings:
; (lines=3, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/at-ease/src/Wikimedia/Functions.php:42-44
0000 INIT_STATIC_METHOD_CALL 0 string("Wikimedia\\AtEase\\AtEase") string("restoreWarnings")
0001 DO_FCALL
0002 RETURN null
Wikimedia\quietCall:
; (lines=8, args=1, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/at-ease/src/Wikimedia/Functions.php:54-56
0000 CV0($callback) = RECV 1
0001 CV1($args) = RECV_VARIADIC 2
0002 INIT_STATIC_METHOD_CALL 1 string("Wikimedia\\AtEase\\AtEase") string("quietCall")
0003 SEND_VAR_EX CV0($callback) 1
0004 SEND_UNPACK CV1($args)
0005 CHECK_UNDEF_ARGS
0006 V2 = DO_FCALL
0007 RETURN V2
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/base-convert/src/Functions.php:1-131
0000 RETURN int(1)
Wikimedia\base_convert:
; (lines=179, args=6, vars=14, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/base-convert/src/Functions.php:40-130
0000 CV0($input) = RECV 1
0001 CV1($sourceBase) = RECV 2
0002 CV2($destBase) = RECV 3
0003 CV3($pad) = RECV_INIT 4 int(1)
0004 CV4($lowercase) = RECV_INIT 5 bool(true)
0005 CV5($engine) = RECV_INIT 6 string("auto")
0006 T14 = CAST (string) CV0($input)
0007 ASSIGN CV0($input) T14
0008 T14 = IS_SMALLER CV1($sourceBase) int(2)
0009 JMPNZ T14 0047
0010 T14 = IS_SMALLER int(36) CV1($sourceBase)
0011 JMPNZ T14 0047
0012 T14 = IS_SMALLER CV2($destBase) int(2)
0013 JMPNZ T14 0047
0014 T14 = IS_SMALLER int(36) CV2($destBase)
0015 JMPNZ T14 0047
0016 T15 = CAST (long) CV1($sourceBase)
0017 T14 = IS_NOT_EQUAL CV1($sourceBase) T15
0018 JMPNZ T14 0047
0019 T15 = CAST (long) CV2($destBase)
0020 T14 = IS_NOT_EQUAL CV2($destBase) T15
0021 JMPNZ T14 0047
0022 T15 = CAST (long) CV3($pad)
0023 T14 = IS_NOT_EQUAL CV3($pad) T15
0024 JMPNZ T14 0047
0025 JMP_FRAMELESS 8 string("wikimedia\\preg_match") 0038
0026 INIT_NS_FCALL_BY_NAME 2 string("Wikimedia\\preg_match")
0027 INIT_NS_FCALL_BY_NAME 3 string("Wikimedia\\substr")
0028 SEND_VAL_EX string("0123456789abcdefghijklmnopqrstuvwxyz") 1
0029 SEND_VAL_EX int(0) 2
0030 SEND_VAR_EX CV1($sourceBase) 3
0031 V14 = DO_FCALL_BY_NAME
0032 T15 = CONCAT string("/^[") V14
0033 T14 = FAST_CONCAT T15 string("]+$/i")
0034 SEND_VAL_EX T14 1
0035 SEND_VAR_EX CV0($input) 2
0036 V14 = DO_FCALL_BY_NAME
0037 JMP 0046
0038 INIT_NS_FCALL_BY_NAME 3 string("Wikimedia\\substr")
0039 SEND_VAL_EX string("0123456789abcdefghijklmnopqrstuvwxyz") 1
0040 SEND_VAL_EX int(0) 2
0041 SEND_VAR_EX CV1($sourceBase) 3
0042 V15 = DO_FCALL_BY_NAME
0043 T16 = CONCAT string("/^[") V15
0044 T15 = FAST_CONCAT T16 string("]+$/i")
0045 V14 = FRAMELESS_ICALL_2(preg_match) T15 CV0($input)
0046 JMPNZ V14 0048
0047 RETURN bool(false)
0048 BIND_STATIC (ref) CV6($baseChars)
0049 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\extension_loaded")
0050 SEND_VAL_EX string("gmp") 1
0051 V14 = DO_FCALL_BY_NAME
0052 JMPZ V14 0067
0053 T14 = IS_EQUAL CV5($engine) string("auto")
0054 JMPNZ T14 0057
0055 T14 = IS_EQUAL CV5($engine) string("gmp")
0056 JMPZ T14 0067
0057 INIT_NS_FCALL_BY_NAME 2 string("Wikimedia\\gmp_strval")
0058 INIT_NS_FCALL_BY_NAME 2 string("Wikimedia\\gmp_init")
0059 SEND_VAR_EX CV0($input) 1
0060 SEND_VAR_EX CV1($sourceBase) 2
0061 V14 = DO_FCALL_BY_NAME
0062 SEND_VAR_NO_REF_EX V14 1
0063 SEND_VAR_EX CV2($destBase) 2
0064 V14 = DO_FCALL_BY_NAME
0065 CV7($result) = QM_ASSIGN V14
0066 JMP 0166
0067 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\extension_loaded")
0068 SEND_VAL_EX string("bcmath") 1
0069 V14 = DO_FCALL_BY_NAME
0070 JMPZ V14 0126
0071 T14 = IS_EQUAL CV5($engine) string("auto")
0072 JMPNZ T14 0075
0073 T14 = IS_EQUAL CV5($engine) string("bcmath")
0074 JMPZ T14 0126
0075 CV8($decimal) = QM_ASSIGN string("0")
0076 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\str_split")
0077 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\strtolower")
0078 SEND_VAR_EX CV0($input) 1
0079 V14 = DO_FCALL_BY_NAME
0080 SEND_VAR_NO_REF_EX V14 1
0081 V15 = DO_FCALL_BY_NAME
0082 V14 = FE_RESET_R V15 0098
0083 FE_FETCH_R V14 CV9($char) 0098
0084 INIT_NS_FCALL_BY_NAME 2 string("Wikimedia\\bcmul")
0085 SEND_VAR_EX CV8($decimal) 1
0086 T15 = CAST (string) CV1($sourceBase)
0087 SEND_VAL_EX T15 2
0088 V15 = DO_FCALL_BY_NAME
0089 ASSIGN CV8($decimal) V15
0090 INIT_NS_FCALL_BY_NAME 2 string("Wikimedia\\bcadd")
0091 SEND_VAR_EX CV8($decimal) 1
0092 CHECK_FUNC_ARG 2
0093 V15 = FETCH_DIM_FUNC_ARG CV6($baseChars) CV9($char)
0094 SEND_FUNC_ARG V15 2
0095 V15 = DO_FCALL_BY_NAME
0096 ASSIGN CV8($decimal) V15
0097 JMP 0083
0098 FE_FREE V14
0099 CV7($result) = QM_ASSIGN string("")
0100 JMP 0116
0101 INIT_NS_FCALL_BY_NAME 2 string("Wikimedia\\bcmod")
0102 SEND_VAR_EX CV8($decimal) 1
0103 T14 = CAST (string) CV2($destBase)
0104 SEND_VAL_EX T14 2
0105 V14 = DO_FCALL_BY_NAME
0106 T15 = CAST (long) V14
0107 T14 = FETCH_DIM_R CV6($baseChars) T15
0108 ASSIGN_OP (CONCAT) CV7($result) T14
0109 INIT_NS_FCALL_BY_NAME 3 string("Wikimedia\\bcdiv")
0110 SEND_VAR_EX CV8($decimal) 1
0111 T14 = CAST (string) CV2($destBase)
0112 SEND_VAL_EX T14 2
0113 SEND_VAL_EX int(0) 3
0114 V14 = DO_FCALL_BY_NAME
0115 ASSIGN CV8($decimal) V14
0116 INIT_NS_FCALL_BY_NAME 2 string("Wikimedia\\bccomp")
0117 SEND_VAR_EX CV8($decimal) 1
0118 SEND_VAL_EX string("0") 2
0119 V14 = DO_FCALL_BY_NAME
0120 JMPNZ V14 0101
0121 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\strrev")
0122 SEND_VAR_EX CV7($result) 1
0123 V14 = DO_FCALL_BY_NAME
0124 ASSIGN CV7($result) V14
0125 JMP 0166
0126 CV10($inDigits) = QM_ASSIGN array(...)
0127 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\str_split")
0128 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\strtolower")
0129 SEND_VAR_EX CV0($input) 1
0130 V14 = DO_FCALL_BY_NAME
0131 SEND_VAR_NO_REF_EX V14 1
0132 V15 = DO_FCALL_BY_NAME
0133 V14 = FE_RESET_R V15 0139
0134 FE_FETCH_R V14 CV9($char) 0139
0135 T15 = FETCH_DIM_R CV6($baseChars) CV9($char)
0136 ASSIGN_DIM CV10($inDigits) NEXT
0137 OP_DATA T15
0138 JMP 0134
0139 FE_FREE V14
0140 CV7($result) = QM_ASSIGN string("")
0141 JMP 0161
0142 ASSIGN CV11($work) int(0)
0143 ASSIGN CV12($workDigits) array(...)
0144 V14 = FE_RESET_R CV10($inDigits) 0157
0145 FE_FETCH_R V14 CV13($digit) 0157
0146 ASSIGN_OP (MUL) CV11($work) CV1($sourceBase)
0147 ASSIGN_OP (ADD) CV11($work) CV13($digit)
0148 JMPNZ CV12($workDigits) 0151
0149 T15 = IS_SMALLER_OR_EQUAL CV2($destBase) CV11($work)
0150 JMPZ T15 0155
0151 T16 = DIV CV11($work) CV2($destBase)
0152 T15 = CAST (long) T16
0153 ASSIGN_DIM CV12($workDigits) NEXT
0154 OP_DATA T15
0155 ASSIGN_OP (MOD) CV11($work) CV2($destBase)
0156 JMP 0145
0157 FE_FREE V14
0158 T14 = FETCH_DIM_R CV6($baseChars) CV11($work)
0159 ASSIGN_OP (CONCAT) CV7($result) T14
0160 ASSIGN CV10($inDigits) CV12($workDigits)
0161 JMPNZ CV10($inDigits) 0142
0162 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\strrev")
0163 SEND_VAR_EX CV7($result) 1
0164 V14 = DO_FCALL_BY_NAME
0165 ASSIGN CV7($result) V14
0166 JMPNZ CV4($lowercase) 0171
0167 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\strtoupper")
0168 SEND_VAR_EX CV7($result) 1
0169 V14 = DO_FCALL_BY_NAME
0170 ASSIGN CV7($result) V14
0171 INIT_NS_FCALL_BY_NAME 4 string("Wikimedia\\str_pad")
0172 SEND_VAR_EX CV7($result) 1
0173 SEND_VAR_EX CV3($pad) 2
0174 SEND_VAL_EX string("0") 3
0175 T14 = FETCH_CONSTANT (unqualified-in-namespace) string("Wikimedia\\STR_PAD_LEFT")
0176 SEND_VAL_EX T14 4
0177 V14 = DO_FCALL_BY_NAME
0178 RETURN V14
LIVE RANGES:
14: 0083 - 0098 (loop)
14: 0134 - 0139 (loop)
14: 0145 - 0157 (loop)
$_main:
; (lines=6, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/guzzlehttp/guzzle/src/functions_include.php:1-7
0000 INIT_FCALL 1 96 string("function_exists")
0001 SEND_VAL string("GuzzleHttp\\describe_type") 1
0002 V0 = DO_ICALL
0003 JMPNZ V0 0005
0004 INCLUDE_OR_EVAL (require) string("/var/tmp/mediawiki-1.42.1/vendor/guzzlehttp/guzzle/src/functions.php")
0005 RETURN int(1)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/guzzlehttp/guzzle/src/functions.php:1-168
0000 RETURN int(1)
GuzzleHttp\describe_type:
; (lines=6, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/guzzlehttp/guzzle/src/functions.php:16-19
0000 CV0($input) = RECV 1
0001 INIT_STATIC_METHOD_CALL 1 string("GuzzleHttp\\Utils") string("describeType")
0002 SEND_VAR_EX CV0($input) 1
0003 V1 = DO_FCALL
0004 VERIFY_RETURN_TYPE V1
0005 RETURN V1
LIVE RANGES:
1: 0004 - 0005 (tmp/var)
GuzzleHttp\headers_from_lines:
; (lines=6, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/guzzlehttp/guzzle/src/functions.php:29-32
0000 CV0($lines) = RECV 1
0001 INIT_STATIC_METHOD_CALL 1 string("GuzzleHttp\\Utils") string("headersFromLines")
0002 SEND_VAR_EX CV0($lines) 1
0003 V1 = DO_FCALL
0004 VERIFY_RETURN_TYPE V1
0005 RETURN V1
LIVE RANGES:
1: 0004 - 0005 (tmp/var)
GuzzleHttp\debug_resource:
; (lines=5, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/guzzlehttp/guzzle/src/functions.php:43-46
0000 CV0($value) = RECV_INIT 1 null
0001 INIT_STATIC_METHOD_CALL 1 string("GuzzleHttp\\Utils") string("debugResource")
0002 SEND_VAR_EX CV0($value) 1
0003 V1 = DO_FCALL
0004 RETURN V1
GuzzleHttp\choose_handler:
; (lines=4, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/guzzlehttp/guzzle/src/functions.php:59-62
0000 INIT_STATIC_METHOD_CALL 0 string("GuzzleHttp\\Utils") string("chooseHandler")
0001 V0 = DO_FCALL
0002 VERIFY_RETURN_TYPE V0
0003 RETURN V0
LIVE RANGES:
0: 0002 - 0003 (tmp/var)
GuzzleHttp\default_user_agent:
; (lines=4, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/guzzlehttp/guzzle/src/functions.php:69-72
0000 INIT_STATIC_METHOD_CALL 0 string("GuzzleHttp\\Utils") string("defaultUserAgent")
0001 V0 = DO_FCALL
0002 VERIFY_RETURN_TYPE V0
0003 RETURN V0
LIVE RANGES:
0: 0002 - 0003 (tmp/var)
GuzzleHttp\default_ca_bundle:
; (lines=4, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/guzzlehttp/guzzle/src/functions.php:89-92
0000 INIT_STATIC_METHOD_CALL 0 string("GuzzleHttp\\Utils") string("defaultCaBundle")
0001 V0 = DO_FCALL
0002 VERIFY_RETURN_TYPE V0
0003 RETURN V0
LIVE RANGES:
0: 0002 - 0003 (tmp/var)
GuzzleHttp\normalize_header_keys:
; (lines=6, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/guzzlehttp/guzzle/src/functions.php:100-103
0000 CV0($headers) = RECV 1
0001 INIT_STATIC_METHOD_CALL 1 string("GuzzleHttp\\Utils") string("normalizeHeaderKeys")
0002 SEND_VAR_EX CV0($headers) 1
0003 V1 = DO_FCALL
0004 VERIFY_RETURN_TYPE V1
0005 RETURN V1
LIVE RANGES:
1: 0004 - 0005 (tmp/var)
GuzzleHttp\is_host_in_noproxy:
; (lines=8, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/guzzlehttp/guzzle/src/functions.php:126-129
0000 CV0($host) = RECV 1
0001 CV1($noProxyArray) = RECV 2
0002 INIT_STATIC_METHOD_CALL 2 string("GuzzleHttp\\Utils") string("isHostInNoProxy")
0003 SEND_VAR_EX CV0($host) 1
0004 SEND_VAR_EX CV1($noProxyArray) 2
0005 V2 = DO_FCALL
0006 VERIFY_RETURN_TYPE V2
0007 RETURN V2
LIVE RANGES:
2: 0006 - 0007 (tmp/var)
GuzzleHttp\json_decode:
; (lines=11, args=4, vars=4, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/guzzlehttp/guzzle/src/functions.php:147-150
0000 CV0($json) = RECV 1
0001 CV1($assoc) = RECV_INIT 2 bool(false)
0002 CV2($depth) = RECV_INIT 3 int(512)
0003 CV3($options) = RECV_INIT 4 int(0)
0004 INIT_STATIC_METHOD_CALL 4 string("GuzzleHttp\\Utils") string("jsonDecode")
0005 SEND_VAR_EX CV0($json) 1
0006 SEND_VAR_EX CV1($assoc) 2
0007 SEND_VAR_EX CV2($depth) 3
0008 SEND_VAR_EX CV3($options) 4
0009 V4 = DO_FCALL
0010 RETURN V4
GuzzleHttp\json_encode:
; (lines=10, args=3, vars=3, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/guzzlehttp/guzzle/src/functions.php:164-167
0000 CV0($value) = RECV 1
0001 CV1($options) = RECV_INIT 2 int(0)
0002 CV2($depth) = RECV_INIT 3 int(512)
0003 INIT_STATIC_METHOD_CALL 3 string("GuzzleHttp\\Utils") string("jsonEncode")
0004 SEND_VAR_EX CV0($value) 1
0005 SEND_VAR_EX CV1($options) 2
0006 SEND_VAR_EX CV2($depth) 3
0007 V3 = DO_FCALL
0008 VERIFY_RETURN_TYPE V3
0009 RETURN V3
LIVE RANGES:
3: 0008 - 0009 (tmp/var)
$_main:
; (lines=11, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/timestamp/src/defines.php:1-79
0000 DECLARE_CONST string("TS_UNIX") int(0)
0001 DECLARE_CONST string("TS_MW") int(1)
0002 DECLARE_CONST string("TS_DB") int(2)
0003 DECLARE_CONST string("TS_RFC2822") int(3)
0004 DECLARE_CONST string("TS_ISO_8601") int(4)
0005 DECLARE_CONST string("TS_EXIF") int(5)
0006 DECLARE_CONST string("TS_ORACLE") int(6)
0007 DECLARE_CONST string("TS_POSTGRES") int(7)
0008 DECLARE_CONST string("TS_ISO_8601_BASIC") int(9)
0009 DECLARE_CONST string("TS_UNIX_MICRO") int(10)
0010 RETURN int(1)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/symfony/polyfill-php82/bootstrap.php:1-35
0000 RETURN null
odbc_connection_string_is_quoted:
; (lines=6, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/symfony/polyfill-php82/bootstrap.php:20-20
0000 CV0($str) = RECV 1
0001 INIT_STATIC_METHOD_CALL 1 string("Symfony\\Polyfill\\Php82\\Php82") string("odbc_connection_string_is_quoted")
0002 SEND_VAR_EX CV0($str) 1
0003 V1 = DO_FCALL
0004 VERIFY_RETURN_TYPE V1
0005 RETURN V1
LIVE RANGES:
1: 0004 - 0005 (tmp/var)
odbc_connection_string_should_quote:
; (lines=6, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/symfony/polyfill-php82/bootstrap.php:24-24
0000 CV0($str) = RECV 1
0001 INIT_STATIC_METHOD_CALL 1 string("Symfony\\Polyfill\\Php82\\Php82") string("odbc_connection_string_should_quote")
0002 SEND_VAR_EX CV0($str) 1
0003 V1 = DO_FCALL
0004 VERIFY_RETURN_TYPE V1
0005 RETURN V1
LIVE RANGES:
1: 0004 - 0005 (tmp/var)
odbc_connection_string_quote:
; (lines=6, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/symfony/polyfill-php82/bootstrap.php:28-28
0000 CV0($str) = RECV 1
0001 INIT_STATIC_METHOD_CALL 1 string("Symfony\\Polyfill\\Php82\\Php82") string("odbc_connection_string_quote")
0002 SEND_VAR_EX CV0($str) 1
0003 V1 = DO_FCALL
0004 VERIFY_RETURN_TYPE V1
0005 RETURN V1
LIVE RANGES:
1: 0004 - 0005 (tmp/var)
ini_parse_quantity:
; (lines=6, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/symfony/polyfill-php82/bootstrap.php:33-33
0000 CV0($shorthand) = RECV 1
0001 INIT_STATIC_METHOD_CALL 1 string("Symfony\\Polyfill\\Php82\\Php82") string("ini_parse_quantity")
0002 SEND_VAR_EX CV0($shorthand) 1
0003 V1 = DO_FCALL
0004 VERIFY_RETURN_TYPE V1
0005 RETURN V1
LIVE RANGES:
1: 0004 - 0005 (tmp/var)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/symfony/polyfill-php83/bootstrap.php:1-49
0000 RETURN null
json_validate:
; (lines=10, args=3, vars=3, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/symfony/polyfill-php83/bootstrap.php:19-19
0000 CV0($json) = RECV 1
0001 CV1($depth) = RECV_INIT 2 int(512)
0002 CV2($flags) = RECV_INIT 3 int(0)
0003 INIT_STATIC_METHOD_CALL 3 string("Symfony\\Polyfill\\Php83\\Php83") string("json_validate")
0004 SEND_VAR_EX CV0($json) 1
0005 SEND_VAR_EX CV1($depth) 2
0006 SEND_VAR_EX CV2($flags) 3
0007 V3 = DO_FCALL
0008 VERIFY_RETURN_TYPE V3
0009 RETURN V3
LIVE RANGES:
3: 0008 - 0009 (tmp/var)
mb_str_pad:
; (lines=14, args=5, vars=5, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/symfony/polyfill-php83/bootstrap.php:23-23
0000 CV0($string) = RECV 1
0001 CV1($length) = RECV 2
0002 CV2($pad_string) = RECV_INIT 3 string(" ")
0003 CV3($pad_type) = RECV_INIT 4 zval(type=11)
0004 CV4($encoding) = RECV_INIT 5 null
0005 INIT_STATIC_METHOD_CALL 5 string("Symfony\\Polyfill\\Php83\\Php83") string("mb_str_pad")
0006 SEND_VAR_EX CV0($string) 1
0007 SEND_VAR_EX CV1($length) 2
0008 SEND_VAR_EX CV2($pad_string) 3
0009 SEND_VAR_EX CV3($pad_type) 4
0010 SEND_VAR_EX CV4($encoding) 5
0011 V5 = DO_FCALL
0012 VERIFY_RETURN_TYPE V5
0013 RETURN V5
LIVE RANGES:
5: 0012 - 0013 (tmp/var)
stream_context_set_options:
; (lines=7, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/symfony/polyfill-php83/bootstrap.php:27-27
0000 CV0($context) = RECV 1
0001 CV1($options) = RECV 2
0002 INIT_FCALL 2 112 string("stream_context_set_option")
0003 SEND_VAR CV0($context) 1
0004 SEND_VAR CV1($options) 2
0005 V2 = DO_ICALL
0006 RETURN V2
str_increment:
; (lines=6, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/symfony/polyfill-php83/bootstrap.php:31-31
0000 CV0($string) = RECV 1
0001 INIT_STATIC_METHOD_CALL 1 string("Symfony\\Polyfill\\Php83\\Php83") string("str_increment")
0002 SEND_VAR_EX CV0($string) 1
0003 V1 = DO_FCALL
0004 VERIFY_RETURN_TYPE V1
0005 RETURN V1
LIVE RANGES:
1: 0004 - 0005 (tmp/var)
str_decrement:
; (lines=6, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/symfony/polyfill-php83/bootstrap.php:35-35
0000 CV0($string) = RECV 1
0001 INIT_STATIC_METHOD_CALL 1 string("Symfony\\Polyfill\\Php83\\Php83") string("str_decrement")
0002 SEND_VAR_EX CV0($string) 1
0003 V1 = DO_FCALL
0004 VERIFY_RETURN_TYPE V1
0005 RETURN V1
LIVE RANGES:
1: 0004 - 0005 (tmp/var)
ldap_exop_sync:
; (lines=16, args=6, vars=6, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/symfony/polyfill-php83/bootstrap.php:43-43
0000 CV0($ldap) = RECV 1
0001 CV1($request_oid) = RECV 2
0002 CV2($request_data) = RECV_INIT 3 null
0003 CV3($controls) = RECV_INIT 4 null
0004 CV4($response_data) = RECV_INIT 5 null
0005 CV5($response_oid) = RECV_INIT 6 null
0006 INIT_FCALL 6 176 string("ldap_exop")
0007 SEND_VAR CV0($ldap) 1
0008 SEND_VAR CV1($request_oid) 2
0009 SEND_VAR CV2($request_data) 3
0010 SEND_VAR CV3($controls) 4
0011 SEND_REF CV4($response_data) 5
0012 SEND_REF CV5($response_oid) 6
0013 V6 = DO_ICALL
0014 VERIFY_RETURN_TYPE V6
0015 RETURN V6
LIVE RANGES:
6: 0014 - 0015 (tmp/var)
ldap_connect_wallet:
; (lines=11, args=4, vars=4, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/symfony/polyfill-php83/bootstrap.php:47-47
0000 CV0($uri) = RECV 1
0001 CV1($wallet) = RECV 2
0002 CV2($password) = RECV 3
0003 CV3($auth_mode) = RECV_INIT 4 zval(type=11)
0004 INIT_FCALL 4 144 string("ldap_connect")
0005 SEND_VAR CV0($uri) 1
0006 SEND_VAR CV1($wallet) 2
0007 SEND_VAR CV2($password) 3
0008 SEND_VAR CV3($auth_mode) 4
0009 V4 = DO_ICALL
0010 RETURN V4
$_main:
; (lines=227, args=0, vars=0, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Defines.php:1-330
0000 INCLUDE_OR_EVAL (require_once) string("/var/tmp/mediawiki-1.42.1/includes/libs/mime/defines.php")
0001 INCLUDE_OR_EVAL (require_once) string("/var/tmp/mediawiki-1.42.1/includes/libs/rdbms/defines.php")
0002 DECLARE_CONST string("MW_VERSION") string("1.42.1")
0003 INIT_FCALL 2 112 string("define")
0004 SEND_VAL string("LIST_COMMA") 1
0005 T0 = FETCH_CLASS_CONSTANT string("Wikimedia\\Rdbms\\IDatabase") string("LIST_COMMA")
0006 SEND_VAL T0 2
0007 DO_ICALL
0008 INIT_FCALL 2 112 string("define")
0009 SEND_VAL string("LIST_AND") 1
0010 T0 = FETCH_CLASS_CONSTANT string("Wikimedia\\Rdbms\\IDatabase") string("LIST_AND")
0011 SEND_VAL T0 2
0012 DO_ICALL
0013 INIT_FCALL 2 112 string("define")
0014 SEND_VAL string("LIST_SET") 1
0015 T0 = FETCH_CLASS_CONSTANT string("Wikimedia\\Rdbms\\IDatabase") string("LIST_SET")
0016 SEND_VAL T0 2
0017 DO_ICALL
0018 INIT_FCALL 2 112 string("define")
0019 SEND_VAL string("LIST_NAMES") 1
0020 T0 = FETCH_CLASS_CONSTANT string("Wikimedia\\Rdbms\\IDatabase") string("LIST_NAMES")
0021 SEND_VAL T0 2
0022 DO_ICALL
0023 INIT_FCALL 2 112 string("define")
0024 SEND_VAL string("LIST_OR") 1
0025 T0 = FETCH_CLASS_CONSTANT string("Wikimedia\\Rdbms\\IDatabase") string("LIST_OR")
0026 SEND_VAL T0 2
0027 DO_ICALL
0028 DECLARE_CONST string("NS_MEDIA") int(-2)
0029 DECLARE_CONST string("NS_SPECIAL") int(-1)
0030 DECLARE_CONST string("NS_MAIN") int(0)
0031 DECLARE_CONST string("NS_TALK") int(1)
0032 DECLARE_CONST string("NS_USER") int(2)
0033 DECLARE_CONST string("NS_USER_TALK") int(3)
0034 DECLARE_CONST string("NS_PROJECT") int(4)
0035 DECLARE_CONST string("NS_PROJECT_TALK") int(5)
0036 DECLARE_CONST string("NS_FILE") int(6)
0037 DECLARE_CONST string("NS_FILE_TALK") int(7)
0038 DECLARE_CONST string("NS_MEDIAWIKI") int(8)
0039 DECLARE_CONST string("NS_MEDIAWIKI_TALK") int(9)
0040 DECLARE_CONST string("NS_TEMPLATE") int(10)
0041 DECLARE_CONST string("NS_TEMPLATE_TALK") int(11)
0042 DECLARE_CONST string("NS_HELP") int(12)
0043 DECLARE_CONST string("NS_HELP_TALK") int(13)
0044 DECLARE_CONST string("NS_CATEGORY") int(14)
0045 DECLARE_CONST string("NS_CATEGORY_TALK") int(15)
0046 DECLARE_CONST string("CACHE_ANYTHING") int(-1)
0047 DECLARE_CONST string("CACHE_NONE") int(0)
0048 DECLARE_CONST string("CACHE_DB") int(1)
0049 DECLARE_CONST string("CACHE_MEMCACHED") string("memcached-php")
0050 DECLARE_CONST string("CACHE_ACCEL") int(3)
0051 DECLARE_CONST string("CACHE_HASH") string("hash")
0052 DECLARE_CONST string("AV_NO_VIRUS") int(0)
0053 DECLARE_CONST string("AV_VIRUS_FOUND") int(1)
0054 DECLARE_CONST string("AV_SCAN_ABORTED") int(-1)
0055 DECLARE_CONST string("AV_SCAN_FAILED") bool(false)
0056 DECLARE_CONST string("MW_DATE_DEFAULT") string("default")
0057 DECLARE_CONST string("MW_DATE_MDY") string("mdy")
0058 DECLARE_CONST string("MW_DATE_DMY") string("dmy")
0059 DECLARE_CONST string("MW_DATE_YMD") string("ymd")
0060 DECLARE_CONST string("MW_DATE_ISO") string("ISO 8601")
0061 DECLARE_CONST string("RC_EDIT") int(0)
0062 DECLARE_CONST string("RC_NEW") int(1)
0063 DECLARE_CONST string("RC_LOG") int(3)
0064 DECLARE_CONST string("RC_EXTERNAL") int(5)
0065 DECLARE_CONST string("RC_CATEGORIZE") int(6)
0066 DECLARE_CONST string("EDIT_NEW") int(1)
0067 DECLARE_CONST string("EDIT_UPDATE") int(2)
0068 DECLARE_CONST string("EDIT_MINOR") int(4)
0069 DECLARE_CONST string("EDIT_SUPPRESS_RC") int(8)
0070 DECLARE_CONST string("EDIT_FORCE_BOT") int(16)
0071 DECLARE_CONST string("EDIT_DEFER_UPDATES") int(32)
0072 DECLARE_CONST string("EDIT_AUTOSUMMARY") int(64)
0073 DECLARE_CONST string("EDIT_INTERNAL") int(128)
0074 DECLARE_CONST string("MW_SUPPORTS_PARSERFIRSTCALLINIT") int(1)
0075 DECLARE_CONST string("MW_SUPPORTS_LOCALISATIONCACHE") int(1)
0076 DECLARE_CONST string("MW_SUPPORTS_CONTENTHANDLER") int(1)
0077 DECLARE_CONST string("MW_EDITFILTERMERGED_SUPPORTS_API") int(1)
0078 DECLARE_CONST string("MW_SUPPORTS_RESOURCE_MODULES") int(1)
0079 DECLARE_CONST string("OT_HTML") int(1)
0080 DECLARE_CONST string("OT_WIKI") int(2)
0081 DECLARE_CONST string("OT_PREPROCESS") int(3)
0082 DECLARE_CONST string("OT_PLAIN") int(4)
0083 DECLARE_CONST string("SFH_NO_HASH") int(1)
0084 DECLARE_CONST string("SFH_OBJECT_ARGS") int(2)
0085 DECLARE_CONST string("APCOND_EDITCOUNT") int(1)
0086 DECLARE_CONST string("APCOND_AGE") int(2)
0087 DECLARE_CONST string("APCOND_EMAILCONFIRMED") int(3)
0088 DECLARE_CONST string("APCOND_INGROUPS") int(4)
0089 DECLARE_CONST string("APCOND_ISIP") int(5)
0090 DECLARE_CONST string("APCOND_IPINRANGE") int(6)
0091 DECLARE_CONST string("APCOND_AGE_FROM_EDIT") int(7)
0092 DECLARE_CONST string("APCOND_BLOCKED") int(8)
0093 DECLARE_CONST string("APCOND_ISBOT") int(9)
0094 DECLARE_CONST string("CUDCOND_AFTER") string("registered-after")
0095 DECLARE_CONST string("CUDCOND_ANON") string("anonymous-user")
0096 DECLARE_CONST string("CUDCOND_NAMED") string("named-user")
0097 DECLARE_CONST string("PROTO_HTTP") string("http://")
0098 DECLARE_CONST string("PROTO_HTTPS") string("https://")
0099 DECLARE_CONST string("PROTO_RELATIVE") string("//")
0100 DECLARE_CONST string("PROTO_FALLBACK") null
0101 INIT_FCALL 2 112 string("define")
0102 SEND_VAL string("PROTO_CURRENT") 1
0103 T0 = FETCH_CONSTANT string("PROTO_FALLBACK")
0104 SEND_VAL T0 2
0105 DO_ICALL
0106 DECLARE_CONST string("PROTO_CANONICAL") int(1)
0107 DECLARE_CONST string("PROTO_INTERNAL") int(2)
0108 DECLARE_CONST string("CONTENT_MODEL_WIKITEXT") string("wikitext")
0109 DECLARE_CONST string("CONTENT_MODEL_JAVASCRIPT") string("javascript")
0110 DECLARE_CONST string("CONTENT_MODEL_CSS") string("css")
0111 DECLARE_CONST string("CONTENT_MODEL_TEXT") string("text")
0112 DECLARE_CONST string("CONTENT_MODEL_JSON") string("json")
0113 DECLARE_CONST string("CONTENT_MODEL_UNKNOWN") string("unknown")
0114 DECLARE_CONST string("CONTENT_FORMAT_WIKITEXT") string("text/x-wiki")
0115 DECLARE_CONST string("CONTENT_FORMAT_JAVASCRIPT") string("text/javascript")
0116 DECLARE_CONST string("CONTENT_FORMAT_CSS") string("text/css")
0117 DECLARE_CONST string("CONTENT_FORMAT_TEXT") string("text/plain")
0118 DECLARE_CONST string("CONTENT_FORMAT_HTML") string("text/html")
0119 DECLARE_CONST string("CONTENT_FORMAT_SERIALIZED") string("application/vnd.php.serialized")
0120 DECLARE_CONST string("CONTENT_FORMAT_JSON") string("application/json")
0121 DECLARE_CONST string("CONTENT_FORMAT_XML") string("application/xml")
0122 DECLARE_CONST string("SHELL_MAX_ARG_STRLEN") string("100000")
0123 DECLARE_CONST string("SCHEMA_COMPAT_WRITE_OLD") int(1)
0124 DECLARE_CONST string("SCHEMA_COMPAT_READ_OLD") int(2)
0125 DECLARE_CONST string("SCHEMA_COMPAT_WRITE_TEMP") int(16)
0126 DECLARE_CONST string("SCHEMA_COMPAT_READ_TEMP") int(32)
0127 DECLARE_CONST string("SCHEMA_COMPAT_WRITE_NEW") int(256)
0128 DECLARE_CONST string("SCHEMA_COMPAT_READ_NEW") int(512)
0129 INIT_FCALL 2 112 string("define")
0130 SEND_VAL string("SCHEMA_COMPAT_WRITE_MASK") 1
0131 T0 = FETCH_CONSTANT string("SCHEMA_COMPAT_WRITE_OLD")
0132 T2 = FETCH_CONSTANT string("SCHEMA_COMPAT_WRITE_TEMP")
0133 T1 = BW_OR T0 T2
0134 T2 = FETCH_CONSTANT string("SCHEMA_COMPAT_WRITE_NEW")
0135 T0 = BW_OR T1 T2
0136 SEND_VAL T0 2
0137 DO_ICALL
0138 INIT_FCALL 2 112 string("define")
0139 SEND_VAL string("SCHEMA_COMPAT_READ_MASK") 1
0140 T0 = FETCH_CONSTANT string("SCHEMA_COMPAT_READ_OLD")
0141 T2 = FETCH_CONSTANT string("SCHEMA_COMPAT_READ_TEMP")
0142 T1 = BW_OR T0 T2
0143 T2 = FETCH_CONSTANT string("SCHEMA_COMPAT_READ_NEW")
0144 T0 = BW_OR T1 T2
0145 SEND_VAL T0 2
0146 DO_ICALL
0147 INIT_FCALL 2 112 string("define")
0148 SEND_VAL string("SCHEMA_COMPAT_WRITE_BOTH") 1
0149 T1 = FETCH_CONSTANT string("SCHEMA_COMPAT_WRITE_OLD")
0150 T2 = FETCH_CONSTANT string("SCHEMA_COMPAT_WRITE_NEW")
0151 T0 = BW_OR T1 T2
0152 SEND_VAL T0 2
0153 DO_ICALL
0154 INIT_FCALL 2 112 string("define")
0155 SEND_VAL string("SCHEMA_COMPAT_WRITE_OLD_AND_TEMP") 1
0156 T1 = FETCH_CONSTANT string("SCHEMA_COMPAT_WRITE_OLD")
0157 T2 = FETCH_CONSTANT string("SCHEMA_COMPAT_WRITE_TEMP")
0158 T0 = BW_OR T1 T2
0159 SEND_VAL T0 2
0160 DO_ICALL
0161 INIT_FCALL 2 112 string("define")
0162 SEND_VAL string("SCHEMA_COMPAT_WRITE_TEMP_AND_NEW") 1
0163 T1 = FETCH_CONSTANT string("SCHEMA_COMPAT_WRITE_TEMP")
0164 T2 = FETCH_CONSTANT string("SCHEMA_COMPAT_WRITE_NEW")
0165 T0 = BW_OR T1 T2
0166 SEND_VAL T0 2
0167 DO_ICALL
0168 INIT_FCALL 2 112 string("define")
0169 SEND_VAL string("SCHEMA_COMPAT_READ_BOTH") 1
0170 T1 = FETCH_CONSTANT string("SCHEMA_COMPAT_READ_OLD")
0171 T2 = FETCH_CONSTANT string("SCHEMA_COMPAT_READ_NEW")
0172 T0 = BW_OR T1 T2
0173 SEND_VAL T0 2
0174 DO_ICALL
0175 INIT_FCALL 2 112 string("define")
0176 SEND_VAL string("SCHEMA_COMPAT_OLD") 1
0177 T1 = FETCH_CONSTANT string("SCHEMA_COMPAT_WRITE_OLD")
0178 T2 = FETCH_CONSTANT string("SCHEMA_COMPAT_READ_OLD")
0179 T0 = BW_OR T1 T2
0180 SEND_VAL T0 2
0181 DO_ICALL
0182 INIT_FCALL 2 112 string("define")
0183 SEND_VAL string("SCHEMA_COMPAT_TEMP") 1
0184 T1 = FETCH_CONSTANT string("SCHEMA_COMPAT_WRITE_TEMP")
0185 T2 = FETCH_CONSTANT string("SCHEMA_COMPAT_READ_TEMP")
0186 T0 = BW_OR T1 T2
0187 SEND_VAL T0 2
0188 DO_ICALL
0189 INIT_FCALL 2 112 string("define")
0190 SEND_VAL string("SCHEMA_COMPAT_NEW") 1
0191 T1 = FETCH_CONSTANT string("SCHEMA_COMPAT_WRITE_NEW")
0192 T2 = FETCH_CONSTANT string("SCHEMA_COMPAT_READ_NEW")
0193 T0 = BW_OR T1 T2
0194 SEND_VAL T0 2
0195 DO_ICALL
0196 INIT_FCALL 2 112 string("define")
0197 SEND_VAL string("MIGRATION_OLD") 1
0198 T1 = FETCH_CONSTANT string("SCHEMA_COMPAT_OLD")
0199 T0 = BW_OR T1 int(0)
0200 SEND_VAL T0 2
0201 DO_ICALL
0202 INIT_FCALL 2 112 string("define")
0203 SEND_VAL string("MIGRATION_WRITE_BOTH") 1
0204 T0 = FETCH_CONSTANT string("SCHEMA_COMPAT_READ_BOTH")
0205 T1 = BW_OR T0 int(268435456)
0206 T2 = FETCH_CONSTANT string("SCHEMA_COMPAT_WRITE_BOTH")
0207 T0 = BW_OR T1 T2
0208 SEND_VAL T0 2
0209 DO_ICALL
0210 INIT_FCALL 2 112 string("define")
0211 SEND_VAL string("MIGRATION_WRITE_NEW") 1
0212 T0 = FETCH_CONSTANT string("SCHEMA_COMPAT_READ_BOTH")
0213 T1 = BW_OR T0 int(536870912)
0214 T2 = FETCH_CONSTANT string("SCHEMA_COMPAT_WRITE_NEW")
0215 T0 = BW_OR T1 T2
0216 SEND_VAL T0 2
0217 DO_ICALL
0218 INIT_FCALL 2 112 string("define")
0219 SEND_VAL string("MIGRATION_NEW") 1
0220 T1 = FETCH_CONSTANT string("SCHEMA_COMPAT_NEW")
0221 T0 = BW_OR T1 int(805306368)
0222 SEND_VAL T0 2
0223 DO_ICALL
0224 DECLARE_CONST string("XML_DUMP_SCHEMA_VERSION_10") string("0.10")
0225 DECLARE_CONST string("XML_DUMP_SCHEMA_VERSION_11") string("0.11")
0226 RETURN int(1)
LIVE RANGES:
0: 0132 - 0133 (tmp/var)
1: 0134 - 0135 (tmp/var)
0: 0141 - 0142 (tmp/var)
1: 0143 - 0144 (tmp/var)
1: 0150 - 0151 (tmp/var)
1: 0157 - 0158 (tmp/var)
1: 0164 - 0165 (tmp/var)
1: 0171 - 0172 (tmp/var)
1: 0178 - 0179 (tmp/var)
1: 0185 - 0186 (tmp/var)
1: 0192 - 0193 (tmp/var)
1: 0206 - 0207 (tmp/var)
1: 0214 - 0215 (tmp/var)
$_main:
; (lines=12, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/mime/defines.php:1-50
0000 DECLARE_CONST string("MEDIATYPE_UNKNOWN") string("UNKNOWN")
0001 DECLARE_CONST string("MEDIATYPE_BITMAP") string("BITMAP")
0002 DECLARE_CONST string("MEDIATYPE_DRAWING") string("DRAWING")
0003 DECLARE_CONST string("MEDIATYPE_AUDIO") string("AUDIO")
0004 DECLARE_CONST string("MEDIATYPE_VIDEO") string("VIDEO")
0005 DECLARE_CONST string("MEDIATYPE_MULTIMEDIA") string("MULTIMEDIA")
0006 DECLARE_CONST string("MEDIATYPE_OFFICE") string("OFFICE")
0007 DECLARE_CONST string("MEDIATYPE_TEXT") string("TEXT")
0008 DECLARE_CONST string("MEDIATYPE_EXECUTABLE") string("EXECUTABLE")
0009 DECLARE_CONST string("MEDIATYPE_ARCHIVE") string("ARCHIVE")
0010 DECLARE_CONST string("MEDIATYPE_3D") string("3D")
0011 RETURN int(1)
$_main:
; (lines=66, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/defines.php:1-32
0000 INIT_FCALL 2 112 string("define")
0001 SEND_VAL string("DBO_DEBUG") 1
0002 T0 = FETCH_CLASS_CONSTANT string("Wikimedia\\Rdbms\\IDatabase") string("DBO_DEBUG")
0003 SEND_VAL T0 2
0004 DO_ICALL
0005 INIT_FCALL 2 112 string("define")
0006 SEND_VAL string("DBO_NOBUFFER") 1
0007 T0 = FETCH_CLASS_CONSTANT string("Wikimedia\\Rdbms\\IDatabase") string("DBO_NOBUFFER")
0008 SEND_VAL T0 2
0009 DO_ICALL
0010 INIT_FCALL 2 112 string("define")
0011 SEND_VAL string("DBO_IGNORE") 1
0012 T0 = FETCH_CLASS_CONSTANT string("Wikimedia\\Rdbms\\IDatabase") string("DBO_IGNORE")
0013 SEND_VAL T0 2
0014 DO_ICALL
0015 INIT_FCALL 2 112 string("define")
0016 SEND_VAL string("DBO_TRX") 1
0017 T0 = FETCH_CLASS_CONSTANT string("Wikimedia\\Rdbms\\IDatabase") string("DBO_TRX")
0018 SEND_VAL T0 2
0019 DO_ICALL
0020 INIT_FCALL 2 112 string("define")
0021 SEND_VAL string("DBO_DEFAULT") 1
0022 T0 = FETCH_CLASS_CONSTANT string("Wikimedia\\Rdbms\\IDatabase") string("DBO_DEFAULT")
0023 SEND_VAL T0 2
0024 DO_ICALL
0025 INIT_FCALL 2 112 string("define")
0026 SEND_VAL string("DBO_PERSISTENT") 1
0027 T0 = FETCH_CLASS_CONSTANT string("Wikimedia\\Rdbms\\IDatabase") string("DBO_PERSISTENT")
0028 SEND_VAL T0 2
0029 DO_ICALL
0030 INIT_FCALL 2 112 string("define")
0031 SEND_VAL string("DBO_SYSDBA") 1
0032 T0 = FETCH_CLASS_CONSTANT string("Wikimedia\\Rdbms\\IDatabase") string("DBO_SYSDBA")
0033 SEND_VAL T0 2
0034 DO_ICALL
0035 INIT_FCALL 2 112 string("define")
0036 SEND_VAL string("DBO_DDLMODE") 1
0037 T0 = FETCH_CLASS_CONSTANT string("Wikimedia\\Rdbms\\IDatabase") string("DBO_DDLMODE")
0038 SEND_VAL T0 2
0039 DO_ICALL
0040 INIT_FCALL 2 112 string("define")
0041 SEND_VAL string("DBO_SSL") 1
0042 T0 = FETCH_CLASS_CONSTANT string("Wikimedia\\Rdbms\\IDatabase") string("DBO_SSL")
0043 SEND_VAL T0 2
0044 DO_ICALL
0045 INIT_FCALL 2 112 string("define")
0046 SEND_VAL string("DBO_COMPRESS") 1
0047 T0 = FETCH_CLASS_CONSTANT string("Wikimedia\\Rdbms\\IDatabase") string("DBO_COMPRESS")
0048 SEND_VAL T0 2
0049 DO_ICALL
0050 INIT_FCALL 2 112 string("define")
0051 SEND_VAL string("DB_REPLICA") 1
0052 T0 = FETCH_CLASS_CONSTANT string("Wikimedia\\Rdbms\\ILoadBalancer") string("DB_REPLICA")
0053 SEND_VAL T0 2
0054 DO_ICALL
0055 INIT_FCALL 2 112 string("define")
0056 SEND_VAL string("DB_PRIMARY") 1
0057 T0 = FETCH_CLASS_CONSTANT string("Wikimedia\\Rdbms\\ILoadBalancer") string("DB_PRIMARY")
0058 SEND_VAL T0 2
0059 DO_ICALL
0060 INIT_FCALL 2 112 string("define")
0061 SEND_VAL string("DB_MASTER") 1
0062 T0 = FETCH_CLASS_CONSTANT string("Wikimedia\\Rdbms\\ILoadBalancer") string("DB_PRIMARY")
0063 SEND_VAL T0 2
0064 DO_ICALL
0065 RETURN int(1)
$_main:
; (lines=2, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/database/IDatabase.php:1-1164
0000 DECLARE_CLASS string("wikimedia\\rdbms\\idatabase")
0001 RETURN int(1)
$_main:
; (lines=2, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/database/IReadableDatabase.php:1-692
0000 DECLARE_CLASS string("wikimedia\\rdbms\\ireadabledatabase")
0001 RETURN int(1)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/platform/ISQLPlatform.php:1-667
0000 RETURN int(1)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/database/DbQuoter.php:1-20
0000 RETURN int(1)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/database/IDatabaseFlags.php:1-94
0000 RETURN int(1)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/loadbalancer/ILoadBalancer.php:1-534
0000 RETURN int(1)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/psr/log/Psr/Log/LoggerInterface.php:1-126
0000 RETURN int(1)
$_main:
; (lines=5, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/config/SiteConfiguration.php:1-626
0000 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Config\\class_alias")
0001 SEND_VAL_EX string("MediaWiki\\Config\\SiteConfiguration") 1
0002 SEND_VAL_EX string("SiteConfiguration") 2
0003 DO_FCALL_BY_NAME
0004 RETURN int(1)
MediaWiki\Config\SiteConfiguration::get:
; (lines=54, args=5, vars=7, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/config/SiteConfiguration.php:186-202
0000 CV0($settingName) = RECV 1
0001 CV1($wiki) = RECV 2
0002 CV2($site) = RECV_INIT 3 null
0003 CV3($params) = RECV_INIT 4 array(...)
0004 CV4($wikiTags) = RECV_INIT 5 array(...)
0005 INIT_METHOD_CALL 4 THIS string("mergeParams")
0006 SEND_VAR CV1($wiki) 1
0007 SEND_VAR CV2($site) 2
0008 SEND_VAR CV3($params) 3
0009 SEND_VAR CV4($wikiTags) 4
0010 V7 = DO_FCALL
0011 ASSIGN CV3($params) V7
0012 T7 = FETCH_OBJ_IS THIS string("settings")
0013 T8 = FETCH_DIM_IS T7 CV0($settingName)
0014 T7 = COALESCE T8 0016
0015 T7 = QM_ASSIGN null
0016 CV5($overrides) = QM_ASSIGN T7
0017 JMPZ CV5($overrides) 0026
0018 INIT_METHOD_CALL 3 THIS string("processSetting")
0019 SEND_VAR CV5($overrides) 1
0020 SEND_VAR CV1($wiki) 2
0021 V7 = FETCH_DIM_R CV3($params) string("tags")
0022 SEND_VAR V7 3
0023 V8 = DO_FCALL
0024 T7 = QM_ASSIGN V8
0025 JMP 0027
0026 T7 = QM_ASSIGN null
0027 CV6($value) = QM_ASSIGN T7
0028 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Config\\array_key_exists")
0029 SEND_VAL_EX string("@replaceableSettings") 1
0030 CHECK_FUNC_ARG 2
0031 V7 = FETCH_OBJ_FUNC_ARG (ref) THIS string("settings")
0032 SEND_FUNC_ARG V7 2
0033 V7 = DO_FCALL_BY_NAME
0034 JMPZ V7 0048
0035 JMP_FRAMELESS 72 string("mediawiki\\config\\in_array") 0044
0036 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Config\\in_array")
0037 SEND_VAR_EX CV0($settingName) 1
0038 CHECK_FUNC_ARG 2
0039 V8 = FETCH_OBJ_FUNC_ARG THIS string("settings")
0040 V7 = FETCH_DIM_FUNC_ARG V8 string("@replaceableSettings")
0041 SEND_FUNC_ARG V7 2
0042 V7 = DO_FCALL_BY_NAME
0043 JMP 0047
0044 T9 = FETCH_OBJ_R THIS string("settings")
0045 T8 = FETCH_DIM_R T9 string("@replaceableSettings")
0046 V7 = FRAMELESS_ICALL_2(in_array) CV0($settingName) T8
0047 JMPZ V7 0053
0048 INIT_METHOD_CALL 2 THIS string("doReplacements")
0049 SEND_REF CV6($value) 1
0050 V7 = FETCH_DIM_R CV3($params) string("replacements")
0051 SEND_VAR V7 2
0052 DO_FCALL
0053 RETURN CV6($value)
MediaWiki\Config\SiteConfiguration::processSetting:
; (lines=89, args=3, vars=5, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/config/SiteConfiguration.php:235-287
0000 CV0($thisSetting) = RECV 1
0001 CV1($wiki) = RECV 2
0002 CV2($tags) = RECV 3
0003 CV3($retval) = QM_ASSIGN null
0004 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Config\\array_key_exists")
0005 SEND_VAR_EX CV1($wiki) 1
0006 SEND_VAR_EX CV0($thisSetting) 2
0007 V5 = DO_FCALL_BY_NAME
0008 JMPZ V5 0011
0009 CV3($retval) = FETCH_DIM_R CV0($thisSetting) CV1($wiki)
0010 RETURN CV3($retval)
0011 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Config\\array_key_exists")
0012 T5 = FAST_CONCAT string("+") CV1($wiki)
0013 SEND_VAL_EX T5 1
0014 SEND_VAR_EX CV0($thisSetting) 2
0015 V5 = DO_FCALL_BY_NAME
0016 JMPZ V5 0019
0017 T5 = FAST_CONCAT string("+") CV1($wiki)
0018 CV3($retval) = FETCH_DIM_R CV0($thisSetting) T5
0019 V5 = FE_RESET_R CV2($tags) 0063
0020 FE_FETCH_R V5 CV4($tag) 0063
0021 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Config\\array_key_exists")
0022 SEND_VAR_EX CV4($tag) 1
0023 SEND_VAR_EX CV0($thisSetting) 2
0024 V6 = DO_FCALL_BY_NAME
0025 JMPZ V6 0047
0026 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Config\\is_array")
0027 SEND_VAR_EX CV3($retval) 1
0028 V6 = DO_FCALL_BY_NAME
0029 JMPZ V6 0043
0030 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Config\\is_array")
0031 CHECK_FUNC_ARG 1
0032 V6 = FETCH_DIM_FUNC_ARG CV0($thisSetting) CV4($tag)
0033 SEND_FUNC_ARG V6 1
0034 V6 = DO_FCALL_BY_NAME
0035 JMPZ V6 0043
0036 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("arrayMerge")
0037 SEND_VAR CV3($retval) 1
0038 V6 = FETCH_DIM_R CV0($thisSetting) CV4($tag)
0039 SEND_VAR V6 2
0040 V6 = DO_FCALL
0041 ASSIGN CV3($retval) V6
0042 JMP 0045
0043 T6 = FETCH_DIM_R CV0($thisSetting) CV4($tag)
0044 ASSIGN CV3($retval) T6
0045 FE_FREE V5
0046 RETURN CV3($retval)
0047 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Config\\array_key_exists")
0048 T6 = FAST_CONCAT string("+") CV4($tag)
0049 SEND_VAL_EX T6 1
0050 SEND_VAR_EX CV0($thisSetting) 2
0051 V6 = DO_FCALL_BY_NAME
0052 JMPZ V6 0020
0053 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("arrayMerge")
0054 T6 = COALESCE CV3($retval) 0056
0055 T6 = QM_ASSIGN array(...)
0056 SEND_VAL T6 1
0057 T7 = FAST_CONCAT string("+") CV4($tag)
0058 V6 = FETCH_DIM_R CV0($thisSetting) T7
0059 SEND_VAR V6 2
0060 V6 = DO_FCALL
0061 ASSIGN CV3($retval) V6
0062 JMP 0020
0063 FE_FREE V5
0064 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Config\\array_key_exists")
0065 SEND_VAL_EX string("default") 1
0066 SEND_VAR_EX CV0($thisSetting) 2
0067 V5 = DO_FCALL_BY_NAME
0068 JMPZ V5 0088
0069 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Config\\is_array")
0070 SEND_VAR_EX CV3($retval) 1
0071 V5 = DO_FCALL_BY_NAME
0072 JMPZ V5 0086
0073 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Config\\is_array")
0074 CHECK_FUNC_ARG 1
0075 V5 = FETCH_DIM_FUNC_ARG CV0($thisSetting) string("default")
0076 SEND_FUNC_ARG V5 1
0077 V5 = DO_FCALL_BY_NAME
0078 JMPZ V5 0086
0079 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("arrayMerge")
0080 SEND_VAR CV3($retval) 1
0081 V5 = FETCH_DIM_R CV0($thisSetting) string("default")
0082 SEND_VAR V5 2
0083 V5 = DO_FCALL
0084 ASSIGN CV3($retval) V5
0085 RETURN CV3($retval)
0086 T5 = FETCH_DIM_R CV0($thisSetting) string("default")
0087 ASSIGN CV3($retval) T5
0088 RETURN CV3($retval)
LIVE RANGES:
5: 0020 - 0063 (loop)
MediaWiki\Config\SiteConfiguration::doReplacements:
; (lines=36, args=2, vars=3, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/config/SiteConfiguration.php:295-308
0000 CV0($value) = RECV 1
0001 CV1($replacements) = RECV 2
0002 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Config\\is_string")
0003 SEND_VAR_EX CV0($value) 1
0004 V3 = DO_FCALL_BY_NAME
0005 JMPZ V3 0015
0006 JMP_FRAMELESS 16 string("mediawiki\\config\\strtr") 0012
0007 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Config\\strtr")
0008 SEND_VAR_EX CV0($value) 1
0009 SEND_VAR_EX CV1($replacements) 2
0010 V3 = DO_FCALL_BY_NAME
0011 JMP 0013
0012 V3 = FRAMELESS_ICALL_2(strtr) CV0($value) CV1($replacements)
0013 ASSIGN CV0($value) V3
0014 RETURN null
0015 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Config\\is_array")
0016 SEND_VAR_EX CV0($value) 1
0017 V3 = DO_FCALL_BY_NAME
0018 JMPZ V3 0035
0019 V3 = FE_RESET_RW CV0($value) 0034
0020 FE_FETCH_RW V3 CV2($val) 0034
0021 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Config\\is_string")
0022 SEND_VAR_EX CV2($val) 1
0023 V4 = DO_FCALL_BY_NAME
0024 JMPZ V4 0020
0025 JMP_FRAMELESS 40 string("mediawiki\\config\\strtr") 0031
0026 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Config\\strtr")
0027 SEND_VAR_EX CV2($val) 1
0028 SEND_VAR_EX CV1($replacements) 2
0029 V4 = DO_FCALL_BY_NAME
0030 JMP 0032
0031 V4 = FRAMELESS_ICALL_2(strtr) CV2($val) CV1($replacements)
0032 ASSIGN CV2($val) V4
0033 JMP 0020
0034 FE_FREE V3
0035 RETURN null
LIVE RANGES:
3: 0020 - 0034 (loop)
MediaWiki\Config\SiteConfiguration::getAll:
; (lines=90, args=4, vars=10, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/config/SiteConfiguration.php:318-348
0000 CV0($wiki) = RECV 1
0001 CV1($site) = RECV_INIT 2 null
0002 CV2($params) = RECV_INIT 3 array(...)
0003 CV3($wikiTags) = RECV_INIT 4 array(...)
0004 INIT_METHOD_CALL 4 THIS string("mergeParams")
0005 SEND_VAR CV0($wiki) 1
0006 SEND_VAR CV1($site) 2
0007 SEND_VAR CV2($params) 3
0008 SEND_VAR CV3($wikiTags) 4
0009 V10 = DO_FCALL
0010 ASSIGN CV2($params) V10
0011 CV4($tags) = FETCH_DIM_R CV2($params) string("tags")
0012 CV5($localSettings) = QM_ASSIGN array(...)
0013 T11 = FETCH_OBJ_R THIS string("settings")
0014 V10 = FE_RESET_R T11 0055
0015 T11 = FE_FETCH_R V10 CV6($overrides) 0055
0016 ASSIGN CV7($varname) T11
0017 INIT_METHOD_CALL 3 THIS string("processSetting")
0018 SEND_VAR CV6($overrides) 1
0019 SEND_VAR CV0($wiki) 2
0020 SEND_VAR CV4($tags) 3
0021 V11 = DO_UCALL
0022 ASSIGN CV8($value) V11
0023 T12 = FETCH_DIM_R CV7($varname) int(0)
0024 T11 = IS_IDENTICAL T12 string("+")
0025 JMPZ T11 0050
0026 JMP_FRAMELESS 64 string("mediawiki\\config\\substr") 0032
0027 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Config\\substr")
0028 SEND_VAR_EX CV7($varname) 1
0029 SEND_VAL_EX int(1) 2
0030 V11 = DO_FCALL_BY_NAME
0031 JMP 0033
0032 V11 = FRAMELESS_ICALL_2(substr) CV7($varname) int(1)
0033 ASSIGN CV7($varname) V11
0034 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Config\\is_array")
0035 SEND_VAR_EX CV8($value) 1
0036 V11 = DO_FCALL_BY_NAME
0037 JMPZ V11 0050
0038 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Config\\is_array")
0039 CHECK_FUNC_ARG 1
0040 V11 = FETCH_FUNC_ARG (global) CV7($varname)
0041 SEND_FUNC_ARG V11 1
0042 V11 = DO_FCALL_BY_NAME
0043 JMPZ V11 0050
0044 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("arrayMerge")
0045 SEND_VAR CV8($value) 1
0046 V11 = FETCH_R (global) CV7($varname)
0047 SEND_VAR V11 2
0048 V11 = DO_FCALL
0049 ASSIGN CV8($value) V11
0050 T11 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] CV8($value)
0051 JMPZ T11 0015
0052 ASSIGN_DIM CV5($localSettings) CV7($varname)
0053 OP_DATA CV8($value)
0054 JMP 0015
0055 FE_FREE V10
0056 CV9($replacements) = FETCH_DIM_R CV2($params) string("replacements")
0057 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Config\\array_key_exists")
0058 SEND_VAL_EX string("@replaceableSettings") 1
0059 CHECK_FUNC_ARG 2
0060 V10 = FETCH_OBJ_FUNC_ARG (ref) THIS string("settings")
0061 SEND_FUNC_ARG V10 2
0062 V10 = DO_FCALL_BY_NAME
0063 JMPZ V10 0081
0064 T10 = FETCH_OBJ_R THIS string("settings")
0065 T11 = FETCH_DIM_R T10 string("@replaceableSettings")
0066 V10 = FE_RESET_R T11 0079
0067 FE_FETCH_R V10 CV7($varname) 0079
0068 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Config\\array_key_exists")
0069 SEND_VAR_EX CV7($varname) 1
0070 SEND_VAR_EX CV5($localSettings) 2
0071 V11 = DO_FCALL_BY_NAME
0072 JMPZ V11 0067
0073 INIT_METHOD_CALL 2 THIS string("doReplacements")
0074 V11 = FETCH_DIM_W CV5($localSettings) CV7($varname)
0075 SEND_REF V11 1
0076 SEND_VAR CV9($replacements) 2
0077 DO_UCALL
0078 JMP 0067
0079 FE_FREE V10
0080 RETURN CV5($localSettings)
0081 V10 = FE_RESET_RW CV5($localSettings) 0088
0082 FE_FETCH_RW V10 CV8($value) 0088
0083 INIT_METHOD_CALL 2 THIS string("doReplacements")
0084 SEND_REF CV8($value) 1
0085 SEND_VAR CV9($replacements) 2
0086 DO_UCALL
0087 JMP 0082
0088 FE_FREE V10
0089 RETURN CV5($localSettings)
LIVE RANGES:
10: 0015 - 0055 (loop)
10: 0067 - 0079 (loop)
10: 0082 - 0088 (loop)
MediaWiki\Config\SiteConfiguration::getBool:
; (lines=13, args=4, vars=4, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/config/SiteConfiguration.php:359-361
0000 CV0($setting) = RECV 1
0001 CV1($wiki) = RECV 2
0002 CV2($site) = RECV_INIT 3 null
0003 CV3($wikiTags) = RECV_INIT 4 array(...)
0004 INIT_METHOD_CALL 5 THIS string("get")
0005 SEND_VAR CV0($setting) 1
0006 SEND_VAR CV1($wiki) 2
0007 SEND_VAR CV2($site) 3
0008 SEND_VAL array(...) 4
0009 SEND_VAR CV3($wikiTags) 5
0010 V5 = DO_FCALL
0011 T4 = BOOL V5
0012 RETURN T4
MediaWiki\Config\SiteConfiguration::getLocalDatabases:
; (lines=2, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/config/SiteConfiguration.php:368-370
0000 T0 = FETCH_OBJ_R THIS string("wikis")
0001 RETURN T0
MediaWiki\Config\SiteConfiguration::extractVar:
; (lines=22, args=6, vars=7, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/config/SiteConfiguration.php:383-396
0000 CV0($setting) = RECV 1
0001 CV1($wiki) = RECV 2
0002 CV2($site) = RECV 3
0003 CV3($var) = RECV 4
0004 CV4($params) = RECV_INIT 5 array(...)
0005 CV5($wikiTags) = RECV_INIT 6 array(...)
0006 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Config\\wfDeprecated")
0007 SEND_VAL_EX string("MediaWiki\\Config\\SiteConfiguration::extractVar") 1
0008 SEND_VAL_EX string("1.41") 2
0009 DO_FCALL_BY_NAME
0010 INIT_METHOD_CALL 5 THIS string("get")
0011 SEND_VAR CV0($setting) 1
0012 SEND_VAR CV1($wiki) 2
0013 SEND_VAR CV2($site) 3
0014 SEND_VAR CV4($params) 4
0015 SEND_VAR CV5($wikiTags) 5
0016 V7 = DO_FCALL
0017 CV6($value) = QM_ASSIGN V7
0018 T7 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] CV6($value)
0019 JMPZ T7 0021
0020 ASSIGN CV3($var) CV6($value)
0021 RETURN null
MediaWiki\Config\SiteConfiguration::extractGlobal:
; (lines=22, args=5, vars=5, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/config/SiteConfiguration.php:408-418
0000 CV0($setting) = RECV 1
0001 CV1($wiki) = RECV 2
0002 CV2($site) = RECV_INIT 3 null
0003 CV3($params) = RECV_INIT 4 array(...)
0004 CV4($wikiTags) = RECV_INIT 5 array(...)
0005 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Config\\wfDeprecated")
0006 SEND_VAL_EX string("MediaWiki\\Config\\SiteConfiguration::extractGlobal") 1
0007 SEND_VAL_EX string("1.41") 2
0008 DO_FCALL_BY_NAME
0009 INIT_METHOD_CALL 4 THIS string("mergeParams")
0010 SEND_VAR CV1($wiki) 1
0011 SEND_VAR CV2($site) 2
0012 SEND_VAR CV3($params) 3
0013 SEND_VAR CV4($wikiTags) 4
0014 V5 = DO_FCALL
0015 ASSIGN CV3($params) V5
0016 INIT_METHOD_CALL 3 THIS string("extractGlobalSetting")
0017 SEND_VAR CV0($setting) 1
0018 SEND_VAR CV1($wiki) 2
0019 SEND_VAR CV3($params) 3
0020 DO_FCALL
0021 RETURN null
MediaWiki\Config\SiteConfiguration::extractGlobalSetting:
; (lines=89, args=3, vars=5, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/config/SiteConfiguration.php:425-445
0000 CV0($setting) = RECV 1
0001 CV1($wiki) = RECV 2
0002 CV2($params) = RECV 3
0003 T5 = FETCH_OBJ_IS THIS string("settings")
0004 T6 = FETCH_DIM_IS T5 CV0($setting)
0005 T5 = COALESCE T6 0007
0006 T5 = QM_ASSIGN null
0007 CV3($overrides) = QM_ASSIGN T5
0008 JMPZ CV3($overrides) 0017
0009 INIT_METHOD_CALL 3 THIS string("processSetting")
0010 SEND_VAR CV3($overrides) 1
0011 SEND_VAR CV1($wiki) 2
0012 T5 = FETCH_DIM_R CV2($params) string("tags")
0013 SEND_VAL T5 3
0014 V6 = DO_UCALL
0015 T5 = QM_ASSIGN V6
0016 JMP 0018
0017 T5 = QM_ASSIGN null
0018 CV4($value) = QM_ASSIGN T5
0019 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Config\\array_key_exists")
0020 SEND_VAL_EX string("@replaceableSettings") 1
0021 CHECK_FUNC_ARG 2
0022 V5 = FETCH_OBJ_FUNC_ARG (ref) THIS string("settings")
0023 SEND_FUNC_ARG V5 2
0024 V5 = DO_FCALL_BY_NAME
0025 JMPZ V5 0039
0026 JMP_FRAMELESS 56 string("mediawiki\\config\\in_array") 0035
0027 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Config\\in_array")
0028 SEND_VAR_EX CV0($setting) 1
0029 CHECK_FUNC_ARG 2
0030 V6 = FETCH_OBJ_FUNC_ARG THIS string("settings")
0031 V5 = FETCH_DIM_FUNC_ARG V6 string("@replaceableSettings")
0032 SEND_FUNC_ARG V5 2
0033 V5 = DO_FCALL_BY_NAME
0034 JMP 0038
0035 T7 = FETCH_OBJ_R THIS string("settings")
0036 T6 = FETCH_DIM_R T7 string("@replaceableSettings")
0037 V5 = FRAMELESS_ICALL_2(in_array) CV0($setting) T6
0038 JMPZ V5 0044
0039 INIT_METHOD_CALL 2 THIS string("doReplacements")
0040 SEND_REF CV4($value) 1
0041 T5 = FETCH_DIM_R CV2($params) string("replacements")
0042 SEND_VAL T5 2
0043 DO_UCALL
0044 T5 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] CV4($value)
0045 JMPZ T5 0088
0046 JMP_FRAMELESS 88 string("mediawiki\\config\\substr") 0053
0047 INIT_NS_FCALL_BY_NAME 3 string("MediaWiki\\Config\\substr")
0048 SEND_VAR_EX CV0($setting) 1
0049 SEND_VAL_EX int(0) 2
0050 SEND_VAL_EX int(1) 3
0051 V6 = DO_FCALL_BY_NAME
0052 JMP 0055
0053 V6 = FRAMELESS_ICALL_3(substr) CV0($setting) int(0)
0054 OP_DATA int(1)
0055 T5 = IS_EQUAL V6 string("+")
0056 JMPZ T5 0086
0057 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Config\\is_array")
0058 SEND_VAR_EX CV4($value) 1
0059 V5 = DO_FCALL_BY_NAME
0060 JMPZ V5 0086
0061 JMP_FRAMELESS 112 string("mediawiki\\config\\substr") 0067
0062 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Config\\substr")
0063 SEND_VAR_EX CV0($setting) 1
0064 SEND_VAL_EX int(1) 2
0065 V5 = DO_FCALL_BY_NAME
0066 JMP 0068
0067 V5 = FRAMELESS_ICALL_2(substr) CV0($setting) int(1)
0068 ASSIGN CV0($setting) V5
0069 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Config\\is_array")
0070 CHECK_FUNC_ARG 1
0071 V5 = FETCH_FUNC_ARG (global) CV0($setting)
0072 SEND_FUNC_ARG V5 1
0073 V5 = DO_FCALL_BY_NAME
0074 JMPZ V5 0083
0075 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("arrayMerge")
0076 V5 = FETCH_R (global) CV0($setting)
0077 SEND_VAR V5 1
0078 SEND_VAR CV4($value) 2
0079 V6 = DO_FCALL
0080 V5 = FETCH_W (global) CV0($setting)
0081 ASSIGN V5 V6
0082 RETURN null
0083 V5 = FETCH_W (global) CV0($setting)
0084 ASSIGN V5 CV4($value)
0085 RETURN null
0086 V5 = FETCH_W (global) CV0($setting)
0087 ASSIGN V5 CV4($value)
0088 RETURN null
LIVE RANGES:
6: 0054 - 0055 (tmp/var)
6: 0080 - 0081 (tmp/var)
MediaWiki\Config\SiteConfiguration::extractAllGlobals:
; (lines=23, args=4, vars=6, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/config/SiteConfiguration.php:454-464
0000 CV0($wiki) = RECV 1
0001 CV1($site) = RECV_INIT 2 null
0002 CV2($params) = RECV_INIT 3 array(...)
0003 CV3($wikiTags) = RECV_INIT 4 array(...)
0004 INIT_METHOD_CALL 4 THIS string("mergeParams")
0005 SEND_VAR CV0($wiki) 1
0006 SEND_VAR CV1($site) 2
0007 SEND_VAR CV2($params) 3
0008 SEND_VAR CV3($wikiTags) 4
0009 V6 = DO_FCALL
0010 ASSIGN CV2($params) V6
0011 T7 = FETCH_OBJ_R THIS string("settings")
0012 V6 = FE_RESET_R T7 0021
0013 T7 = FE_FETCH_R V6 CV4($setting) 0021
0014 ASSIGN CV5($varName) T7
0015 INIT_METHOD_CALL 3 THIS string("extractGlobalSetting")
0016 SEND_VAR CV5($varName) 1
0017 SEND_VAR CV0($wiki) 2
0018 SEND_VAR CV2($params) 3
0019 DO_FCALL
0020 JMP 0013
0021 FE_FREE V6
0022 RETURN null
LIVE RANGES:
6: 0013 - 0021 (loop)
MediaWiki\Config\SiteConfiguration::getWikiParams:
; (lines=41, args=1, vars=5, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/config/SiteConfiguration.php:474-499
0000 CV0($wiki) = RECV 1
0001 BIND_STATIC (ref) CV1($default)
0002 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Config\\is_callable")
0003 CHECK_FUNC_ARG 1
0004 V5 = FETCH_OBJ_FUNC_ARG (ref) THIS string("siteParamsCallback")
0005 SEND_FUNC_ARG V5 1
0006 V5 = DO_FCALL_BY_NAME
0007 JMPNZ V5 0009
0008 RETURN CV1($default)
0009 T5 = FETCH_OBJ_R THIS string("siteParamsCallback")
0010 INIT_DYNAMIC_CALL 2 T5
0011 V5 = FETCH_THIS
0012 SEND_VAR_EX V5 1
0013 SEND_VAR_EX CV0($wiki) 2
0014 V5 = DO_FCALL
0015 CV2($ret) = QM_ASSIGN V5
0016 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Config\\is_array")
0017 SEND_VAR_EX CV2($ret) 1
0018 V5 = DO_FCALL_BY_NAME
0019 JMPNZ V5 0021
0020 RETURN CV1($default)
0021 V5 = FE_RESET_R CV1($default) 0039
0022 T6 = FE_FETCH_R V5 CV3($def) 0039
0023 ASSIGN CV4($name) T6
0024 T6 = ISSET_ISEMPTY_DIM_OBJ (isset) CV2($ret) CV4($name)
0025 JMPZ T6 0036
0026 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Config\\is_array")
0027 SEND_VAR_EX CV3($def) 1
0028 V6 = DO_FCALL_BY_NAME
0029 JMPZ V6 0022
0030 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Config\\is_array")
0031 CHECK_FUNC_ARG 1
0032 V6 = FETCH_DIM_FUNC_ARG CV2($ret) CV4($name)
0033 SEND_FUNC_ARG V6 1
0034 V6 = DO_FCALL_BY_NAME
0035 JMPNZ V6 0022
0036 ASSIGN_DIM CV2($ret) CV4($name)
0037 OP_DATA CV3($def)
0038 JMP 0022
0039 FE_FREE V5
0040 RETURN CV2($ret)
LIVE RANGES:
5: 0022 - 0039 (loop)
MediaWiki\Config\SiteConfiguration::mergeParams:
; (lines=62, args=4, vars=7, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/config/SiteConfiguration.php:513-545
0000 CV0($wiki) = RECV 1
0001 CV1($site) = RECV 2
0002 CV2($params) = RECV 3
0003 CV3($wikiTags) = RECV 4
0004 INIT_METHOD_CALL 1 THIS string("getWikiParams")
0005 SEND_VAR CV0($wiki) 1
0006 V7 = DO_FCALL
0007 CV4($ret) = QM_ASSIGN V7
0008 T8 = FETCH_DIM_IS CV4($ret) string("suffix")
0009 T7 = COALESCE T8 0012
0010 T7 = ASSIGN_DIM CV4($ret) string("suffix")
0011 OP_DATA CV1($site)
0012 FREE T7
0013 T7 = FETCH_DIM_R CV4($ret) string("suffix")
0014 ASSIGN_DIM CV3($wikiTags) NEXT
0015 OP_DATA T7
0016 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Config\\array_unique")
0017 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Config\\array_merge")
0018 CHECK_FUNC_ARG 1
0019 V7 = FETCH_DIM_FUNC_ARG CV4($ret) string("tags")
0020 SEND_FUNC_ARG V7 1
0021 SEND_VAR_EX CV3($wikiTags) 2
0022 V7 = DO_FCALL_BY_NAME
0023 SEND_VAR_NO_REF_EX V7 1
0024 V7 = DO_FCALL_BY_NAME
0025 ASSIGN_DIM CV4($ret) string("tags")
0026 OP_DATA V7
0027 ASSIGN_DIM_OP (ADD) CV4($ret) string("params")
0028 OP_DATA CV2($params)
0029 T8 = FETCH_DIM_IS CV4($ret) string("params")
0030 T7 = ISSET_ISEMPTY_DIM_OBJ (isset) T8 string("lang")
0031 JMPNZ T7 0039
0032 T8 = FETCH_DIM_R CV4($ret) string("lang")
0033 T7 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] T8
0034 JMPZ T7 0039
0035 T7 = FETCH_DIM_R CV4($ret) string("lang")
0036 V8 = FETCH_DIM_W CV4($ret) string("params")
0037 ASSIGN_DIM V8 string("lang")
0038 OP_DATA T7
0039 T8 = FETCH_DIM_IS CV4($ret) string("params")
0040 T7 = ISSET_ISEMPTY_DIM_OBJ (isset) T8 string("site")
0041 JMPNZ T7 0049
0042 T8 = FETCH_DIM_R CV4($ret) string("suffix")
0043 T7 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] T8
0044 JMPZ T7 0049
0045 T7 = FETCH_DIM_R CV4($ret) string("suffix")
0046 V8 = FETCH_DIM_W CV4($ret) string("params")
0047 ASSIGN_DIM V8 string("site")
0048 OP_DATA T7
0049 ASSIGN_DIM CV4($ret) string("replacements")
0050 OP_DATA array(...)
0051 T8 = FETCH_DIM_R CV4($ret) string("params")
0052 V7 = FE_RESET_R T8 0060
0053 T8 = FE_FETCH_R V7 CV5($value) 0060
0054 ASSIGN CV6($key) T8
0055 T9 = CONCAT string("$") CV6($key)
0056 V8 = FETCH_DIM_W CV4($ret) string("replacements")
0057 ASSIGN_DIM V8 T9
0058 OP_DATA CV5($value)
0059 JMP 0053
0060 FE_FREE V7
0061 RETURN CV4($ret)
LIVE RANGES:
7: 0011 - 0012 (tmp/var)
7: 0036 - 0037 (tmp/var)
7: 0046 - 0047 (tmp/var)
7: 0053 - 0060 (loop)
9: 0056 - 0057 (tmp/var)
MediaWiki\Config\SiteConfiguration::siteFromDB:
; (lines=73, args=1, vars=6, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/config/SiteConfiguration.php:553-572
0000 CV0($wiki) = RECV 1
0001 INIT_METHOD_CALL 1 THIS string("getWikiParams")
0002 SEND_VAR CV0($wiki) 1
0003 V6 = DO_FCALL
0004 CV1($def) = QM_ASSIGN V6
0005 T7 = FETCH_DIM_R CV1($def) string("suffix")
0006 T6 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] T7
0007 JMPZ T6 0016
0008 T7 = FETCH_DIM_R CV1($def) string("lang")
0009 T6 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] T7
0010 JMPZ T6 0016
0011 T7 = FETCH_DIM_R CV1($def) string("suffix")
0012 T6 = INIT_ARRAY 2 (packed) T7 NEXT
0013 T7 = FETCH_DIM_R CV1($def) string("lang")
0014 T6 = ADD_ARRAY_ELEMENT T7 NEXT
0015 RETURN T6
0016 JMP_FRAMELESS 24 string("mediawiki\\config\\str_replace") 0023
0017 INIT_NS_FCALL_BY_NAME 3 string("MediaWiki\\Config\\str_replace")
0018 SEND_VAL_EX string("_") 1
0019 SEND_VAL_EX string("-") 2
0020 SEND_VAR_EX CV0($wiki) 3
0021 V6 = DO_FCALL_BY_NAME
0022 JMP 0025
0023 V6 = FRAMELESS_ICALL_3(str_replace) string("_") string("-")
0024 OP_DATA CV0($wiki)
0025 CV2($languageCode) = QM_ASSIGN V6
0026 T7 = FETCH_OBJ_R THIS string("suffixes")
0027 V6 = FE_RESET_R T7 0071
0028 T7 = FE_FETCH_R V6 CV3($suffix) 0071
0029 ASSIGN CV4($altSite) T7
0030 T7 = IS_IDENTICAL CV3($suffix) string("")
0031 JMPZ T7 0036
0032 T7 = INIT_ARRAY 2 (packed) string("") NEXT
0033 T7 = ADD_ARRAY_ELEMENT CV2($languageCode) NEXT
0034 FE_FREE V6
0035 RETURN T7
0036 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Config\\str_ends_with")
0037 SEND_VAR_EX CV0($wiki) 1
0038 SEND_VAR_EX CV3($suffix) 2
0039 V7 = DO_FCALL_BY_NAME
0040 JMPZ V7 0028
0041 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Config\\is_string")
0042 SEND_VAR_EX CV4($altSite) 1
0043 V7 = DO_FCALL_BY_NAME
0044 JMPZ V7 0047
0045 T7 = QM_ASSIGN CV4($altSite)
0046 JMP 0048
0047 T7 = QM_ASSIGN CV3($suffix)
0048 CV5($site) = QM_ASSIGN T7
0049 JMP_FRAMELESS 80 string("mediawiki\\config\\substr") 0060
0050 INIT_NS_FCALL_BY_NAME 3 string("MediaWiki\\Config\\substr")
0051 SEND_VAR_EX CV2($languageCode) 1
0052 SEND_VAL_EX int(0) 2
0053 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Config\\strlen")
0054 SEND_VAR_EX CV3($suffix) 1
0055 V8 = DO_FCALL_BY_NAME
0056 T7 = MUL V8 int(-1)
0057 SEND_VAL_EX T7 3
0058 V7 = DO_FCALL_BY_NAME
0059 JMP 0066
0060 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Config\\strlen")
0061 SEND_VAR_EX CV3($suffix) 1
0062 V9 = DO_FCALL_BY_NAME
0063 T8 = MUL V9 int(-1)
0064 V7 = FRAMELESS_ICALL_3(substr) CV2($languageCode) int(0)
0065 OP_DATA T8
0066 ASSIGN CV2($languageCode) V7
0067 T7 = INIT_ARRAY 2 (packed) CV5($site) NEXT
0068 T7 = ADD_ARRAY_ELEMENT CV2($languageCode) NEXT
0069 FE_FREE V6
0070 RETURN T7
0071 FE_FREE V6
0072 RETURN array(...)
LIVE RANGES:
6: 0013 - 0015 (tmp/var)
6: 0024 - 0025 (tmp/var)
6: 0028 - 0071 (loop)
7: 0033 - 0035 (tmp/var)
7: 0065 - 0066 (tmp/var)
7: 0068 - 0070 (tmp/var)
MediaWiki\Config\SiteConfiguration::arrayMerge:
; (lines=47, args=2, vars=5, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/config/SiteConfiguration.php:584-614
0000 CV0($array1) = RECV 1
0001 CV1($array2) = RECV 2
0002 CV2($out) = QM_ASSIGN CV0($array1)
0003 V5 = FE_RESET_R CV1($array2) 0045
0004 T6 = FE_FETCH_R V5 CV3($value) 0045
0005 ASSIGN CV4($key) T6
0006 T6 = ISSET_ISEMPTY_DIM_OBJ (isset) CV2($out) CV4($key)
0007 JMPZ T6 0042
0008 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Config\\is_array")
0009 CHECK_FUNC_ARG 1
0010 V6 = FETCH_DIM_FUNC_ARG CV2($out) CV4($key)
0011 SEND_FUNC_ARG V6 1
0012 V6 = DO_FCALL_BY_NAME
0013 JMPZ V6 0026
0014 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Config\\is_array")
0015 SEND_VAR_EX CV3($value) 1
0016 V6 = DO_FCALL_BY_NAME
0017 JMPZ V6 0026
0018 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("arrayMerge")
0019 T6 = FETCH_DIM_R CV2($out) CV4($key)
0020 SEND_VAL T6 1
0021 SEND_VAR CV3($value) 2
0022 V6 = DO_UCALL
0023 ASSIGN_DIM CV2($out) CV4($key)
0024 OP_DATA V6
0025 JMP 0004
0026 JMP_FRAMELESS 32 string("mediawiki\\config\\is_numeric") 0031
0027 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Config\\is_numeric")
0028 SEND_VAR_EX CV4($key) 1
0029 V6 = DO_FCALL_BY_NAME
0030 JMP 0032
0031 V6 = FRAMELESS_ICALL_1(is_numeric) CV4($key)
0032 JMPZ V6 0036
0033 ASSIGN_DIM CV2($out) NEXT
0034 OP_DATA CV3($value)
0035 JMP 0004
0036 T7 = FETCH_DIM_R CV2($out) CV4($key)
0037 T6 = TYPE_CHECK (false) T7
0038 JMPZ T6 0004
0039 ASSIGN_DIM CV2($out) CV4($key)
0040 OP_DATA CV3($value)
0041 JMP 0004
0042 ASSIGN_DIM CV2($out) CV4($key)
0043 OP_DATA CV3($value)
0044 JMP 0004
0045 FE_FREE V5
0046 RETURN CV2($out)
LIVE RANGES:
5: 0004 - 0045 (loop)
MediaWiki\Config\SiteConfiguration::loadFullData:
; (lines=12, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/config/SiteConfiguration.php:616-621
0000 T0 = FETCH_OBJ_R THIS string("fullLoadCallback")
0001 JMPZ T0 0011
0002 T0 = FETCH_OBJ_R THIS string("fullLoadDone")
0003 JMPNZ T0 0011
0004 T0 = FETCH_OBJ_R THIS string("fullLoadCallback")
0005 INIT_DYNAMIC_CALL 1 T0
0006 V0 = FETCH_THIS
0007 SEND_VAR_EX V0 1
0008 DO_FCALL
0009 ASSIGN_OBJ THIS string("fullLoadDone")
0010 OP_DATA bool(true)
0011 RETURN null
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:1-857
0000 RETURN int(1)
MediaWiki\Settings\SettingsBuilder::getInstance:
; (lines=25, args=0, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:146-168
0000 BIND_STATIC (ref) CV0($instance)
0001 T1 = FETCH_STATIC_PROP_R string("accessDisabledForUnitTests") (self) (exception)
0002 JMPZ T1 0007
0003 V1 = NEW 1 string("RuntimeException")
0004 SEND_VAL_EX string("Access is disabled in unit tests") 1
0005 DO_FCALL
0006 THROW V1
0007 JMPNZ CV0($instance) 0023
0008 V1 = NEW 4 string("MediaWiki\\Settings\\SettingsBuilder")
0009 T2 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Settings\\MW_INSTALL_PATH")
0010 SEND_VAL T2 1
0011 INIT_STATIC_METHOD_CALL 0 string("ExtensionRegistry") string("getInstance")
0012 V2 = DO_FCALL
0013 SEND_VAR V2 2
0014 V2 = NEW 1 string("MediaWiki\\Settings\\Config\\GlobalConfigBuilder")
0015 SEND_VAL_EX string("wg") 1
0016 DO_FCALL
0017 SEND_VAR V2 3
0018 V2 = NEW 0 string("MediaWiki\\Settings\\Config\\PhpIniSink")
0019 DO_FCALL
0020 SEND_VAR V2 4
0021 DO_FCALL
0022 ASSIGN CV0($instance) V1
0023 VERIFY_RETURN_TYPE CV0($instance)
0024 RETURN CV0($instance)
LIVE RANGES:
1: 0004 - 0006 (new)
1: 0009 - 0022 (new)
2: 0015 - 0017 (new)
2: 0019 - 0020 (new)
MediaWiki\Settings\SettingsBuilder::disableAccessForUnitTests:
; (lines=11, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:173-178
0000 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\defined")
0001 SEND_VAL_EX string("MW_PHPUNIT_TEST") 1
0002 V0 = DO_FCALL_BY_NAME
0003 JMPNZ V0 0008
0004 V0 = NEW 1 string("RuntimeException")
0005 SEND_VAL_EX string("Can only be called in tests") 1
0006 DO_FCALL
0007 THROW V0
0008 ASSIGN_STATIC_PROP string("accessDisabledForUnitTests")
0009 OP_DATA bool(true)
0010 RETURN null
LIVE RANGES:
0: 0005 - 0007 (new)
MediaWiki\Settings\SettingsBuilder::enableAccessAfterUnitTests:
; (lines=11, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:183-188
0000 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\defined")
0001 SEND_VAL_EX string("MW_PHPUNIT_TEST") 1
0002 V0 = DO_FCALL_BY_NAME
0003 JMPNZ V0 0008
0004 V0 = NEW 1 string("RuntimeException")
0005 SEND_VAL_EX string("Can only be called in tests") 1
0006 DO_FCALL
0007 THROW V0
0008 ASSIGN_STATIC_PROP string("accessDisabledForUnitTests")
0009 OP_DATA bool(false)
0010 RETURN null
LIVE RANGES:
0: 0005 - 0007 (new)
MediaWiki\Settings\SettingsBuilder::__construct:
; (lines=32, args=5, vars=5, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:200-219
0000 CV0($baseDir) = RECV 1
0001 CV1($extensionRegistry) = RECV 2
0002 CV2($configSink) = RECV 3
0003 CV3($phpIniSink) = RECV 4
0004 CV4($cache) = RECV_INIT 5 null
0005 ASSIGN_OBJ THIS string("baseDir")
0006 OP_DATA CV0($baseDir)
0007 ASSIGN_OBJ THIS string("extensionRegistry")
0008 OP_DATA CV1($extensionRegistry)
0009 ASSIGN_OBJ THIS string("cache")
0010 OP_DATA CV4($cache)
0011 ASSIGN_OBJ THIS string("configSink")
0012 OP_DATA CV2($configSink)
0013 ASSIGN_OBJ THIS string("obsoleteConfig")
0014 OP_DATA array(...)
0015 V5 = NEW 0 string("MediaWiki\\Settings\\Config\\ConfigSchemaAggregator")
0016 DO_FCALL
0017 ASSIGN_OBJ THIS string("configSchema")
0018 OP_DATA V5
0019 ASSIGN_OBJ THIS string("phpIniSink")
0020 OP_DATA CV3($phpIniSink)
0021 T7 = FETCH_CLASS_CONSTANT string("MediaWiki\\MainConfigNames") string("ExtensionDirectory")
0022 T6 = FAST_CONCAT CV0($baseDir) string("/extensions")
0023 T5 = INIT_ARRAY 2 (packed) T6 T7
0024 T7 = FETCH_CLASS_CONSTANT string("MediaWiki\\MainConfigNames") string("StyleDirectory")
0025 T6 = FAST_CONCAT CV0($baseDir) string("/skins")
0026 T5 = ADD_ARRAY_ELEMENT T6 T7
0027 ASSIGN_OBJ THIS string("settingsConfig")
0028 OP_DATA T5
0029 INIT_METHOD_CALL 0 THIS string("reset")
0030 DO_FCALL
0031 RETURN null
LIVE RANGES:
5: 0016 - 0017 (new)
7: 0022 - 0023 (tmp/var)
5: 0024 - 0027 (tmp/var)
7: 0025 - 0026 (tmp/var)
MediaWiki\Settings\SettingsBuilder::load:
; (lines=13, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:228-235
0000 CV0($source) = RECV 1
0001 INIT_METHOD_CALL 1 THIS string("assertStillLoading")
0002 SEND_VAL string("MediaWiki\\Settings\\SettingsBuilder::load") 1
0003 DO_FCALL
0004 INIT_METHOD_CALL 1 THIS string("wrapSource")
0005 SEND_VAR CV0($source) 1
0006 V1 = DO_FCALL
0007 V2 = FETCH_OBJ_W (dim write) THIS string("currentBatch")
0008 ASSIGN_DIM V2 NEXT
0009 OP_DATA V1
0010 T1 = FETCH_THIS
0011 VERIFY_RETURN_TYPE T1
0012 RETURN T1
LIVE RANGES:
1: 0007 - 0008 (tmp/var)
1: 0011 - 0012 (tmp/var)
MediaWiki\Settings\SettingsBuilder::loadArray:
; (lines=9, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:244-246
0000 CV0($newSettings) = RECV 1
0001 INIT_METHOD_CALL 1 THIS string("load")
0002 V1 = NEW 1 string("MediaWiki\\Settings\\Source\\ArraySource")
0003 SEND_VAR_EX CV0($newSettings) 1
0004 DO_FCALL
0005 SEND_VAR V1 1
0006 V1 = DO_FCALL
0007 VERIFY_RETURN_TYPE V1
0008 RETURN V1
LIVE RANGES:
1: 0003 - 0005 (new)
1: 0007 - 0008 (tmp/var)
MediaWiki\Settings\SettingsBuilder::loadArrayInternal:
; (lines=18, args=2, vars=3, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:257-264
0000 CV0($newSettings) = RECV 1
0001 CV1($func) = RECV 2
0002 INIT_METHOD_CALL 1 THIS string("assertNotReadOnly")
0003 SEND_VAR CV1($func) 1
0004 DO_FCALL
0005 V3 = NEW 1 string("MediaWiki\\Settings\\Source\\ArraySource")
0006 SEND_VAR_EX CV0($newSettings) 1
0007 DO_FCALL
0008 CV2($source) = QM_ASSIGN V3
0009 INIT_METHOD_CALL 1 THIS string("wrapSource")
0010 SEND_VAR CV2($source) 1
0011 V3 = DO_FCALL
0012 V4 = FETCH_OBJ_W (dim write) THIS string("currentBatch")
0013 ASSIGN_DIM V4 NEXT
0014 OP_DATA V3
0015 T3 = FETCH_THIS
0016 VERIFY_RETURN_TYPE T3
0017 RETURN T3
LIVE RANGES:
3: 0006 - 0008 (new)
3: 0012 - 0013 (tmp/var)
3: 0016 - 0017 (tmp/var)
MediaWiki\Settings\SettingsBuilder::loadFile:
; (lines=9, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:272-274
0000 CV0($path) = RECV 1
0001 INIT_METHOD_CALL 1 THIS string("load")
0002 INIT_METHOD_CALL 1 THIS string("makeSource")
0003 SEND_VAR CV0($path) 1
0004 V1 = DO_FCALL
0005 SEND_VAR V1 1
0006 V1 = DO_FCALL
0007 VERIFY_RETURN_TYPE V1
0008 RETURN V1
LIVE RANGES:
1: 0007 - 0008 (tmp/var)
MediaWiki\Settings\SettingsBuilder::fileExists:
; (lines=13, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:283-286
0000 CV0($path) = RECV 1
0001 INIT_STATIC_METHOD_CALL 2 string("MediaWiki\\Settings\\Source\\SettingsFileUtils") string("resolveRelativeLocation")
0002 SEND_VAR_EX CV0($path) 1
0003 CHECK_FUNC_ARG 2
0004 V1 = FETCH_OBJ_FUNC_ARG (ref) THIS string("baseDir")
0005 SEND_FUNC_ARG V1 2
0006 V1 = DO_FCALL
0007 ASSIGN CV0($path) V1
0008 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\file_exists")
0009 SEND_VAR_EX CV0($path) 1
0010 V1 = DO_FCALL_BY_NAME
0011 VERIFY_RETURN_TYPE V1
0012 RETURN V1
LIVE RANGES:
1: 0011 - 0012 (tmp/var)
MediaWiki\Settings\SettingsBuilder::wrapSource:
; (lines=15, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:293-298
0000 CV0($source) = RECV 1
0001 T2 = FETCH_OBJ_R THIS string("cache")
0002 T1 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] T2
0003 JMPZ T1 0013
0004 T1 = INSTANCEOF CV0($source) string("MediaWiki\\Settings\\Cache\\CacheableSource")
0005 JMPZ T1 0013
0006 V1 = NEW 2 string("MediaWiki\\Settings\\Cache\\CachedSource")
0007 CHECK_FUNC_ARG 1
0008 V2 = FETCH_OBJ_FUNC_ARG (ref) THIS string("cache")
0009 SEND_FUNC_ARG V2 1
0010 SEND_VAR_EX CV0($source) 2
0011 DO_FCALL
0012 ASSIGN CV0($source) V1
0013 VERIFY_RETURN_TYPE CV0($source)
0014 RETURN CV0($source)
LIVE RANGES:
1: 0007 - 0012 (new)
MediaWiki\Settings\SettingsBuilder::makeSource:
; (lines=16, args=1, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:304-311
0000 CV0($location) = RECV 1
0001 INIT_STATIC_METHOD_CALL 2 string("MediaWiki\\Settings\\Source\\SettingsFileUtils") string("resolveRelativeLocation")
0002 SEND_VAR_EX CV0($location) 1
0003 CHECK_FUNC_ARG 2
0004 V2 = FETCH_OBJ_FUNC_ARG (ref) THIS string("baseDir")
0005 SEND_FUNC_ARG V2 2
0006 V2 = DO_FCALL
0007 CV1($path) = QM_ASSIGN V2
0008 INIT_METHOD_CALL 1 THIS string("wrapSource")
0009 V2 = NEW 1 string("MediaWiki\\Settings\\Source\\FileSource")
0010 SEND_VAR_EX CV1($path) 1
0011 DO_FCALL
0012 SEND_VAR V2 1
0013 V2 = DO_UCALL
0014 VERIFY_RETURN_TYPE V2
0015 RETURN V2
LIVE RANGES:
2: 0010 - 0012 (new)
2: 0014 - 0015 (tmp/var)
MediaWiki\Settings\SettingsBuilder::validate:
; (lines=9, args=0, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:320-323
0000 INIT_METHOD_CALL 0 THIS string("getConfig")
0001 V1 = DO_FCALL
0002 CV0($config) = QM_ASSIGN V1
0003 T1 = FETCH_OBJ_R THIS string("configSchema")
0004 INIT_METHOD_CALL 1 T1 string("validateConfig")
0005 SEND_VAR_EX CV0($config) 1
0006 V1 = DO_FCALL
0007 VERIFY_RETURN_TYPE V1
0008 RETURN V1
LIVE RANGES:
1: 0007 - 0008 (tmp/var)
MediaWiki\Settings\SettingsBuilder::detectDeprecatedConfig:
; (lines=32, args=0, vars=7, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:338-358
0000 INIT_METHOD_CALL 0 THIS string("getConfig")
0001 V7 = DO_FCALL
0002 CV0($config) = QM_ASSIGN V7
0003 INIT_METHOD_CALL 0 THIS string("getDefinedConfigKeys")
0004 V7 = DO_FCALL
0005 CV1($keys) = QM_ASSIGN V7
0006 CV2($deprecated) = QM_ASSIGN array(...)
0007 V7 = FE_RESET_R CV1($keys) 0030
0008 FE_FETCH_R V7 CV3($key) 0030
0009 T8 = FETCH_OBJ_R THIS string("configSchema")
0010 INIT_METHOD_CALL 1 T8 string("getSchemaFor")
0011 SEND_VAR_EX CV3($key) 1
0012 V8 = DO_FCALL
0013 ASSIGN CV4($sch) V8
0014 T8 = ISSET_ISEMPTY_DIM_OBJ (isset) CV4($sch) string("deprecated")
0015 JMPZ T8 0008
0016 T9 = FETCH_DIM_IS CV4($sch) string("default")
0017 T8 = COALESCE T9 0019
0018 T8 = QM_ASSIGN null
0019 ASSIGN CV5($default) T8
0020 INIT_METHOD_CALL 1 CV0($config) string("get")
0021 SEND_VAR_EX CV3($key) 1
0022 V8 = DO_FCALL
0023 ASSIGN CV6($value) V8
0024 T8 = IS_NOT_IDENTICAL CV6($value) CV5($default)
0025 JMPZ T8 0008
0026 T8 = FETCH_DIM_R CV4($sch) string("deprecated")
0027 ASSIGN_DIM CV2($deprecated) CV3($key)
0028 OP_DATA T8
0029 JMP 0008
0030 FE_FREE V7
0031 RETURN CV2($deprecated)
LIVE RANGES:
7: 0008 - 0030 (loop)
MediaWiki\Settings\SettingsBuilder::detectObsoleteConfig:
; (lines=17, args=0, vars=4, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:372-383
0000 INIT_METHOD_CALL 0 THIS string("getConfig")
0001 V4 = DO_FCALL
0002 CV0($config) = QM_ASSIGN V4
0003 CV1($obsolete) = QM_ASSIGN array(...)
0004 T5 = FETCH_OBJ_R THIS string("obsoleteConfig")
0005 V4 = FE_RESET_R T5 0015
0006 T5 = FE_FETCH_R V4 CV2($msg) 0015
0007 ASSIGN CV3($key) T5
0008 INIT_METHOD_CALL 1 CV0($config) string("has")
0009 SEND_VAR_EX CV3($key) 1
0010 V5 = DO_FCALL
0011 JMPZ V5 0006
0012 ASSIGN_DIM CV1($obsolete) CV3($key)
0013 OP_DATA CV2($msg)
0014 JMP 0006
0015 FE_FREE V4
0016 RETURN CV1($obsolete)
LIVE RANGES:
4: 0006 - 0015 (loop)
MediaWiki\Settings\SettingsBuilder::getDefaultConfig:
; (lines=23, args=0, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:393-399
0000 INIT_METHOD_CALL 0 THIS string("apply")
0001 DO_FCALL
0002 T2 = FETCH_OBJ_R THIS string("configSchema")
0003 INIT_METHOD_CALL 0 T2 string("getDefaults")
0004 V2 = DO_FCALL
0005 CV0($defaults) = QM_ASSIGN V2
0006 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\array_fill_keys")
0007 T2 = FETCH_OBJ_R THIS string("configSchema")
0008 INIT_METHOD_CALL 0 T2 string("getDefinedKeys")
0009 V2 = DO_FCALL
0010 SEND_VAR_NO_REF_EX V2 1
0011 SEND_VAL_EX null 2
0012 V2 = DO_FCALL_BY_NAME
0013 CV1($nulls) = QM_ASSIGN V2
0014 V2 = NEW 1 string("MediaWiki\\Config\\HashConfig")
0015 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\array_merge")
0016 SEND_VAR_EX CV1($nulls) 1
0017 SEND_VAR_EX CV0($defaults) 2
0018 V3 = DO_FCALL_BY_NAME
0019 SEND_VAR_NO_REF_EX V3 1
0020 DO_FCALL
0021 VERIFY_RETURN_TYPE V2
0022 RETURN V2
LIVE RANGES:
2: 0015 - 0021 (new)
2: 0021 - 0022 (tmp/var)
MediaWiki\Settings\SettingsBuilder::getConfigSchema:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:408-411
0000 INIT_METHOD_CALL 0 THIS string("apply")
0001 DO_FCALL
0002 T0 = FETCH_OBJ_R THIS string("configSchema")
0003 VERIFY_RETURN_TYPE T0
0004 RETURN T0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\Settings\SettingsBuilder::getDefinedConfigKeys:
; (lines=7, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:418-421
0000 INIT_METHOD_CALL 0 THIS string("apply")
0001 DO_FCALL
0002 T0 = FETCH_OBJ_R THIS string("configSchema")
0003 INIT_METHOD_CALL 0 T0 string("getDefinedKeys")
0004 V0 = DO_FCALL
0005 VERIFY_RETURN_TYPE V0
0006 RETURN V0
LIVE RANGES:
0: 0005 - 0006 (tmp/var)
MediaWiki\Settings\SettingsBuilder::apply:
; (lines=27, args=0, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:432-449
0000 T2 = FETCH_OBJ_R THIS string("currentBatch")
0001 JMPNZ T2 0005
0002 T2 = FETCH_THIS
0003 VERIFY_RETURN_TYPE T2
0004 RETURN T2
0005 INIT_METHOD_CALL 1 THIS string("assertNotReadOnly")
0006 SEND_VAL string("MediaWiki\\Settings\\SettingsBuilder::apply") 1
0007 DO_FCALL
0008 ASSIGN_OBJ THIS string("config")
0009 OP_DATA null
0010 INIT_METHOD_CALL 1 THIS string("loadRecursive")
0011 V2 = FETCH_OBJ_R THIS string("currentBatch")
0012 SEND_VAR V2 1
0013 V2 = DO_FCALL
0014 CV0($allSettings) = QM_ASSIGN V2
0015 V2 = FE_RESET_R CV0($allSettings) 0021
0016 FE_FETCH_R V2 CV1($settings) 0021
0017 INIT_METHOD_CALL 1 THIS string("applySettings")
0018 SEND_VAR CV1($settings) 1
0019 DO_FCALL
0020 JMP 0016
0021 FE_FREE V2
0022 INIT_METHOD_CALL 0 THIS string("reset")
0023 DO_FCALL
0024 T2 = FETCH_THIS
0025 VERIFY_RETURN_TYPE T2
0026 RETURN T2
LIVE RANGES:
2: 0003 - 0004 (tmp/var)
2: 0016 - 0021 (loop)
2: 0025 - 0026 (tmp/var)
MediaWiki\Settings\SettingsBuilder::loadRecursive:
; (lines=74, args=2, vars=10, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:459-494
0000 CV0($batch) = RECV 1
0001 CV1($stack) = RECV_INIT 2 array(...)
0002 CV2($allSettings) = QM_ASSIGN array(...)
0003 V10 = FE_RESET_R CV0($batch) 0071
0004 FE_FETCH_R V10 CV3($source) 0071
0005 T11 = CAST (string) CV3($source)
0006 ASSIGN CV4($sourceName) T11
0007 JMP_FRAMELESS 8 string("mediawiki\\settings\\in_array") 0013
0008 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\in_array")
0009 SEND_VAR_EX CV4($sourceName) 1
0010 SEND_VAR_EX CV1($stack) 2
0011 V11 = DO_FCALL_BY_NAME
0012 JMP 0014
0013 V11 = FRAMELESS_ICALL_2(in_array) CV4($sourceName) CV1($stack)
0014 JMPZ V11 0027
0015 V11 = NEW 1 string("MediaWiki\\Settings\\SettingsBuilderException")
0016 JMP_FRAMELESS 32 string("mediawiki\\settings\\implode") 0022
0017 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\implode")
0018 SEND_VAL_EX string(", ") 1
0019 SEND_VAR_EX CV1($stack) 2
0020 V13 = DO_FCALL_BY_NAME
0021 JMP 0023
0022 V13 = FRAMELESS_ICALL_2(implode) string(", ") CV1($stack)
0023 T12 = CONCAT string("Recursive include chain detected: ") V13
0024 SEND_VAL_EX T12 1
0025 DO_FCALL
0026 THROW V11
0027 INIT_METHOD_CALL 0 CV3($source) string("load")
0028 V11 = DO_FCALL
0029 ASSIGN CV5($settings) V11
0030 ASSIGN_DIM CV5($settings) string("source-name")
0031 OP_DATA CV4($sourceName)
0032 ASSIGN_DIM CV2($allSettings) NEXT
0033 OP_DATA CV5($settings)
0034 ASSIGN CV6($nextBatch) array(...)
0035 T11 = FETCH_DIM_IS CV5($settings) string("includes")
0036 T12 = COALESCE T11 0038
0037 T12 = QM_ASSIGN array(...)
0038 V11 = FE_RESET_R T12 0052
0039 FE_FETCH_R V11 CV7($location) 0052
0040 T12 = INSTANCEOF CV3($source) string("MediaWiki\\Settings\\Source\\SettingsIncludeLocator")
0041 JMPZ T12 0046
0042 INIT_METHOD_CALL 1 CV3($source) string("locateInclude")
0043 SEND_VAR_EX CV7($location) 1
0044 V12 = DO_FCALL
0045 ASSIGN CV7($location) V12
0046 INIT_METHOD_CALL 1 THIS string("makeSource")
0047 SEND_VAR CV7($location) 1
0048 V12 = DO_UCALL
0049 ASSIGN_DIM CV6($nextBatch) NEXT
0050 OP_DATA V12
0051 JMP 0039
0052 FE_FREE V11
0053 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\array_merge")
0054 SEND_VAR_EX CV1($stack) 1
0055 T12 = FETCH_DIM_R CV5($settings) string("source-name")
0056 T11 = INIT_ARRAY 1 (packed) T12 NEXT
0057 SEND_VAL_EX T11 2
0058 V11 = DO_FCALL_BY_NAME
0059 ASSIGN CV8($nextStack) V11
0060 INIT_METHOD_CALL 2 THIS string("loadRecursive")
0061 SEND_VAR CV6($nextBatch) 1
0062 SEND_VAR CV8($nextStack) 2
0063 V11 = DO_UCALL
0064 ASSIGN CV9($nextSettings) V11
0065 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\array_merge")
0066 SEND_VAR_EX CV2($allSettings) 1
0067 SEND_VAR_EX CV9($nextSettings) 2
0068 V11 = DO_FCALL_BY_NAME
0069 ASSIGN CV2($allSettings) V11
0070 JMP 0004
0071 FE_FREE V10
0072 VERIFY_RETURN_TYPE CV2($allSettings)
0073 RETURN CV2($allSettings)
LIVE RANGES:
10: 0004 - 0071 (loop)
11: 0016 - 0026 (new)
11: 0039 - 0052 (loop)
MediaWiki\Settings\SettingsBuilder::updateSettingsConfig:
; (lines=15, args=1, vars=3, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:503-512
0000 CV0($config) = RECV 1
0001 T4 = FETCH_OBJ_R THIS string("settingsConfig")
0002 V3 = FE_RESET_R T4 0012
0003 T4 = FE_FETCH_R V3 CV1($dummy) 0012
0004 ASSIGN CV2($key) T4
0005 T4 = ARRAY_KEY_EXISTS CV2($key) CV0($config)
0006 JMPZ T4 0003
0007 T4 = FETCH_DIM_R CV0($config) CV2($key)
0008 V5 = FETCH_OBJ_W (dim write) THIS string("settingsConfig")
0009 ASSIGN_DIM V5 CV2($key)
0010 OP_DATA T4
0011 JMP 0003
0012 FE_FREE V3
0013 VERIFY_RETURN_TYPE CV2($key)
0014 RETURN CV2($key)
LIVE RANGES:
3: 0003 - 0012 (loop)
4: 0008 - 0009 (tmp/var)
MediaWiki\Settings\SettingsBuilder::assumeDirtyConfig:
; (lines=4, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:529-532
0000 ASSIGN_OBJ THIS string("defaultsNeedMerging")
0001 OP_DATA bool(true)
0002 T0 = FETCH_THIS
0003 RETURN T0
MediaWiki\Settings\SettingsBuilder::applySchemas:
; (lines=90, args=1, vars=5, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:546-586
0000 CV0($settings) = RECV 1
0001 CV1($defaults) = QM_ASSIGN array(...)
0002 T5 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($settings) string("config-schema-inverse")
0003 JMPZ T5 0049
0004 T5 = FETCH_DIM_IS CV0($settings) string("config-schema-inverse")
0005 T6 = FETCH_DIM_IS T5 string("default")
0006 T5 = COALESCE T6 0008
0007 T5 = QM_ASSIGN array(...)
0008 ASSIGN CV1($defaults) T5
0009 T5 = FETCH_OBJ_R THIS string("configSchema")
0010 INIT_METHOD_CALL 2 T5 string("addDefaults")
0011 SEND_VAR_EX CV1($defaults) 1
0012 CHECK_FUNC_ARG 2
0013 V5 = FETCH_DIM_FUNC_ARG CV0($settings) string("source-name")
0014 SEND_FUNC_ARG V5 2
0015 DO_FCALL
0016 T5 = FETCH_OBJ_R THIS string("configSchema")
0017 INIT_METHOD_CALL 2 T5 string("addMergeStrategies")
0018 T5 = FETCH_DIM_IS CV0($settings) string("config-schema-inverse")
0019 T6 = FETCH_DIM_IS T5 string("mergeStrategy")
0020 T5 = COALESCE T6 0022
0021 T5 = QM_ASSIGN array(...)
0022 SEND_VAL_EX T5 1
0023 CHECK_FUNC_ARG 2
0024 V5 = FETCH_DIM_FUNC_ARG CV0($settings) string("source-name")
0025 SEND_FUNC_ARG V5 2
0026 DO_FCALL
0027 T5 = FETCH_OBJ_R THIS string("configSchema")
0028 INIT_METHOD_CALL 2 T5 string("addTypes")
0029 T5 = FETCH_DIM_IS CV0($settings) string("config-schema-inverse")
0030 T6 = FETCH_DIM_IS T5 string("type")
0031 T5 = COALESCE T6 0033
0032 T5 = QM_ASSIGN array(...)
0033 SEND_VAL_EX T5 1
0034 CHECK_FUNC_ARG 2
0035 V5 = FETCH_DIM_FUNC_ARG CV0($settings) string("source-name")
0036 SEND_FUNC_ARG V5 2
0037 DO_FCALL
0038 T5 = FETCH_OBJ_R THIS string("configSchema")
0039 INIT_METHOD_CALL 2 T5 string("addDynamicDefaults")
0040 T5 = FETCH_DIM_IS CV0($settings) string("config-schema-inverse")
0041 T6 = FETCH_DIM_IS T5 string("dynamicDefault")
0042 T5 = COALESCE T6 0044
0043 T5 = QM_ASSIGN array(...)
0044 SEND_VAL_EX T5 1
0045 CHECK_FUNC_ARG 2
0046 V5 = FETCH_DIM_FUNC_ARG CV0($settings) string("source-name")
0047 SEND_FUNC_ARG V5 2
0048 DO_FCALL
0049 T5 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($settings) string("config-schema")
0050 JMPZ T5 0073
0051 T6 = FETCH_DIM_R CV0($settings) string("config-schema")
0052 V5 = FE_RESET_R T6 0072
0053 T6 = FE_FETCH_R V5 CV2($schema) 0072
0054 ASSIGN CV3($key) T6
0055 T6 = FETCH_OBJ_R THIS string("configSchema")
0056 INIT_METHOD_CALL 2 T6 string("addSchema")
0057 SEND_VAR_EX CV3($key) 1
0058 SEND_VAR_EX CV2($schema) 2
0059 DO_FCALL
0060 T6 = FETCH_OBJ_R THIS string("configSchema")
0061 INIT_METHOD_CALL 1 T6 string("hasDefaultFor")
0062 SEND_VAR_EX CV3($key) 1
0063 V6 = DO_FCALL
0064 JMPZ V6 0053
0065 T6 = FETCH_OBJ_R THIS string("configSchema")
0066 INIT_METHOD_CALL 1 T6 string("getDefaultFor")
0067 SEND_VAR_EX CV3($key) 1
0068 V6 = DO_FCALL
0069 ASSIGN_DIM CV1($defaults) CV3($key)
0070 OP_DATA V6
0071 JMP 0053
0072 FE_FREE V5
0073 T5 = FETCH_OBJ_R THIS string("defaultsNeedMerging")
0074 JMPZ T5 0085
0075 T5 = FETCH_OBJ_R THIS string("configSchema")
0076 INIT_METHOD_CALL 0 T5 string("getMergeStrategies")
0077 V5 = DO_FCALL
0078 CV4($mergeStrategies) = QM_ASSIGN V5
0079 T5 = FETCH_OBJ_R THIS string("configSink")
0080 INIT_METHOD_CALL 2 T5 string("setMultiDefault")
0081 SEND_VAR_EX CV1($defaults) 1
0082 SEND_VAR_EX CV4($mergeStrategies) 2
0083 DO_FCALL
0084 RETURN null
0085 T5 = FETCH_OBJ_R THIS string("configSink")
0086 INIT_METHOD_CALL 1 T5 string("setMulti")
0087 SEND_VAR_EX CV1($defaults) 1
0088 DO_FCALL
0089 RETURN null
LIVE RANGES:
5: 0053 - 0072 (loop)
MediaWiki\Settings\SettingsBuilder::applySettings:
; (lines=111, args=1, vars=9, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:593-655
0000 CV0($settings) = RECV 1
0001 T9 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($settings) string("config")
0002 JMPZ T9 0007
0003 INIT_METHOD_CALL 1 THIS string("updateSettingsConfig")
0004 T9 = FETCH_DIM_R CV0($settings) string("config")
0005 SEND_VAL T9 1
0006 DO_UCALL
0007 T9 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($settings) string("config-overrides")
0008 JMPZ T9 0013
0009 INIT_METHOD_CALL 1 THIS string("updateSettingsConfig")
0010 T9 = FETCH_DIM_R CV0($settings) string("config-overrides")
0011 SEND_VAL T9 1
0012 DO_UCALL
0013 INIT_METHOD_CALL 1 THIS string("applySchemas")
0014 SEND_VAR CV0($settings) 1
0015 DO_UCALL
0016 T9 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($settings) string("config")
0017 JMPZ T9 0029
0018 T9 = FETCH_OBJ_R THIS string("configSchema")
0019 INIT_METHOD_CALL 0 T9 string("getMergeStrategies")
0020 V9 = DO_FCALL
0021 CV1($mergeStrategies) = QM_ASSIGN V9
0022 T9 = FETCH_OBJ_R THIS string("configSink")
0023 INIT_METHOD_CALL 2 T9 string("setMulti")
0024 CHECK_FUNC_ARG 1
0025 V9 = FETCH_DIM_FUNC_ARG CV0($settings) string("config")
0026 SEND_FUNC_ARG V9 1
0027 SEND_VAR_EX CV1($mergeStrategies) 2
0028 DO_FCALL
0029 T9 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($settings) string("config-overrides")
0030 JMPZ T9 0037
0031 T9 = FETCH_OBJ_R THIS string("configSink")
0032 INIT_METHOD_CALL 1 T9 string("setMulti")
0033 CHECK_FUNC_ARG 1
0034 V9 = FETCH_DIM_FUNC_ARG CV0($settings) string("config-overrides")
0035 SEND_FUNC_ARG V9 1
0036 DO_FCALL
0037 T9 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($settings) string("obsolete-config")
0038 JMPZ T9 0049
0039 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\array_merge")
0040 CHECK_FUNC_ARG 1
0041 V9 = FETCH_OBJ_FUNC_ARG (ref) THIS string("obsoleteConfig")
0042 SEND_FUNC_ARG V9 1
0043 CHECK_FUNC_ARG 2
0044 V9 = FETCH_DIM_FUNC_ARG CV0($settings) string("obsolete-config")
0045 SEND_FUNC_ARG V9 2
0046 V9 = DO_FCALL_BY_NAME
0047 ASSIGN_OBJ THIS string("obsoleteConfig")
0048 OP_DATA V9
0049 T9 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($settings) string("config")
0050 JMPNZ T9 0053
0051 T9 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($settings) string("config-overrides")
0052 JMPZ T9 0055
0053 ASSIGN_OBJ THIS string("defaultsNeedMerging")
0054 OP_DATA bool(true)
0055 T9 = FETCH_DIM_IS CV0($settings) string("php-ini")
0056 T10 = COALESCE T9 0058
0057 T10 = QM_ASSIGN array(...)
0058 V9 = FE_RESET_R T10 0067
0059 T10 = FE_FETCH_R V9 CV2($value) 0067
0060 ASSIGN CV3($option) T10
0061 T10 = FETCH_OBJ_R THIS string("phpIniSink")
0062 INIT_METHOD_CALL 2 T10 string("set")
0063 SEND_VAR_EX CV3($option) 1
0064 SEND_VAR_EX CV2($value) 2
0065 DO_FCALL
0066 JMP 0059
0067 FE_FREE V9
0068 T9 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($settings) string("extensions")
0069 JMPZ T9 0089
0070 T10 = FETCH_CLASS_CONSTANT string("MediaWiki\\MainConfigNames") string("ExtensionDirectory")
0071 T9 = FETCH_OBJ_R THIS string("settingsConfig")
0072 CV4($extDir) = FETCH_DIM_R T9 T10
0073 T9 = FETCH_DIM_IS CV0($settings) string("extensions")
0074 T10 = COALESCE T9 0076
0075 T10 = QM_ASSIGN array(...)
0076 V9 = FE_RESET_R T10 0088
0077 FE_FETCH_R V9 CV5($ext) 0088
0078 T11 = ROPE_INIT 4 CV4($extDir)
0079 T11 = ROPE_ADD 1 T11 string("/")
0080 T11 = ROPE_ADD 2 T11 CV5($ext)
0081 T10 = ROPE_END 3 T11 string("/extension.json")
0082 ASSIGN CV6($path) T10
0083 T10 = FETCH_OBJ_R THIS string("extensionRegistry")
0084 INIT_METHOD_CALL 1 T10 string("queue")
0085 SEND_VAR_EX CV6($path) 1
0086 DO_FCALL
0087 JMP 0077
0088 FE_FREE V9
0089 T9 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($settings) string("skins")
0090 JMPZ T9 0110
0091 T10 = FETCH_CLASS_CONSTANT string("MediaWiki\\MainConfigNames") string("StyleDirectory")
0092 T9 = FETCH_OBJ_R THIS string("settingsConfig")
0093 CV7($skinDir) = FETCH_DIM_R T9 T10
0094 T9 = FETCH_DIM_IS CV0($settings) string("skins")
0095 T10 = COALESCE T9 0097
0096 T10 = QM_ASSIGN array(...)
0097 V9 = FE_RESET_R T10 0109
0098 FE_FETCH_R V9 CV8($skin) 0109
0099 T11 = ROPE_INIT 4 CV7($skinDir)
0100 T11 = ROPE_ADD 1 T11 string("/")
0101 T11 = ROPE_ADD 2 T11 CV8($skin)
0102 T10 = ROPE_END 3 T11 string("/skin.json")
0103 ASSIGN CV6($path) T10
0104 T10 = FETCH_OBJ_R THIS string("extensionRegistry")
0105 INIT_METHOD_CALL 1 T10 string("queue")
0106 SEND_VAR_EX CV6($path) 1
0107 DO_FCALL
0108 JMP 0098
0109 FE_FREE V9
0110 RETURN null
LIVE RANGES:
9: 0059 - 0067 (loop)
10: 0071 - 0072 (tmp/var)
9: 0077 - 0088 (loop)
11: 0078 - 0081 (rope)
10: 0092 - 0093 (tmp/var)
9: 0098 - 0109 (loop)
11: 0099 - 0102 (rope)
MediaWiki\Settings\SettingsBuilder::putConfigValue:
; (lines=8, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:670-672
0000 CV0($key) = RECV 1
0001 CV1($value) = RECV 2
0002 INIT_METHOD_CALL 1 THIS string("putConfigValues")
0003 T2 = INIT_ARRAY 1 (packed) CV1($value) CV0($key)
0004 SEND_VAL T2 1
0005 V2 = DO_FCALL
0006 VERIFY_RETURN_TYPE V2
0007 RETURN V2
LIVE RANGES:
2: 0006 - 0007 (tmp/var)
MediaWiki\Settings\SettingsBuilder::putConfigValues:
; (lines=8, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:686-688
0000 CV0($values) = RECV 1
0001 INIT_METHOD_CALL 2 THIS string("loadArrayInternal")
0002 T1 = INIT_ARRAY 1 CV0($values) string("config")
0003 SEND_VAL T1 1
0004 SEND_VAL string("MediaWiki\\Settings\\SettingsBuilder::putConfigValues") 2
0005 V1 = DO_UCALL
0006 VERIFY_RETURN_TYPE V1
0007 RETURN V1
LIVE RANGES:
1: 0006 - 0007 (tmp/var)
MediaWiki\Settings\SettingsBuilder::overrideConfigValue:
; (lines=8, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:702-704
0000 CV0($key) = RECV 1
0001 CV1($value) = RECV 2
0002 INIT_METHOD_CALL 1 THIS string("overrideConfigValues")
0003 T2 = INIT_ARRAY 1 (packed) CV1($value) CV0($key)
0004 SEND_VAL T2 1
0005 V2 = DO_FCALL
0006 VERIFY_RETURN_TYPE V2
0007 RETURN V2
LIVE RANGES:
2: 0006 - 0007 (tmp/var)
MediaWiki\Settings\SettingsBuilder::overrideConfigValues:
; (lines=8, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:717-719
0000 CV0($values) = RECV 1
0001 INIT_METHOD_CALL 2 THIS string("loadArrayInternal")
0002 T1 = INIT_ARRAY 1 CV0($values) string("config-overrides")
0003 SEND_VAL T1 1
0004 SEND_VAL string("MediaWiki\\Settings\\SettingsBuilder::overrideConfigValues") 2
0005 V1 = DO_UCALL
0006 VERIFY_RETURN_TYPE V1
0007 RETURN V1
LIVE RANGES:
1: 0006 - 0007 (tmp/var)
MediaWiki\Settings\SettingsBuilder::registerHookHandlers:
; (lines=9, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:731-736
0000 CV0($handlers) = RECV 1
0001 INIT_METHOD_CALL 2 THIS string("loadArrayInternal")
0002 T2 = INIT_ARRAY 1 CV0($handlers) string("Hooks")
0003 T1 = INIT_ARRAY 1 T2 string("config")
0004 SEND_VAL T1 1
0005 SEND_VAL string("MediaWiki\\Settings\\SettingsBuilder::registerHookHandlers") 2
0006 V1 = DO_UCALL
0007 VERIFY_RETURN_TYPE V1
0008 RETURN V1
LIVE RANGES:
1: 0007 - 0008 (tmp/var)
MediaWiki\Settings\SettingsBuilder::registerHookHandler:
; (lines=11, args=2, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:747-752
0000 CV0($hook) = RECV 1
0001 CV1($handler) = RECV 2
0002 INIT_METHOD_CALL 1 THIS string("loadArray")
0003 T3 = INIT_ARRAY 1 (packed) CV1($handler) NEXT
0004 T2 = INIT_ARRAY 1 (packed) T3 CV0($hook)
0005 T3 = INIT_ARRAY 1 T2 string("Hooks")
0006 T2 = INIT_ARRAY 1 T3 string("config")
0007 SEND_VAL T2 1
0008 V2 = DO_FCALL
0009 VERIFY_RETURN_TYPE V2
0010 RETURN V2
LIVE RANGES:
2: 0009 - 0010 (tmp/var)
MediaWiki\Settings\SettingsBuilder::getConfig:
; (lines=17, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:761-774
0000 T0 = FETCH_OBJ_R THIS string("config")
0001 JMPZ T0 0007
0002 T0 = FETCH_OBJ_R THIS string("currentBatch")
0003 JMPNZ T0 0007
0004 T0 = FETCH_OBJ_R THIS string("config")
0005 VERIFY_RETURN_TYPE T0
0006 RETURN T0
0007 INIT_METHOD_CALL 0 THIS string("apply")
0008 DO_FCALL
0009 T0 = FETCH_OBJ_R THIS string("configSink")
0010 INIT_METHOD_CALL 0 T0 string("build")
0011 V0 = DO_FCALL
0012 ASSIGN_OBJ THIS string("config")
0013 OP_DATA V0
0014 T0 = FETCH_OBJ_R THIS string("config")
0015 VERIFY_RETURN_TYPE T0
0016 RETURN T0
LIVE RANGES:
0: 0005 - 0006 (tmp/var)
0: 0015 - 0016 (tmp/var)
MediaWiki\Settings\SettingsBuilder::reset:
; (lines=3, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:776-778
0000 ASSIGN_OBJ THIS string("currentBatch")
0001 OP_DATA array(...)
0002 RETURN null
MediaWiki\Settings\SettingsBuilder::assertNotReadOnly:
; (lines=10, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:780-786
0000 CV0($func) = RECV 1
0001 T2 = FETCH_OBJ_R THIS string("stage")
0002 T1 = IS_IDENTICAL T2 int(100)
0003 JMPZ T1 0009
0004 V1 = NEW 1 string("MediaWiki\\Settings\\SettingsBuilderException")
0005 T2 = FAST_CONCAT CV0($func) string(" not supported in operation stage.")
0006 SEND_VAL_EX T2 1
0007 DO_FCALL
0008 THROW V1
0009 RETURN null
LIVE RANGES:
1: 0005 - 0008 (new)
MediaWiki\Settings\SettingsBuilder::assertStillLoading:
; (lines=10, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:788-794
0000 CV0($func) = RECV 1
0001 T2 = FETCH_OBJ_R THIS string("stage")
0002 T1 = IS_NOT_IDENTICAL T2 int(1)
0003 JMPZ T1 0009
0004 V1 = NEW 1 string("MediaWiki\\Settings\\SettingsBuilderException")
0005 T2 = FAST_CONCAT CV0($func) string(" only supported while still in the loading stage.")
0006 SEND_VAL_EX T2 1
0007 DO_FCALL
0008 THROW V1
0009 RETURN null
LIVE RANGES:
1: 0005 - 0008 (new)
MediaWiki\Settings\SettingsBuilder::enterReadOnlyStage:
; (lines=5, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:804-807
0000 INIT_METHOD_CALL 0 THIS string("apply")
0001 DO_FCALL
0002 ASSIGN_OBJ THIS string("stage")
0003 OP_DATA int(100)
0004 RETURN null
MediaWiki\Settings\SettingsBuilder::enterRegistrationStage:
; (lines=5, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:816-819
0000 INIT_METHOD_CALL 0 THIS string("apply")
0001 DO_FCALL
0002 ASSIGN_OBJ THIS string("stage")
0003 OP_DATA int(10)
0004 RETURN null
MediaWiki\Settings\SettingsBuilder::getConfigBuilder:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:825-828
0000 INIT_METHOD_CALL 0 THIS string("apply")
0001 DO_FCALL
0002 T0 = FETCH_OBJ_R THIS string("configSink")
0003 VERIFY_RETURN_TYPE T0
0004 RETURN T0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\Settings\SettingsBuilder::warning:
; (lines=14, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:841-844
0000 CV0($msg) = RECV 1
0001 INIT_METHOD_CALL 1 THIS string("assertNotReadOnly")
0002 SEND_VAL string("MediaWiki\\Settings\\SettingsBuilder::warning") 1
0003 DO_UCALL
0004 JMP_FRAMELESS 24 string("mediawiki\\settings\\trim") 0009
0005 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\trim")
0006 SEND_VAR_EX CV0($msg) 1
0007 V1 = DO_FCALL_BY_NAME
0008 JMP 0010
0009 V1 = FRAMELESS_ICALL_1(trim) CV0($msg)
0010 V2 = FETCH_OBJ_W (dim write) THIS string("warnings")
0011 ASSIGN_DIM V2 NEXT
0012 OP_DATA V1
0013 RETURN null
LIVE RANGES:
1: 0010 - 0011 (tmp/var)
MediaWiki\Settings\SettingsBuilder::getWarnings:
; (lines=3, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/SettingsBuilder.php:852-854
0000 T0 = FETCH_OBJ_R THIS string("warnings")
0001 VERIFY_RETURN_TYPE T0
0002 RETURN T0
LIVE RANGES:
0: 0001 - 0002 (tmp/var)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:1-704
0000 RETURN int(1)
ExtensionRegistry::getInstance:
; (lines=15, args=0, vars=0, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:162-171
0000 T0 = FETCH_STATIC_PROP_R string("accessDisabledForUnitTests") (self) (exception)
0001 JMPZ T0 0006
0002 V0 = NEW 1 string("RuntimeException")
0003 SEND_VAL_EX string("Access is disabled in unit tests") 1
0004 DO_FCALL
0005 THROW V0
0006 T1 = FETCH_STATIC_PROP_R string("instance") (self) (exception)
0007 T0 = TYPE_CHECK (null) T1
0008 JMPZ T0 0013
0009 V0 = NEW 0 (self) (exception)
0010 DO_FCALL
0011 ASSIGN_STATIC_PROP string("instance")
0012 OP_DATA V0
0013 T0 = FETCH_STATIC_PROP_R string("instance") (self) (exception)
0014 RETURN T0
LIVE RANGES:
0: 0003 - 0005 (new)
0: 0010 - 0011 (new)
ExtensionRegistry::disableForTest:
; (lines=9, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:176-181
0000 T0 = DEFINED string("MW_PHPUNIT_TEST")
0001 JMPNZ T0 0006
0002 V0 = NEW 1 string("RuntimeException")
0003 SEND_VAL_EX string("Can only be called in tests") 1
0004 DO_FCALL
0005 THROW V0
0006 ASSIGN_STATIC_PROP string("accessDisabledForUnitTests")
0007 OP_DATA bool(true)
0008 RETURN null
LIVE RANGES:
0: 0003 - 0005 (new)
ExtensionRegistry::enableForTest:
; (lines=9, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:186-191
0000 T0 = DEFINED string("MW_PHPUNIT_TEST")
0001 JMPNZ T0 0006
0002 V0 = NEW 1 string("RuntimeException")
0003 SEND_VAL_EX string("Can only be called in tests") 1
0004 DO_FCALL
0005 THROW V0
0006 ASSIGN_STATIC_PROP string("accessDisabledForUnitTests")
0007 OP_DATA bool(false)
0008 RETURN null
LIVE RANGES:
0: 0003 - 0005 (new)
ExtensionRegistry::setCache:
; (lines=4, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:201-203
0000 CV0($cache) = RECV 1
0001 ASSIGN_OBJ THIS string("cache")
0002 OP_DATA CV0($cache)
0003 RETURN null
ExtensionRegistry::setCheckDevRequires:
; (lines=6, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:209-212
0000 CV0($check) = RECV 1
0001 ASSIGN_OBJ THIS string("checkDev")
0002 OP_DATA CV0($check)
0003 INIT_METHOD_CALL 0 THIS string("invalidateProcessCache")
0004 DO_FCALL
0005 RETURN null
ExtensionRegistry::setLoadTestClassesAndNamespaces:
; (lines=4, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:221-223
0000 CV0($load) = RECV 1
0001 ASSIGN_OBJ THIS string("loadTestClassesAndNamespaces")
0002 OP_DATA CV0($load)
0003 RETURN null
ExtensionRegistry::queue:
; (lines=28, args=1, vars=4, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:228-244
0000 CV0($path) = RECV 1
0001 BIND_GLOBAL CV1($wgExtensionInfoMTime) string("wgExtensionInfoMTime")
0002 CV2($mtime) = QM_ASSIGN CV1($wgExtensionInfoMTime)
0003 T4 = TYPE_CHECK (false) CV2($mtime)
0004 JMPZ T4 0022
0005 T4 = BEGIN_SILENCE
0006 INIT_FCALL 1 96 string("filemtime")
0007 SEND_VAR CV0($path) 1
0008 CV2($mtime) = DO_ICALL
0009 END_SILENCE T4
0010 T4 = TYPE_CHECK (false) CV2($mtime)
0011 JMPZ T4 0022
0012 INIT_FCALL 0 80 string("error_get_last")
0013 V4 = DO_ICALL
0014 CV3($err) = QM_ASSIGN V4
0015 V4 = NEW 2 string("MissingExtensionException")
0016 SEND_VAR_EX CV0($path) 1
0017 CHECK_FUNC_ARG 2
0018 V5 = FETCH_DIM_FUNC_ARG CV3($err) string("message")
0019 SEND_FUNC_ARG V5 2
0020 DO_FCALL
0021 THROW V4
0022 V4 = FETCH_OBJ_W (dim write) THIS string("queued")
0023 ASSIGN_DIM V4 CV0($path)
0024 OP_DATA CV2($mtime)
0025 INIT_METHOD_CALL 0 THIS string("invalidateProcessCache")
0026 DO_FCALL
0027 RETURN null
LIVE RANGES:
4: 0006 - 0009 (silence)
4: 0016 - 0021 (new)
ExtensionRegistry::getCache:
; (lines=23, args=0, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:246-260
0000 T2 = FETCH_OBJ_R THIS string("cache")
0001 JMPNZ T2 0020
0002 BIND_GLOBAL CV0($wgCachePrefix) string("wgCachePrefix")
0003 T2 = TYPE_CHECK (string) CV0($wgCachePrefix)
0004 JMPZ T2 0009
0005 T2 = IS_NOT_IDENTICAL CV0($wgCachePrefix) string("")
0006 JMPZ T2 0009
0007 T2 = QM_ASSIGN CV0($wgCachePrefix)
0008 JMP 0014
0009 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\WikiMap\\WikiMap") string("getCurrentWikiDbDomain")
0010 V3 = DO_FCALL
0011 INIT_METHOD_CALL 0 V3 string("getId")
0012 V3 = DO_FCALL
0013 T2 = QM_ASSIGN V3
0014 CV1($keyspace) = QM_ASSIGN T2
0015 INIT_STATIC_METHOD_CALL 1 string("ObjectCache") string("makeLocalServerCache")
0016 SEND_VAR_EX CV1($keyspace) 1
0017 V2 = DO_FCALL
0018 VERIFY_RETURN_TYPE V2
0019 RETURN V2
0020 T2 = FETCH_OBJ_R THIS string("cache")
0021 VERIFY_RETURN_TYPE T2
0022 RETURN T2
LIVE RANGES:
2: 0018 - 0019 (tmp/var)
2: 0021 - 0022 (tmp/var)
ExtensionRegistry::makeCacheKey:
; (lines=13, args=2, vars=3, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:262-269
0000 CV0($cache) = RECV 1
0001 CV1($component) = RECV 2
0002 CV2($extra) = RECV_VARIADIC 3
0003 INIT_METHOD_CALL 2 CV0($cache) string("makeGlobalKey")
0004 T3 = FAST_CONCAT string("registration-") CV1($component)
0005 SEND_VAL_EX T3 1
0006 INIT_METHOD_CALL 0 THIS string("getVaryHash")
0007 V3 = DO_FCALL
0008 SEND_VAR_NO_REF_EX V3 2
0009 SEND_UNPACK CV2($extra)
0010 CHECK_UNDEF_ARGS
0011 V3 = DO_FCALL
0012 RETURN V3
ExtensionRegistry::getVaryHash:
; (lines=24, args=0, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:276-290
0000 T2 = FETCH_OBJ_R THIS string("varyHash")
0001 T1 = TYPE_CHECK (null) T2
0002 JMPZ T1 0022
0003 T1 = INIT_ARRAY 5 int(8) string("registration")
0004 T2 = FETCH_CONSTANT string("MW_VERSION")
0005 T1 = ADD_ARRAY_ELEMENT T2 string("mediawiki")
0006 INIT_METHOD_CALL 0 THIS string("getAbilities")
0007 V2 = DO_FCALL
0008 T1 = ADD_ARRAY_ELEMENT V2 string("abilities")
0009 T2 = FETCH_OBJ_R THIS string("checkDev")
0010 T1 = ADD_ARRAY_ELEMENT T2 string("checkDev")
0011 T2 = FETCH_OBJ_R THIS string("queued")
0012 T1 = ADD_ARRAY_ELEMENT T2 string("queue")
0013 CV0($vary) = QM_ASSIGN T1
0014 INIT_FCALL 1 96 string("md5")
0015 INIT_FCALL 1 96 string("json_encode")
0016 SEND_VAR CV0($vary) 1
0017 V1 = DO_ICALL
0018 SEND_VAR V1 1
0019 V1 = DO_ICALL
0020 ASSIGN_OBJ THIS string("varyHash")
0021 OP_DATA V1
0022 T1 = FETCH_OBJ_R THIS string("varyHash")
0023 RETURN T1
LIVE RANGES:
1: 0004 - 0013 (tmp/var)
ExtensionRegistry::invalidateProcessCache:
; (lines=5, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:295-298
0000 ASSIGN_OBJ THIS string("varyHash")
0001 OP_DATA null
0002 ASSIGN_OBJ THIS string("lazyAttributes")
0003 OP_DATA array(...)
0004 RETURN null
ExtensionRegistry::loadFromQueue:
; (lines=41, args=0, vars=3, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:300-321
0000 T3 = FETCH_OBJ_R THIS string("queued")
0001 JMPNZ T3 0003
0002 RETURN null
0003 T3 = FETCH_OBJ_R THIS string("finished")
0004 JMPZ T3 0015
0005 V3 = NEW 1 string("LogicException")
0006 INIT_FCALL 1 96 string("array_keys")
0007 T4 = FETCH_OBJ_R THIS string("queued")
0008 SEND_VAL T4 1
0009 V4 = DO_ICALL
0010 T5 = FRAMELESS_ICALL_2(implode) string(", ") V4
0011 T4 = FAST_CONCAT string("The following paths tried to load late: ") T5
0012 SEND_VAL_EX T4 1
0013 DO_FCALL
0014 THROW V3
0015 INIT_METHOD_CALL 0 THIS string("getCache")
0016 V3 = DO_UCALL
0017 CV0($cache) = QM_ASSIGN V3
0018 INIT_METHOD_CALL 2 THIS string("makeCacheKey")
0019 SEND_VAR CV0($cache) 1
0020 SEND_VAL string("main") 2
0021 V3 = DO_UCALL
0022 CV1($key) = QM_ASSIGN V3
0023 INIT_METHOD_CALL 1 CV0($cache) string("get")
0024 SEND_VAR_EX CV1($key) 1
0025 V3 = DO_FCALL
0026 CV2($data) = QM_ASSIGN V3
0027 JMPNZ CV2($data) 0037
0028 INIT_METHOD_CALL 1 THIS string("readFromQueue")
0029 V3 = FETCH_OBJ_R THIS string("queued")
0030 SEND_VAR V3 1
0031 V3 = DO_FCALL
0032 ASSIGN CV2($data) V3
0033 INIT_METHOD_CALL 2 THIS string("saveToCache")
0034 SEND_VAR CV0($cache) 1
0035 SEND_VAR CV2($data) 2
0036 DO_FCALL
0037 INIT_METHOD_CALL 1 THIS string("exportExtractedData")
0038 SEND_VAR CV2($data) 1
0039 DO_FCALL
0040 RETURN null
LIVE RANGES:
3: 0006 - 0014 (new)
ExtensionRegistry::saveToCache:
; (lines=47, args=2, vars=7, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:329-352
0000 CV0($cache) = RECV 1
0001 CV1($data) = RECV 2
0002 BIND_GLOBAL CV2($wgDevelopmentWarnings) string("wgDevelopmentWarnings")
0003 T7 = FETCH_DIM_R CV1($data) string("warnings")
0004 JMPZ T7 0007
0005 JMPZ CV2($wgDevelopmentWarnings) 0007
0006 RETURN null
0007 CV3($lazy) = QM_ASSIGN array(...)
0008 V7 = FE_RESET_R array(...) 0020
0009 FE_FETCH_R V7 CV4($attrib) 0020
0010 T9 = FETCH_DIM_IS CV1($data) string("attributes")
0011 T8 = ISSET_ISEMPTY_DIM_OBJ (isset) T9 CV4($attrib)
0012 JMPZ T8 0009
0013 T9 = FETCH_DIM_R CV1($data) string("attributes")
0014 T8 = FETCH_DIM_R T9 CV4($attrib)
0015 ASSIGN_DIM CV3($lazy) CV4($attrib)
0016 OP_DATA T8
0017 V8 = FETCH_DIM_UNSET CV1($data) string("attributes")
0018 UNSET_DIM V8 CV4($attrib)
0019 JMP 0009
0020 FE_FREE V7
0021 INIT_METHOD_CALL 2 THIS string("makeCacheKey")
0022 SEND_VAR CV0($cache) 1
0023 SEND_VAL string("main") 2
0024 V7 = DO_UCALL
0025 CV5($mainKey) = QM_ASSIGN V7
0026 INIT_METHOD_CALL 3 CV0($cache) string("set")
0027 SEND_VAR_EX CV5($mainKey) 1
0028 SEND_VAR_EX CV1($data) 2
0029 SEND_VAL_EX int(86400) 3
0030 DO_FCALL
0031 V7 = FE_RESET_R CV3($lazy) 0045
0032 T8 = FE_FETCH_R V7 CV6($value) 0045
0033 ASSIGN CV4($attrib) T8
0034 INIT_METHOD_CALL 3 CV0($cache) string("set")
0035 INIT_METHOD_CALL 3 THIS string("makeCacheKey")
0036 SEND_VAR CV0($cache) 1
0037 SEND_VAL string("lazy-attrib") 2
0038 SEND_VAR CV4($attrib) 3
0039 V8 = DO_UCALL
0040 SEND_VAR_NO_REF_EX V8 1
0041 SEND_VAR_EX CV6($value) 2
0042 SEND_VAL_EX int(86400) 3
0043 DO_FCALL
0044 JMP 0032
0045 FE_FREE V7
0046 RETURN null
LIVE RANGES:
7: 0009 - 0020 (loop)
7: 0032 - 0045 (loop)
ExtensionRegistry::getQueue:
; (lines=2, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:360-362
0000 T0 = FETCH_OBJ_R THIS string("queued")
0001 RETURN T0
ExtensionRegistry::clearQueue:
; (lines=5, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:368-371
0000 ASSIGN_OBJ THIS string("queued")
0001 OP_DATA array(...)
0002 INIT_METHOD_CALL 0 THIS string("invalidateProcessCache")
0003 DO_UCALL
0004 RETURN null
ExtensionRegistry::finish:
; (lines=3, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:378-380
0000 ASSIGN_OBJ THIS string("finished")
0001 OP_DATA bool(true)
0002 RETURN null
ExtensionRegistry::getAbilities:
; (lines=5, args=0, vars=0, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:386-390
0000 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Shell\\Shell") string("isDisabled")
0001 V0 = DO_FCALL
0002 T1 = BOOL_NOT V0
0003 T0 = INIT_ARRAY 1 T1 string("shell")
0004 RETURN T0
ExtensionRegistry::buildVersionChecker:
; (lines=18, args=0, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:397-411
0000 V1 = NEW 0 string("MediaWiki\\ShellDisabledError")
0001 DO_FCALL
0002 INIT_METHOD_CALL 0 V1 string("getMessage")
0003 V1 = DO_FCALL
0004 CV0($abilityErrors) = INIT_ARRAY 1 V1 string("shell")
0005 V1 = NEW 5 string("VersionChecker")
0006 T2 = FETCH_CONSTANT string("MW_VERSION")
0007 SEND_VAL_EX T2 1
0008 SEND_VAL_EX string("8.4.0") 2
0009 INIT_FCALL 0 80 string("get_loaded_extensions")
0010 V2 = DO_ICALL
0011 SEND_VAR_NO_REF_EX V2 3
0012 INIT_METHOD_CALL 0 THIS string("getAbilities")
0013 V2 = DO_UCALL
0014 SEND_VAR_NO_REF_EX V2 4
0015 SEND_VAR_EX CV0($abilityErrors) 5
0016 DO_FCALL
0017 RETURN V1
LIVE RANGES:
1: 0001 - 0002 (new)
1: 0006 - 0017 (new)
ExtensionRegistry::readFromQueue:
; (lines=94, args=1, vars=12, tmps=5)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:423-467
0000 CV0($queue) = RECV 1
0001 V12 = NEW 0 string("ExtensionProcessor")
0002 DO_FCALL
0003 CV1($processor) = QM_ASSIGN V12
0004 INIT_METHOD_CALL 0 THIS string("buildVersionChecker")
0005 V12 = DO_UCALL
0006 CV2($versionChecker) = QM_ASSIGN V12
0007 CV3($extDependencies) = QM_ASSIGN array(...)
0008 V12 = FE_RESET_R CV0($queue) 0070
0009 T13 = FE_FETCH_R V12 CV4($mtime) 0070
0010 ASSIGN CV5($path) T13
0011 INIT_FCALL 1 96 string("file_get_contents")
0012 SEND_VAR CV5($path) 1
0013 V13 = DO_ICALL
0014 ASSIGN CV6($json) V13
0015 T13 = TYPE_CHECK (false) CV6($json)
0016 JMPZ T13 0024
0017 V13 = NEW 1 string("InvalidArgumentException")
0018 T15 = ROPE_INIT 3 string("Unable to read ")
0019 T15 = ROPE_ADD 1 T15 CV5($path)
0020 T14 = ROPE_END 2 T15 string(", does it exist?")
0021 SEND_VAL_EX T14 1
0022 DO_FCALL
0023 THROW V13
0024 INIT_FCALL 2 112 string("json_decode")
0025 SEND_VAR CV6($json) 1
0026 SEND_VAL bool(true) 2
0027 V13 = DO_ICALL
0028 ASSIGN CV7($info) V13
0029 T13 = TYPE_CHECK (array) CV7($info)
0030 JMPNZ T13 0036
0031 V13 = NEW 1 string("InvalidArgumentException")
0032 T14 = FAST_CONCAT CV5($path) string(" is not a valid JSON file.")
0033 SEND_VAL_EX T14 1
0034 DO_FCALL
0035 THROW V13
0036 T13 = FETCH_DIM_R CV7($info) string("manifest_version")
0037 ASSIGN CV8($version) T13
0038 T13 = IS_SMALLER CV8($version) int(1)
0039 JMPNZ T13 0042
0040 T13 = IS_SMALLER int(2) CV8($version)
0041 JMPZ T13 0049
0042 V13 = NEW 1 string("InvalidArgumentException")
0043 T15 = ROPE_INIT 3 CV5($path)
0044 T15 = ROPE_ADD 1 T15 string(": unsupported manifest_version: ")
0045 T14 = ROPE_END 2 T15 CV8($version)
0046 SEND_VAL_EX T14 1
0047 DO_FCALL
0048 THROW V13
0049 INIT_METHOD_CALL 2 CV1($processor) string("getRequirements")
0050 SEND_VAR_EX CV7($info) 1
0051 CHECK_FUNC_ARG 2
0052 V13 = FETCH_OBJ_FUNC_ARG (ref) THIS string("checkDev")
0053 SEND_FUNC_ARG V13 2
0054 V13 = DO_FCALL
0055 ASSIGN CV9($requires) V13
0056 T13 = TYPE_CHECK (array) CV9($requires)
0057 JMPZ T13 0064
0058 JMPZ CV9($requires) 0064
0059 T13 = ISSET_ISEMPTY_DIM_OBJ (isset) CV7($info) string("name")
0060 JMPZ T13 0064
0061 T13 = FETCH_DIM_R CV7($info) string("name")
0062 ASSIGN_DIM CV3($extDependencies) T13
0063 OP_DATA CV9($requires)
0064 INIT_METHOD_CALL 3 CV1($processor) string("extractInfo")
0065 SEND_VAR_EX CV5($path) 1
0066 SEND_VAR_EX CV7($info) 2
0067 SEND_VAR_EX CV8($version) 3
0068 DO_FCALL
0069 JMP 0009
0070 FE_FREE V12
0071 INIT_METHOD_CALL 1 CV1($processor) string("getExtractedInfo")
0072 CHECK_FUNC_ARG 1
0073 V12 = FETCH_OBJ_FUNC_ARG (ref) THIS string("loadTestClassesAndNamespaces")
0074 SEND_FUNC_ARG V12 1
0075 V12 = DO_FCALL
0076 CV10($data) = QM_ASSIGN V12
0077 ASSIGN_DIM CV10($data) string("warnings")
0078 OP_DATA bool(false)
0079 INIT_METHOD_CALL 1 CV2($versionChecker) string("setLoadedExtensionsAndSkins")
0080 CHECK_FUNC_ARG 1
0081 V12 = FETCH_DIM_FUNC_ARG CV10($data) string("credits")
0082 SEND_FUNC_ARG V12 1
0083 V12 = DO_FCALL
0084 INIT_METHOD_CALL 1 V12 string("checkArray")
0085 SEND_VAR_EX CV3($extDependencies) 1
0086 V12 = DO_FCALL
0087 CV11($incompatible) = QM_ASSIGN V12
0088 JMPZ CV11($incompatible) 0093
0089 V12 = NEW 1 string("ExtensionDependencyError")
0090 SEND_VAR_EX CV11($incompatible) 1
0091 DO_FCALL
0092 THROW V12
0093 RETURN CV10($data)
LIVE RANGES:
12: 0002 - 0003 (new)
12: 0009 - 0070 (loop)
13: 0018 - 0023 (new)
15: 0018 - 0020 (rope)
13: 0032 - 0035 (new)
13: 0043 - 0048 (new)
15: 0043 - 0045 (rope)
12: 0090 - 0092 (new)
ExtensionRegistry::exportExtractedData:
; (lines=199, args=1, vars=7, tmps=6)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:469-563
0000 CV0($info) = RECV 1
0001 T8 = FETCH_DIM_R CV0($info) string("globals")
0002 V7 = FE_RESET_R T8 0093
0003 T8 = FE_FETCH_R V7 CV1($val) 0093
0004 ASSIGN CV2($key) T8
0005 T8 = TYPE_CHECK (array) CV1($val)
0006 JMPZ T8 0013
0007 T8 = ISSET_ISEMPTY_DIM_OBJ (isset) CV1($val) string("_merge_strategy")
0008 JMPZ T8 0013
0009 T8 = FETCH_DIM_R CV1($val) string("_merge_strategy")
0010 ASSIGN CV3($mergeStrategy) T8
0011 UNSET_DIM CV1($val) string("_merge_strategy")
0012 JMP 0014
0013 ASSIGN CV3($mergeStrategy) string("array_merge")
0014 T8 = IS_IDENTICAL CV3($mergeStrategy) string("provide_default")
0015 JMPZ T8 0022
0016 T9 = FETCH_GLOBALS
0017 T8 = ARRAY_KEY_EXISTS CV2($key) T9
0018 JMPNZ T8 0003
0019 V8 = FETCH_W (global) CV2($key)
0020 ASSIGN V8 CV1($val)
0021 JMP 0003
0022 T9 = FETCH_GLOBALS
0023 T8 = ARRAY_KEY_EXISTS CV2($key) T9
0024 JMPZ T8 0030
0025 T9 = FETCH_R (global) CV2($key)
0026 T8 = TYPE_CHECK (array) T9
0027 JMPZ T8 0033
0028 T8 = FETCH_R (global) CV2($key)
0029 JMPNZ T8 0033
0030 V8 = FETCH_W (global) CV2($key)
0031 ASSIGN V8 CV1($val)
0032 JMP 0003
0033 T9 = FETCH_R (global) CV2($key)
0034 T8 = TYPE_CHECK (array) T9
0035 JMPZ T8 0003
0036 T8 = TYPE_CHECK (array) CV1($val)
0037 JMPZ T8 0003
0038 SWITCH_STRING CV3($mergeStrategy) "array_merge_recursive": 0050, "array_replace_recursive": 0058, "array_plus_2d": 0066, "array_plus": 0075, "array_merge": 0078, default: 0086
0039 T8 = IS_EQUAL CV3($mergeStrategy) string("array_merge_recursive")
0040 JMPNZ T8 0050
0041 T8 = IS_EQUAL CV3($mergeStrategy) string("array_replace_recursive")
0042 JMPNZ T8 0058
0043 T8 = IS_EQUAL CV3($mergeStrategy) string("array_plus_2d")
0044 JMPNZ T8 0066
0045 T8 = IS_EQUAL CV3($mergeStrategy) string("array_plus")
0046 JMPNZ T8 0075
0047 T8 = IS_EQUAL CV3($mergeStrategy) string("array_merge")
0048 JMPNZ T8 0078
0049 JMP 0086
0050 INIT_FCALL 2 112 string("array_merge_recursive")
0051 T8 = FETCH_R (global) CV2($key)
0052 SEND_VAL T8 1
0053 SEND_VAR CV1($val) 2
0054 V9 = DO_ICALL
0055 V8 = FETCH_W (global) CV2($key)
0056 ASSIGN V8 V9
0057 JMP 0003
0058 INIT_FCALL 2 112 string("array_replace_recursive")
0059 SEND_VAR CV1($val) 1
0060 T8 = FETCH_R (global) CV2($key)
0061 SEND_VAL T8 2
0062 V9 = DO_ICALL
0063 V8 = FETCH_W (global) CV2($key)
0064 ASSIGN V8 V9
0065 JMP 0003
0066 INIT_FCALL_BY_NAME 2 string("wfArrayPlus2d")
0067 CHECK_FUNC_ARG 1
0068 V8 = FETCH_FUNC_ARG (global) CV2($key)
0069 SEND_FUNC_ARG V8 1
0070 SEND_VAR_EX CV1($val) 2
0071 V9 = DO_FCALL_BY_NAME
0072 V8 = FETCH_W (global) CV2($key)
0073 ASSIGN V8 V9
0074 JMP 0003
0075 V8 = FETCH_RW (global) CV2($key)
0076 ASSIGN_OP (ADD) V8 CV1($val)
0077 JMP 0003
0078 INIT_FCALL 2 112 string("array_merge")
0079 SEND_VAR CV1($val) 1
0080 T8 = FETCH_R (global) CV2($key)
0081 SEND_VAL T8 2
0082 V9 = DO_ICALL
0083 V8 = FETCH_W (global) CV2($key)
0084 ASSIGN V8 V9
0085 JMP 0003
0086 V8 = NEW 1 string("UnexpectedValueException")
0087 T10 = ROPE_INIT 3 string("Unknown merge strategy '")
0088 T10 = ROPE_ADD 1 T10 CV3($mergeStrategy)
0089 T9 = ROPE_END 2 T10 string("'")
0090 SEND_VAL_EX T9 1
0091 DO_FCALL
0092 THROW V8
0093 FE_FREE V7
0094 T7 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($info) string("autoloaderNS")
0095 JMPZ T7 0101
0096 INIT_STATIC_METHOD_CALL 1 string("AutoLoader") string("registerNamespaces")
0097 CHECK_FUNC_ARG 1
0098 V7 = FETCH_DIM_FUNC_ARG CV0($info) string("autoloaderNS")
0099 SEND_FUNC_ARG V7 1
0100 DO_FCALL
0101 T7 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($info) string("autoloaderClasses")
0102 JMPZ T7 0108
0103 INIT_STATIC_METHOD_CALL 1 string("AutoLoader") string("registerClasses")
0104 CHECK_FUNC_ARG 1
0105 V7 = FETCH_DIM_FUNC_ARG CV0($info) string("autoloaderClasses")
0106 SEND_FUNC_ARG V7 1
0107 DO_FCALL
0108 T8 = FETCH_DIM_R CV0($info) string("defines")
0109 V7 = FE_RESET_R T8 0138
0110 T8 = FE_FETCH_R V7 CV1($val) 0138
0111 ASSIGN CV4($name) T8
0112 INIT_FCALL 1 96 string("defined")
0113 SEND_VAR CV4($name) 1
0114 V8 = DO_ICALL
0115 JMPNZ V8 0121
0116 INIT_FCALL 2 112 string("define")
0117 SEND_VAR CV4($name) 1
0118 SEND_VAR CV1($val) 2
0119 DO_ICALL
0120 JMP 0110
0121 INIT_FCALL 1 96 string("constant")
0122 SEND_VAR CV4($name) 1
0123 V9 = DO_ICALL
0124 T8 = IS_NOT_IDENTICAL CV1($val) V9
0125 JMPZ T8 0110
0126 V8 = NEW 1 string("UnexpectedValueException")
0127 T11 = ROPE_INIT 4 CV4($name)
0128 T11 = ROPE_ADD 1 T11 string(" cannot be re-defined with ")
0129 T11 = ROPE_ADD 2 T11 CV1($val)
0130 T10 = ROPE_END 3 T11 string(" it has already been set with ")
0131 INIT_FCALL 1 96 string("constant")
0132 SEND_VAR CV4($name) 1
0133 V11 = DO_ICALL
0134 T9 = CONCAT T10 V11
0135 SEND_VAL_EX T9 1
0136 DO_FCALL
0137 THROW V8
0138 FE_FREE V7
0139 T7 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($info) string("autoloaderPaths")
0140 JMPZ T7 0146
0141 INIT_STATIC_METHOD_CALL 1 string("AutoLoader") string("loadFiles")
0142 CHECK_FUNC_ARG 1
0143 V7 = FETCH_DIM_FUNC_ARG CV0($info) string("autoloaderPaths")
0144 SEND_FUNC_ARG V7 1
0145 DO_FCALL
0146 T7 = FETCH_DIM_R CV0($info) string("credits")
0147 ASSIGN_OBJ_OP (ADD) THIS string("loaded")
0148 OP_DATA T7
0149 T7 = FETCH_DIM_R CV0($info) string("attributes")
0150 JMPZ T7 0165
0151 T7 = FETCH_OBJ_R THIS string("attributes")
0152 JMPNZ T7 0157
0153 T7 = FETCH_DIM_R CV0($info) string("attributes")
0154 ASSIGN_OBJ THIS string("attributes")
0155 OP_DATA T7
0156 JMP 0165
0157 INIT_FCALL 2 112 string("array_merge_recursive")
0158 T7 = FETCH_OBJ_R THIS string("attributes")
0159 SEND_VAL T7 1
0160 T7 = FETCH_DIM_R CV0($info) string("attributes")
0161 SEND_VAL T7 2
0162 V7 = DO_ICALL
0163 ASSIGN_OBJ THIS string("attributes")
0164 OP_DATA V7
0165 INIT_METHOD_CALL 0 THIS string("getSettingsBuilder")
0166 V7 = DO_FCALL
0167 CV5($settings) = QM_ASSIGN V7
0168 T8 = FETCH_DIM_R CV0($info) string("callbacks")
0169 V7 = FE_RESET_R T8 0197
0170 T8 = FE_FETCH_R V7 CV6($cb) 0197
0171 ASSIGN CV4($name) T8
0172 INIT_FCALL 1 96 string("is_callable")
0173 SEND_VAR CV6($cb) 1
0174 V8 = DO_ICALL
0175 JMPNZ V8 0189
0176 T8 = TYPE_CHECK (array) CV6($cb)
0177 JMPZ T8 0182
0178 T8 = FRAMELESS_ICALL_2(implode) string(", ") CV6($cb)
0179 T9 = FAST_CONCAT string("[ ") T8
0180 T8 = FAST_CONCAT T9 string(" ]")
0181 ASSIGN CV6($cb) T8
0182 V8 = NEW 1 string("UnexpectedValueException")
0183 T10 = ROPE_INIT 3 string("callback '")
0184 T10 = ROPE_ADD 1 T10 CV6($cb)
0185 T9 = ROPE_END 2 T10 string("' is not callable")
0186 SEND_VAL_EX T9 1
0187 DO_FCALL
0188 THROW V8
0189 INIT_DYNAMIC_CALL 2 CV6($cb)
0190 CHECK_FUNC_ARG 1
0191 V9 = FETCH_DIM_FUNC_ARG CV0($info) string("credits")
0192 V8 = FETCH_DIM_FUNC_ARG V9 CV4($name)
0193 SEND_FUNC_ARG V8 1
0194 SEND_VAR_EX CV5($settings) 2
0195 DO_FCALL
0196 JMP 0170
0197 FE_FREE V7
0198 RETURN null
LIVE RANGES:
7: 0003 - 0093 (loop)
9: 0055 - 0056 (tmp/var)
9: 0063 - 0064 (tmp/var)
9: 0072 - 0073 (tmp/var)
9: 0083 - 0084 (tmp/var)
8: 0087 - 0092 (new)
10: 0087 - 0089 (rope)
7: 0110 - 0138 (loop)
8: 0127 - 0137 (new)
11: 0127 - 0130 (rope)
10: 0131 - 0134 (tmp/var)
7: 0170 - 0197 (loop)
8: 0183 - 0188 (new)
10: 0183 - 0185 (rope)
ExtensionRegistry::isLoaded:
; (lines=30, args=2, vars=4, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:573-586
0000 CV0($name) = RECV 1
0001 CV1($constraint) = RECV_INIT 2 string("*")
0002 T4 = FETCH_OBJ_IS THIS string("loaded")
0003 CV2($isLoaded) = ISSET_ISEMPTY_DIM_OBJ (isset) T4 CV0($name)
0004 T4 = IS_IDENTICAL CV1($constraint) string("*")
0005 JMPNZ T4 0007
0006 JMPNZ CV2($isLoaded) 0008
0007 RETURN CV2($isLoaded)
0008 T4 = FETCH_OBJ_IS THIS string("loaded")
0009 T5 = FETCH_DIM_IS T4 CV0($name)
0010 T4 = ISSET_ISEMPTY_DIM_OBJ (isset) T5 string("version")
0011 JMPNZ T4 0021
0012 T4 = FAST_CONCAT CV0($name) string(" does not expose its version, but an extension or a skin")
0013 T6 = ROPE_INIT 3 string(" requires: ")
0014 T6 = ROPE_ADD 1 T6 CV1($constraint)
0015 T5 = ROPE_END 2 T6 string(".")
0016 CV3($msg) = FAST_CONCAT T4 T5
0017 V4 = NEW 1 string("LogicException")
0018 SEND_VAR_EX CV3($msg) 1
0019 DO_FCALL
0020 THROW V4
0021 INIT_STATIC_METHOD_CALL 2 string("Composer\\Semver\\Semver") string("satisfies")
0022 CHECK_FUNC_ARG 1
0023 V4 = FETCH_OBJ_FUNC_ARG THIS string("loaded")
0024 V5 = FETCH_DIM_FUNC_ARG V4 CV0($name)
0025 V4 = FETCH_DIM_FUNC_ARG V5 string("version")
0026 SEND_FUNC_ARG V4 1
0027 SEND_VAR_EX CV1($constraint) 2
0028 V4 = DO_FCALL
0029 RETURN V4
LIVE RANGES:
4: 0013 - 0016 (tmp/var)
6: 0013 - 0015 (rope)
4: 0018 - 0020 (new)
ExtensionRegistry::getAttribute:
; (lines=19, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:592-602
0000 CV0($name) = RECV 1
0001 T2 = FETCH_OBJ_IS THIS string("testAttributes")
0002 T1 = ISSET_ISEMPTY_DIM_OBJ (isset) T2 CV0($name)
0003 JMPZ T1 0007
0004 T2 = FETCH_OBJ_R THIS string("testAttributes")
0005 T1 = FETCH_DIM_R T2 CV0($name)
0006 RETURN T1
0007 T1 = FRAMELESS_ICALL_3(in_array) CV0($name) array(...)
0008 OP_DATA bool(true)
0009 JMPZ T1 0014
0010 INIT_METHOD_CALL 1 THIS string("getLazyLoadedAttribute")
0011 SEND_VAR CV0($name) 1
0012 V1 = DO_FCALL
0013 RETURN V1
0014 T1 = FETCH_OBJ_IS THIS string("attributes")
0015 T2 = FETCH_DIM_IS T1 CV0($name)
0016 T1 = COALESCE T2 0018
0017 T1 = QM_ASSIGN array(...)
0018 RETURN T1
ExtensionRegistry::getLazyLoadedAttribute:
; (lines=58, args=1, vars=7, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:610-640
0000 CV0($name) = RECV 1
0001 T8 = FETCH_OBJ_IS THIS string("testAttributes")
0002 T7 = ISSET_ISEMPTY_DIM_OBJ (isset) T8 CV0($name)
0003 JMPZ T7 0007
0004 T8 = FETCH_OBJ_R THIS string("testAttributes")
0005 T7 = FETCH_DIM_R T8 CV0($name)
0006 RETURN T7
0007 T8 = FETCH_OBJ_IS THIS string("lazyAttributes")
0008 T7 = ISSET_ISEMPTY_DIM_OBJ (isset) T8 CV0($name)
0009 JMPZ T7 0013
0010 T8 = FETCH_OBJ_R THIS string("lazyAttributes")
0011 T7 = FETCH_DIM_R T8 CV0($name)
0012 RETURN T7
0013 INIT_METHOD_CALL 0 THIS string("getCache")
0014 V7 = DO_UCALL
0015 CV1($cache) = QM_ASSIGN V7
0016 INIT_METHOD_CALL 3 THIS string("makeCacheKey")
0017 SEND_VAR CV1($cache) 1
0018 SEND_VAL string("lazy-attrib") 2
0019 SEND_VAR CV0($name) 3
0020 V7 = DO_UCALL
0021 CV2($key) = QM_ASSIGN V7
0022 INIT_METHOD_CALL 1 CV1($cache) string("get")
0023 SEND_VAR_EX CV2($key) 1
0024 V7 = DO_FCALL
0025 CV3($data) = QM_ASSIGN V7
0026 T7 = TYPE_CHECK TYPE [null, true, long, double, string, array, object, resource] CV3($data)
0027 JMPZ T7 0032
0028 V7 = FETCH_OBJ_W (dim write) THIS string("lazyAttributes")
0029 ASSIGN_DIM V7 CV0($name)
0030 OP_DATA CV3($data)
0031 RETURN CV3($data)
0032 CV4($paths) = QM_ASSIGN array(...)
0033 T8 = FETCH_OBJ_R THIS string("loaded")
0034 V7 = FE_RESET_R T8 0040
0035 FE_FETCH_R V7 CV5($info) 0040
0036 T8 = FETCH_DIM_R CV5($info) string("path")
0037 ASSIGN_DIM CV4($paths) T8
0038 OP_DATA int(1)
0039 JMP 0035
0040 FE_FREE V7
0041 INIT_METHOD_CALL 1 THIS string("readFromQueue")
0042 SEND_VAR CV4($paths) 1
0043 V7 = DO_FCALL
0044 CV6($result) = QM_ASSIGN V7
0045 T7 = FETCH_DIM_IS CV6($result) string("attributes")
0046 T8 = FETCH_DIM_IS T7 CV0($name)
0047 T7 = COALESCE T8 0049
0048 T7 = QM_ASSIGN array(...)
0049 CV3($data) = QM_ASSIGN T7
0050 INIT_METHOD_CALL 2 THIS string("saveToCache")
0051 SEND_VAR CV1($cache) 1
0052 SEND_VAR CV6($result) 2
0053 DO_FCALL
0054 V7 = FETCH_OBJ_W (dim write) THIS string("lazyAttributes")
0055 ASSIGN_DIM V7 CV0($name)
0056 OP_DATA CV3($data)
0057 RETURN CV3($data)
LIVE RANGES:
7: 0035 - 0040 (loop)
ExtensionRegistry::setAttributeForTest:
; (lines=27, args=2, vars=2, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:650-663
0000 CV0($name) = RECV 1
0001 CV1($value) = RECV 2
0002 T2 = DEFINED string("MW_PHPUNIT_TEST")
0003 JMPNZ T2 0008
0004 V2 = NEW 1 string("LogicException")
0005 SEND_VAL_EX string("ExtensionRegistry::setAttributeForTest can only be used in tests") 1
0006 DO_FCALL
0007 THROW V2
0008 T3 = FETCH_OBJ_IS THIS string("testAttributes")
0009 T2 = ISSET_ISEMPTY_DIM_OBJ (isset) T3 CV0($name)
0010 JMPZ T2 0018
0011 V2 = NEW 1 string("InvalidArgumentException")
0012 T4 = ROPE_INIT 3 string("The attribute '")
0013 T4 = ROPE_ADD 1 T4 CV0($name)
0014 T3 = ROPE_END 2 T4 string("' has already been overridden")
0015 SEND_VAL_EX T3 1
0016 DO_FCALL
0017 THROW V2
0018 V2 = FETCH_OBJ_W (dim write) THIS string("testAttributes")
0019 ASSIGN_DIM V2 CV0($name)
0020 OP_DATA CV1($value)
0021 V2 = NEW 1 string("Wikimedia\\ScopedCallback")
0022 T3 = DECLARE_LAMBDA_FUNCTION 0
0023 BIND_LEXICAL T3 CV0($name)
0024 SEND_VAL_EX T3 1
0025 DO_FCALL
0026 RETURN V2
LIVE RANGES:
2: 0005 - 0007 (new)
2: 0012 - 0017 (new)
4: 0012 - 0014 (rope)
2: 0022 - 0026 (new)
3: 0023 - 0024 (tmp/var)
{closure:ExtensionRegistry::setAttributeForTest():660}:
; (lines=4, args=0, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:660-662
0000 BIND_STATIC CV0($name)
0001 V1 = FETCH_OBJ_UNSET THIS string("testAttributes")
0002 UNSET_DIM V1 CV0($name)
0003 RETURN null
ExtensionRegistry::getAllThings:
; (lines=2, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:670-672
0000 T0 = FETCH_OBJ_R THIS string("loaded")
0001 RETURN T0
ExtensionRegistry::processAutoLoader:
; (lines=11, args=2, vars=3, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:681-687
0000 CV0($dir) = RECV 1
0001 CV1($files) = RECV 2
0002 V3 = FE_RESET_RW CV1($files) 0009
0003 FE_FETCH_RW V3 CV2($file) 0009
0004 T5 = ROPE_INIT 3 CV0($dir)
0005 T5 = ROPE_ADD 1 T5 string("/")
0006 T4 = ROPE_END 2 T5 CV2($file)
0007 ASSIGN CV2($file) T4
0008 JMP 0003
0009 FE_FREE V3
0010 RETURN CV1($files)
LIVE RANGES:
3: 0003 - 0009 (loop)
5: 0004 - 0006 (rope)
ExtensionRegistry::setSettingsBuilder:
; (lines=4, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:693-695
0000 CV0($settingsBuilder) = RECV 1
0001 ASSIGN_OBJ THIS string("settingsBuilder")
0002 OP_DATA CV0($settingsBuilder)
0003 RETURN null
ExtensionRegistry::getSettingsBuilder:
; (lines=10, args=0, vars=0, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/registration/ExtensionRegistry.php:697-702
0000 T1 = FETCH_OBJ_R THIS string("settingsBuilder")
0001 T0 = TYPE_CHECK (null) T1
0002 JMPZ T0 0007
0003 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Settings\\SettingsBuilder") string("getInstance")
0004 V0 = DO_FCALL
0005 ASSIGN_OBJ THIS string("settingsBuilder")
0006 OP_DATA V0
0007 T0 = FETCH_OBJ_R THIS string("settingsBuilder")
0008 VERIFY_RETURN_TYPE T0
0009 RETURN T0
LIVE RANGES:
0: 0008 - 0009 (tmp/var)
$_main:
; (lines=2, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/GlobalConfigBuilder.php:1-75
0000 DECLARE_CLASS_DELAYED string("mediawiki\\settings\\config\\globalconfigbuilder") string("mediawiki\\settings\\config\\configbuilderbase")
0001 RETURN int(1)
MediaWiki\Settings\Config\GlobalConfigBuilder::__construct:
; (lines=4, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/GlobalConfigBuilder.php:20-22
0000 CV0($prefix) = RECV_INIT 1 zval(type=11)
0001 ASSIGN_OBJ THIS string("prefix")
0002 OP_DATA CV0($prefix)
0003 RETURN null
MediaWiki\Settings\Config\GlobalConfigBuilder::has:
; (lines=10, args=1, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/GlobalConfigBuilder.php:24-31
0000 CV0($key) = RECV 1
0001 INIT_METHOD_CALL 1 THIS string("getVarName")
0002 SEND_VAR CV0($key) 1
0003 V2 = DO_FCALL
0004 CV1($var) = QM_ASSIGN V2
0005 T2 = ISSET_ISEMPTY_VAR (global) (isset) CV1($var)
0006 T2 = JMPNZ_EX T2 0009
0007 T3 = FETCH_GLOBALS
0008 T2 = ARRAY_KEY_EXISTS CV1($var) T3
0009 RETURN T2
MediaWiki\Settings\Config\GlobalConfigBuilder::get:
; (lines=9, args=1, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/GlobalConfigBuilder.php:33-36
0000 CV0($key) = RECV 1
0001 INIT_METHOD_CALL 1 THIS string("getVarName")
0002 SEND_VAR CV0($key) 1
0003 V2 = DO_FCALL
0004 CV1($var) = QM_ASSIGN V2
0005 T3 = FETCH_IS (global) CV1($var)
0006 T2 = COALESCE T3 0008
0007 T2 = QM_ASSIGN null
0008 RETURN T2
MediaWiki\Settings\Config\GlobalConfigBuilder::update:
; (lines=9, args=2, vars=3, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/GlobalConfigBuilder.php:38-41
0000 CV0($key) = RECV 1
0001 CV1($value) = RECV 2
0002 INIT_METHOD_CALL 1 THIS string("getVarName")
0003 SEND_VAR CV0($key) 1
0004 V3 = DO_FCALL
0005 CV2($var) = QM_ASSIGN V3
0006 V3 = FETCH_W (global) CV2($var)
0007 ASSIGN V3 CV1($value)
0008 RETURN null
MediaWiki\Settings\Config\GlobalConfigBuilder::setMulti:
; (lines=38, args=2, vars=7, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/GlobalConfigBuilder.php:43-65
0000 CV0($values) = RECV 1
0001 CV1($mergeStrategies) = RECV_INIT 2 array(...)
0002 V7 = FE_RESET_R CV0($values) 0034
0003 T8 = FE_FETCH_R V7 CV2($newValue) 0034
0004 ASSIGN CV3($key) T8
0005 T9 = FETCH_OBJ_R THIS string("prefix")
0006 T8 = CONCAT T9 CV3($key)
0007 ASSIGN CV4($var) T8
0008 T8 = ISSET_ISEMPTY_VAR (global) (isset) CV4($var)
0009 JMPZ T8 0031
0010 T8 = ARRAY_KEY_EXISTS CV3($key) CV1($mergeStrategies)
0011 JMPZ T8 0031
0012 T8 = FETCH_DIM_R CV1($mergeStrategies) CV3($key)
0013 ASSIGN CV5($mergeStrategy) T8
0014 JMPZ CV5($mergeStrategy) 0031
0015 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Config\\is_array")
0016 SEND_VAR_EX CV2($newValue) 1
0017 V8 = DO_FCALL_BY_NAME
0018 JMPZ V8 0031
0019 T8 = FETCH_R (global) CV4($var)
0020 ASSIGN CV6($oldValue) T8
0021 JMPZ CV6($oldValue) 0031
0022 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Config\\is_array")
0023 SEND_VAR_EX CV6($oldValue) 1
0024 V8 = DO_FCALL_BY_NAME
0025 JMPZ V8 0031
0026 INIT_METHOD_CALL 2 CV5($mergeStrategy) string("merge")
0027 SEND_VAR_EX CV6($oldValue) 1
0028 SEND_VAR_EX CV2($newValue) 2
0029 V8 = DO_FCALL
0030 ASSIGN CV2($newValue) V8
0031 V8 = FETCH_W (global) CV4($var)
0032 ASSIGN V8 CV2($newValue)
0033 JMP 0003
0034 FE_FREE V7
0035 T7 = FETCH_THIS
0036 VERIFY_RETURN_TYPE T7
0037 RETURN T7
LIVE RANGES:
7: 0003 - 0034 (loop)
7: 0036 - 0037 (tmp/var)
MediaWiki\Settings\Config\GlobalConfigBuilder::getVarName:
; (lines=4, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/GlobalConfigBuilder.php:67-69
0000 CV0($key) = RECV 1
0001 T2 = FETCH_OBJ_R THIS string("prefix")
0002 T1 = CONCAT T2 CV0($key)
0003 RETURN T1
MediaWiki\Settings\Config\GlobalConfigBuilder::build:
; (lines=7, args=0, vars=0, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/GlobalConfigBuilder.php:71-73
0000 V0 = NEW 1 string("MediaWiki\\Config\\GlobalVarConfig")
0001 CHECK_FUNC_ARG 1
0002 V1 = FETCH_OBJ_FUNC_ARG (ref) THIS string("prefix")
0003 SEND_FUNC_ARG V1 1
0004 DO_FCALL
0005 VERIFY_RETURN_TYPE V0
0006 RETURN V0
LIVE RANGES:
0: 0001 - 0005 (new)
0: 0005 - 0006 (tmp/var)
$_main:
; (lines=2, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigBuilderBase.php:1-73
0000 DECLARE_CLASS string("mediawiki\\settings\\config\\configbuilderbase")
0001 RETURN int(1)
MediaWiki\Settings\Config\ConfigBuilderBase::set:
; (lines=33, args=3, vars=4, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigBuilderBase.php:14-27
0000 CV0($key) = RECV 1
0001 CV1($newValue) = RECV 2
0002 CV2($mergeStrategy) = RECV_INIT 3 null
0003 JMPZ CV2($mergeStrategy) 0026
0004 INIT_METHOD_CALL 1 THIS string("has")
0005 SEND_VAR CV0($key) 1
0006 V4 = DO_FCALL
0007 JMPZ V4 0026
0008 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Config\\is_array")
0009 SEND_VAR_EX CV1($newValue) 1
0010 V4 = DO_FCALL_BY_NAME
0011 JMPZ V4 0026
0012 INIT_METHOD_CALL 1 THIS string("get")
0013 SEND_VAR_EX CV0($key) 1
0014 V4 = DO_FCALL
0015 CV3($oldValue) = QM_ASSIGN V4
0016 JMPZ CV3($oldValue) 0026
0017 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Config\\is_array")
0018 SEND_VAR_EX CV3($oldValue) 1
0019 V4 = DO_FCALL_BY_NAME
0020 JMPZ V4 0026
0021 INIT_METHOD_CALL 2 CV2($mergeStrategy) string("merge")
0022 SEND_VAR_EX CV3($oldValue) 1
0023 SEND_VAR_EX CV1($newValue) 2
0024 V4 = DO_FCALL
0025 ASSIGN CV1($newValue) V4
0026 INIT_METHOD_CALL 2 THIS string("update")
0027 SEND_VAR CV0($key) 1
0028 SEND_VAR CV1($newValue) 2
0029 DO_FCALL
0030 T4 = FETCH_THIS
0031 VERIFY_RETURN_TYPE T4
0032 RETURN T4
LIVE RANGES:
4: 0031 - 0032 (tmp/var)
MediaWiki\Settings\Config\ConfigBuilderBase::setMulti:
; (lines=18, args=2, vars=4, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigBuilderBase.php:32-37
0000 CV0($values) = RECV 1
0001 CV1($mergeStrategies) = RECV_INIT 2 array(...)
0002 V4 = FE_RESET_R CV0($values) 0014
0003 T5 = FE_FETCH_R V4 CV2($value) 0014
0004 ASSIGN CV3($key) T5
0005 INIT_METHOD_CALL 3 THIS string("set")
0006 SEND_VAR CV3($key) 1
0007 SEND_VAR CV2($value) 2
0008 T6 = FETCH_DIM_IS CV1($mergeStrategies) CV3($key)
0009 T5 = COALESCE T6 0011
0010 T5 = QM_ASSIGN null
0011 SEND_VAL T5 3
0012 DO_FCALL
0013 JMP 0003
0014 FE_FREE V4
0015 T4 = FETCH_THIS
0016 VERIFY_RETURN_TYPE T4
0017 RETURN T4
LIVE RANGES:
4: 0003 - 0014 (loop)
4: 0016 - 0017 (tmp/var)
MediaWiki\Settings\Config\ConfigBuilderBase::setDefault:
; (lines=38, args=3, vars=5, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigBuilderBase.php:42-60
0000 CV0($key) = RECV 1
0001 CV1($defaultValue) = RECV 2
0002 CV2($mergeStrategy) = RECV_INIT 3 null
0003 INIT_METHOD_CALL 1 THIS string("has")
0004 SEND_VAR CV0($key) 1
0005 V5 = DO_FCALL
0006 JMPZ V5 0031
0007 JMPZ CV2($mergeStrategy) 0035
0008 JMPZ CV1($defaultValue) 0035
0009 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Config\\is_array")
0010 SEND_VAR_EX CV1($defaultValue) 1
0011 V5 = DO_FCALL_BY_NAME
0012 JMPZ V5 0035
0013 INIT_METHOD_CALL 1 THIS string("get")
0014 SEND_VAR_EX CV0($key) 1
0015 V5 = DO_FCALL
0016 CV3($customValue) = QM_ASSIGN V5
0017 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Config\\is_array")
0018 SEND_VAR_EX CV3($customValue) 1
0019 V5 = DO_FCALL_BY_NAME
0020 JMPZ V5 0035
0021 INIT_METHOD_CALL 2 CV2($mergeStrategy) string("merge")
0022 SEND_VAR_EX CV1($defaultValue) 1
0023 SEND_VAR_EX CV3($customValue) 2
0024 V5 = DO_FCALL
0025 CV4($newValue) = QM_ASSIGN V5
0026 INIT_METHOD_CALL 2 THIS string("update")
0027 SEND_VAR CV0($key) 1
0028 SEND_VAR CV4($newValue) 2
0029 DO_FCALL
0030 JMP 0035
0031 INIT_METHOD_CALL 2 THIS string("update")
0032 SEND_VAR CV0($key) 1
0033 SEND_VAR CV1($defaultValue) 2
0034 DO_FCALL
0035 T5 = FETCH_THIS
0036 VERIFY_RETURN_TYPE T5
0037 RETURN T5
LIVE RANGES:
5: 0036 - 0037 (tmp/var)
MediaWiki\Settings\Config\ConfigBuilderBase::setMultiDefault:
; (lines=18, args=2, vars=4, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigBuilderBase.php:65-70
0000 CV0($defaults) = RECV 1
0001 CV1($mergeStrategies) = RECV 2
0002 V4 = FE_RESET_R CV0($defaults) 0014
0003 T5 = FE_FETCH_R V4 CV2($defaultValue) 0014
0004 ASSIGN CV3($key) T5
0005 INIT_METHOD_CALL 3 THIS string("setDefault")
0006 SEND_VAR CV3($key) 1
0007 SEND_VAR CV2($defaultValue) 2
0008 T6 = FETCH_DIM_IS CV1($mergeStrategies) CV3($key)
0009 T5 = COALESCE T6 0011
0010 T5 = QM_ASSIGN null
0011 SEND_VAL T5 3
0012 DO_FCALL
0013 JMP 0003
0014 FE_FREE V4
0015 T4 = FETCH_THIS
0016 VERIFY_RETURN_TYPE T4
0017 RETURN T4
LIVE RANGES:
4: 0003 - 0014 (loop)
4: 0016 - 0017 (tmp/var)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigBuilder.php:1-74
0000 RETURN int(1)
$_main:
; (lines=2, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/PhpIniSink.php:1-39
0000 DECLARE_CLASS string("mediawiki\\settings\\config\\phpinisink")
0001 RETURN int(1)
MediaWiki\Settings\Config\PhpIniSink::set:
; (lines=20, args=2, vars=4, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/PhpIniSink.php:23-36
0000 CV0($option) = RECV 1
0001 CV1($value) = RECV 2
0002 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\Config\\ini_set")
0003 SEND_VAR_EX CV0($option) 1
0004 SEND_VAR_EX CV1($value) 2
0005 V4 = DO_FCALL_BY_NAME
0006 CV2($result) = QM_ASSIGN V4
0007 T4 = TYPE_CHECK (false) CV2($result)
0008 JMPZ T4 0019
0009 INIT_METHOD_CALL 2 THIS string("getMessageFromNormalizedMessage")
0010 SEND_VAL_EX string("Could not set option: {option} with value: {value} to PHP_INI config.") 1
0011 T4 = INIT_ARRAY 2 CV1($value) string("value")
0012 T4 = ADD_ARRAY_ELEMENT CV0($option) string("option")
0013 SEND_VAL_EX T4 2
0014 V4 = DO_FCALL
0015 CV3($msg) = QM_ASSIGN V4
0016 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Config\\trigger_error")
0017 SEND_VAR_EX CV3($msg) 1
0018 DO_FCALL_BY_NAME
0019 RETURN null
LIVE RANGES:
4: 0012 - 0013 (tmp/var)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/normalized-exception/src/NormalizedExceptionTrait.php:1-57
0000 RETURN int(1)
Wikimedia\NormalizedException\NormalizedExceptionTrait::getMessageFromNormalizedMessage:
; (lines=36, args=2, vars=6, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/normalized-exception/src/NormalizedExceptionTrait.php:31-44
0000 CV0($normalizedMessage) = RECV 1
0001 CV1($context) = RECV 2
0002 CV2($replacements) = QM_ASSIGN array(...)
0003 V6 = FE_RESET_R CV1($context) 0027
0004 T7 = FE_FETCH_R V6 CV3($value) 0027
0005 ASSIGN CV4($placeholder) T7
0006 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\NormalizedException\\is_bool")
0007 SEND_VAR_EX CV3($value) 1
0008 V7 = DO_FCALL_BY_NAME
0009 JMPZ V7 0016
0010 JMPZ CV3($value) 0013
0011 T7 = QM_ASSIGN string("<true>")
0012 JMP 0014
0013 T7 = QM_ASSIGN string("<false>")
0014 ASSIGN CV5($stringValue) T7
0015 JMP 0022
0016 T7 = TYPE_CHECK (null) CV3($value)
0017 JMPZ T7 0020
0018 ASSIGN CV5($stringValue) string("<null>")
0019 JMP 0022
0020 T7 = CAST (string) CV3($value)
0021 ASSIGN CV5($stringValue) T7
0022 T8 = FAST_CONCAT string("{") CV4($placeholder)
0023 T7 = FAST_CONCAT T8 string("}")
0024 ASSIGN_DIM CV2($replacements) T7
0025 OP_DATA CV5($stringValue)
0026 JMP 0004
0027 FE_FREE V6
0028 JMP_FRAMELESS 16 string("wikimedia\\normalizedexception\\strtr") 0034
0029 INIT_NS_FCALL_BY_NAME 2 string("Wikimedia\\NormalizedException\\strtr")
0030 SEND_VAR_EX CV0($normalizedMessage) 1
0031 SEND_VAR_EX CV2($replacements) 2
0032 V6 = DO_FCALL_BY_NAME
0033 RETURN V6
0034 V6 = FRAMELESS_ICALL_2(strtr) CV0($normalizedMessage) CV2($replacements)
0035 RETURN V6
LIVE RANGES:
6: 0004 - 0027 (loop)
Wikimedia\NormalizedException\NormalizedExceptionTrait::getNormalizedMessage:
; (lines=3, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/normalized-exception/src/NormalizedExceptionTrait.php:47-49
0000 T0 = FETCH_OBJ_R THIS string("normalizedMessage")
0001 VERIFY_RETURN_TYPE T0
0002 RETURN T0
LIVE RANGES:
0: 0001 - 0002 (tmp/var)
Wikimedia\NormalizedException\NormalizedExceptionTrait::getMessageContext:
; (lines=3, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/normalized-exception/src/NormalizedExceptionTrait.php:52-54
0000 T0 = FETCH_OBJ_R THIS string("messageContext")
0001 VERIFY_RETURN_TYPE T0
0002 RETURN T0
LIVE RANGES:
0: 0001 - 0002 (tmp/var)
$_main:
; (lines=2, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:1-520
0000 DECLARE_CLASS string("mediawiki\\settings\\config\\configschemaaggregator")
0001 RETURN int(1)
MediaWiki\Settings\Config\ConfigSchemaAggregator::addSchema:
; (lines=50, args=3, vars=3, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:52-69
0000 CV0($key) = RECV 1
0001 CV1($schema) = RECV 2
0002 CV2($sourceName) = RECV_INIT 3 string("unknown")
0003 T3 = ISSET_ISEMPTY_DIM_OBJ (isset) CV1($schema) string("properties")
0004 JMPZ T3 0010
0005 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("getDefaultFromJsonSchema")
0006 SEND_VAR_EX CV1($schema) 1
0007 V3 = DO_FCALL
0008 ASSIGN_DIM CV1($schema) string("default")
0009 OP_DATA V3
0010 V3 = FETCH_OBJ_W (dim write) THIS string("schemas")
0011 ASSIGN_DIM V3 CV0($key)
0012 OP_DATA CV1($schema)
0013 INIT_METHOD_CALL 5 THIS string("setListValueInternal")
0014 SEND_VAR CV1($schema) 1
0015 V3 = FETCH_OBJ_W (ref) THIS string("defaults")
0016 SEND_REF V3 2
0017 SEND_VAR CV0($key) 3
0018 SEND_VAL string("default") 4
0019 SEND_VAR CV2($sourceName) 5
0020 DO_FCALL
0021 INIT_METHOD_CALL 5 THIS string("setListValueInternal")
0022 SEND_VAR CV1($schema) 1
0023 V3 = FETCH_OBJ_W (ref) THIS string("types")
0024 SEND_REF V3 2
0025 SEND_VAR CV0($key) 3
0026 SEND_VAL string("type") 4
0027 SEND_VAR CV2($sourceName) 5
0028 DO_FCALL
0029 INIT_METHOD_CALL 5 THIS string("setListValueInternal")
0030 SEND_VAR CV1($schema) 1
0031 V3 = FETCH_OBJ_W (ref) THIS string("mergeStrategies")
0032 SEND_REF V3 2
0033 SEND_VAR CV0($key) 3
0034 SEND_VAL string("mergeStrategy") 4
0035 SEND_VAR CV2($sourceName) 5
0036 DO_FCALL
0037 INIT_METHOD_CALL 5 THIS string("setListValueInternal")
0038 SEND_VAR CV1($schema) 1
0039 V3 = FETCH_OBJ_W (ref) THIS string("dynamicDefaults")
0040 SEND_REF V3 2
0041 SEND_VAR CV0($key) 3
0042 SEND_VAL string("dynamicDefault") 4
0043 SEND_VAR CV2($sourceName) 5
0044 DO_FCALL
0045 T3 = ISSET_ISEMPTY_DIM_OBJ (isset) CV1($schema) string("mergeStrategy")
0046 JMPZ T3 0049
0047 ASSIGN_OBJ THIS string("mergeStrategyCache")
0048 OP_DATA null
0049 RETURN null
MediaWiki\Settings\Config\ConfigSchemaAggregator::setListValueInternal:
; (lines=23, args=5, vars=5, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:84-97
0000 CV0($schema) = RECV 1
0001 CV1($target) = RECV 2
0002 CV2($key) = RECV 3
0003 CV3($fieldName) = RECV 4
0004 CV4($sourceName) = RECV 5
0005 T5 = ARRAY_KEY_EXISTS CV3($fieldName) CV0($schema)
0006 JMPZ T5 0022
0007 T5 = ARRAY_KEY_EXISTS CV2($key) CV1($target)
0008 JMPZ T5 0019
0009 V5 = NEW 2 string("MediaWiki\\Settings\\SettingsBuilderException")
0010 T7 = ROPE_INIT 3 string("Overriding ")
0011 T7 = ROPE_ADD 1 T7 CV3($fieldName)
0012 T6 = ROPE_END 2 T7 string(" in schema for {key} from {source}")
0013 SEND_VAL_EX T6 1
0014 T6 = INIT_ARRAY 2 CV4($sourceName) string("source")
0015 T6 = ADD_ARRAY_ELEMENT CV2($key) string("key")
0016 SEND_VAL_EX T6 2
0017 DO_FCALL
0018 THROW V5
0019 T5 = FETCH_DIM_R CV0($schema) CV3($fieldName)
0020 ASSIGN_DIM CV1($target) CV2($key)
0021 OP_DATA T5
0022 RETURN null
LIVE RANGES:
5: 0010 - 0018 (new)
7: 0010 - 0012 (rope)
6: 0015 - 0016 (tmp/var)
MediaWiki\Settings\Config\ConfigSchemaAggregator::addSchemaMulti:
; (lines=11, args=1, vars=3, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:107-111
0000 CV0($schemas) = RECV 1
0001 V3 = FE_RESET_R CV0($schemas) 0009
0002 T4 = FE_FETCH_R V3 CV1($sch) 0009
0003 ASSIGN CV2($key) T4
0004 INIT_METHOD_CALL 2 THIS string("addSchema")
0005 SEND_VAR CV2($key) 1
0006 SEND_VAR CV1($sch) 2
0007 DO_FCALL
0008 JMP 0002
0009 FE_FREE V3
0010 RETURN null
LIVE RANGES:
3: 0002 - 0009 (loop)
MediaWiki\Settings\Config\ConfigSchemaAggregator::mergeListInternal:
; (lines=62, args=4, vars=5, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:125-137
0000 CV0($values) = RECV 1
0001 CV1($target) = RECV 2
0002 CV2($fieldName) = RECV 3
0003 CV3($sourceName) = RECV 4
0004 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\Config\\array_merge")
0005 SEND_VAR_EX CV1($target) 1
0006 SEND_VAR_EX CV0($values) 2
0007 V5 = DO_FCALL_BY_NAME
0008 CV4($merged) = QM_ASSIGN V5
0009 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Config\\count")
0010 SEND_VAR_EX CV4($merged) 1
0011 V6 = DO_FCALL_BY_NAME
0012 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Config\\count")
0013 SEND_VAR_EX CV1($target) 1
0014 V5 = DO_FCALL_BY_NAME
0015 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Config\\count")
0016 SEND_VAR_EX CV0($values) 1
0017 V8 = DO_FCALL_BY_NAME
0018 T7 = ADD V5 V8
0019 T5 = IS_SMALLER V6 T7
0020 JMPZ T5 0060
0021 V5 = NEW 2 string("MediaWiki\\Settings\\SettingsBuilderException")
0022 SEND_VAL_EX string("Overriding config {field} from {source}") 1
0023 T6 = INIT_ARRAY 4 CV2($fieldName) string("field")
0024 T6 = ADD_ARRAY_ELEMENT CV3($sourceName) string("source")
0025 JMP_FRAMELESS 32 string("mediawiki\\settings\\config\\implode") 0035
0026 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\Config\\implode")
0027 SEND_VAL_EX string(", ") 1
0028 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\Config\\array_intersect_key")
0029 SEND_VAR_EX CV1($target) 1
0030 SEND_VAR_EX CV0($values) 2
0031 V7 = DO_FCALL_BY_NAME
0032 SEND_VAR_NO_REF_EX V7 2
0033 V7 = DO_FCALL_BY_NAME
0034 JMP 0040
0035 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\Config\\array_intersect_key")
0036 SEND_VAR_EX CV1($target) 1
0037 SEND_VAR_EX CV0($values) 2
0038 V8 = DO_FCALL_BY_NAME
0039 V7 = FRAMELESS_ICALL_2(implode) string(", ") V8
0040 T6 = ADD_ARRAY_ELEMENT V7 string("old_values")
0041 JMP_FRAMELESS 56 string("mediawiki\\settings\\config\\implode") 0051
0042 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\Config\\implode")
0043 SEND_VAL_EX string(", ") 1
0044 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\Config\\array_intersect_key")
0045 SEND_VAR_EX CV0($values) 1
0046 SEND_VAR_EX CV1($target) 2
0047 V7 = DO_FCALL_BY_NAME
0048 SEND_VAR_NO_REF_EX V7 2
0049 V7 = DO_FCALL_BY_NAME
0050 JMP 0056
0051 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\Config\\array_intersect_key")
0052 SEND_VAR_EX CV0($values) 1
0053 SEND_VAR_EX CV1($target) 2
0054 V8 = DO_FCALL_BY_NAME
0055 V7 = FRAMELESS_ICALL_2(implode) string(", ") V8
0056 T6 = ADD_ARRAY_ELEMENT V7 string("new_values")
0057 SEND_VAL_EX T6 2
0058 DO_FCALL
0059 THROW V5
0060 ASSIGN CV1($target) CV4($merged)
0061 RETURN null
LIVE RANGES:
6: 0012 - 0019 (tmp/var)
5: 0015 - 0018 (tmp/var)
5: 0022 - 0059 (new)
6: 0024 - 0057 (tmp/var)
MediaWiki\Settings\Config\ConfigSchemaAggregator::addDefaults:
; (lines=10, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:145-147
0000 CV0($defaults) = RECV 1
0001 CV1($sourceName) = RECV_INIT 2 string("unknown")
0002 INIT_METHOD_CALL 4 THIS string("mergeListInternal")
0003 SEND_VAR CV0($defaults) 1
0004 V2 = FETCH_OBJ_W (ref) THIS string("defaults")
0005 SEND_REF V2 2
0006 SEND_VAL string("defaults") 3
0007 SEND_VAR CV1($sourceName) 4
0008 DO_UCALL
0009 RETURN null
MediaWiki\Settings\Config\ConfigSchemaAggregator::addTypes:
; (lines=10, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:155-157
0000 CV0($types) = RECV 1
0001 CV1($sourceName) = RECV_INIT 2 string("unknown")
0002 INIT_METHOD_CALL 4 THIS string("mergeListInternal")
0003 SEND_VAR CV0($types) 1
0004 V2 = FETCH_OBJ_W (ref) THIS string("types")
0005 SEND_REF V2 2
0006 SEND_VAL string("types") 3
0007 SEND_VAR CV1($sourceName) 4
0008 DO_UCALL
0009 RETURN null
MediaWiki\Settings\Config\ConfigSchemaAggregator::addMergeStrategies:
; (lines=12, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:165-175
0000 CV0($mergeStrategies) = RECV 1
0001 CV1($sourceName) = RECV_INIT 2 string("unknown")
0002 INIT_METHOD_CALL 4 THIS string("mergeListInternal")
0003 SEND_VAR CV0($mergeStrategies) 1
0004 V2 = FETCH_OBJ_W (ref) THIS string("mergeStrategies")
0005 SEND_REF V2 2
0006 SEND_VAL string("mergeStrategies") 3
0007 SEND_VAR CV1($sourceName) 4
0008 DO_UCALL
0009 ASSIGN_OBJ THIS string("mergeStrategyCache")
0010 OP_DATA null
0011 RETURN null
MediaWiki\Settings\Config\ConfigSchemaAggregator::addDynamicDefaults:
; (lines=10, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:185-192
0000 CV0($dynamicDefaults) = RECV 1
0001 CV1($sourceName) = RECV_INIT 2 string("unknown")
0002 INIT_METHOD_CALL 4 THIS string("mergeListInternal")
0003 SEND_VAR CV0($dynamicDefaults) 1
0004 V2 = FETCH_OBJ_W (ref) THIS string("dynamicDefaults")
0005 SEND_REF V2 2
0006 SEND_VAL string("dynamicDefaults") 3
0007 SEND_VAR CV1($sourceName) 4
0008 DO_UCALL
0009 RETURN null
MediaWiki\Settings\Config\ConfigSchemaAggregator::getDefinedKeys:
; (lines=22, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:199-209
0000 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Config\\array_keys")
0001 INIT_NS_FCALL_BY_NAME 5 string("MediaWiki\\Settings\\Config\\array_merge")
0002 CHECK_FUNC_ARG 1
0003 V0 = FETCH_OBJ_FUNC_ARG (ref) THIS string("schemas")
0004 SEND_FUNC_ARG V0 1
0005 CHECK_FUNC_ARG 2
0006 V0 = FETCH_OBJ_FUNC_ARG (ref) THIS string("defaults")
0007 SEND_FUNC_ARG V0 2
0008 CHECK_FUNC_ARG 3
0009 V0 = FETCH_OBJ_FUNC_ARG (ref) THIS string("types")
0010 SEND_FUNC_ARG V0 3
0011 CHECK_FUNC_ARG 4
0012 V0 = FETCH_OBJ_FUNC_ARG (ref) THIS string("mergeStrategies")
0013 SEND_FUNC_ARG V0 4
0014 CHECK_FUNC_ARG 5
0015 V0 = FETCH_OBJ_FUNC_ARG (ref) THIS string("dynamicDefaults")
0016 SEND_FUNC_ARG V0 5
0017 V0 = DO_FCALL_BY_NAME
0018 SEND_VAR_NO_REF_EX V0 1
0019 V0 = DO_FCALL_BY_NAME
0020 VERIFY_RETURN_TYPE V0
0021 RETURN V0
LIVE RANGES:
0: 0020 - 0021 (tmp/var)
MediaWiki\Settings\Config\ConfigSchemaAggregator::getSchemaFor:
; (lines=36, args=1, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:218-238
0000 CV0($key) = RECV 1
0001 T2 = FETCH_OBJ_IS THIS string("schemas")
0002 T3 = FETCH_DIM_IS T2 CV0($key)
0003 T2 = COALESCE T3 0005
0004 T2 = QM_ASSIGN array(...)
0005 CV1($schema) = QM_ASSIGN T2
0006 T3 = FETCH_OBJ_IS THIS string("defaults")
0007 T2 = ISSET_ISEMPTY_DIM_OBJ (isset) T3 CV0($key)
0008 JMPZ T2 0013
0009 T3 = FETCH_OBJ_R THIS string("defaults")
0010 T2 = FETCH_DIM_R T3 CV0($key)
0011 ASSIGN_DIM CV1($schema) string("default")
0012 OP_DATA T2
0013 T3 = FETCH_OBJ_IS THIS string("types")
0014 T2 = ISSET_ISEMPTY_DIM_OBJ (isset) T3 CV0($key)
0015 JMPZ T2 0020
0016 T3 = FETCH_OBJ_R THIS string("types")
0017 T2 = FETCH_DIM_R T3 CV0($key)
0018 ASSIGN_DIM CV1($schema) string("type")
0019 OP_DATA T2
0020 T3 = FETCH_OBJ_IS THIS string("mergeStrategies")
0021 T2 = ISSET_ISEMPTY_DIM_OBJ (isset) T3 CV0($key)
0022 JMPZ T2 0027
0023 T3 = FETCH_OBJ_R THIS string("mergeStrategies")
0024 T2 = FETCH_DIM_R T3 CV0($key)
0025 ASSIGN_DIM CV1($schema) string("mergeStrategy")
0026 OP_DATA T2
0027 T3 = FETCH_OBJ_IS THIS string("dynamicDefaults")
0028 T2 = ISSET_ISEMPTY_DIM_OBJ (isset) T3 CV0($key)
0029 JMPZ T2 0034
0030 T3 = FETCH_OBJ_R THIS string("dynamicDefaults")
0031 T2 = FETCH_DIM_R T3 CV0($key)
0032 ASSIGN_DIM CV1($schema) string("dynamicDefault")
0033 OP_DATA T2
0034 VERIFY_RETURN_TYPE CV1($schema)
0035 RETURN CV1($schema)
MediaWiki\Settings\Config\ConfigSchemaAggregator::hasSchemaFor:
; (lines=16, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:246-252
0000 CV0($key) = RECV 1
0001 T2 = FETCH_OBJ_IS THIS string("schemas")
0002 T1 = ISSET_ISEMPTY_DIM_OBJ (isset) T2 CV0($key)
0003 T1 = JMPNZ_EX T1 0015
0004 T2 = FETCH_OBJ_R THIS string("defaults")
0005 T1 = ARRAY_KEY_EXISTS CV0($key) T2
0006 T1 = JMPNZ_EX T1 0015
0007 T2 = FETCH_OBJ_IS THIS string("types")
0008 T1 = ISSET_ISEMPTY_DIM_OBJ (isset) T2 CV0($key)
0009 T1 = JMPNZ_EX T1 0015
0010 T2 = FETCH_OBJ_IS THIS string("mergeStrategies")
0011 T1 = ISSET_ISEMPTY_DIM_OBJ (isset) T2 CV0($key)
0012 T1 = JMPNZ_EX T1 0015
0013 T2 = FETCH_OBJ_IS THIS string("dynamicDefaults")
0014 T1 = ISSET_ISEMPTY_DIM_OBJ (isset) T2 CV0($key)
0015 RETURN T1
MediaWiki\Settings\Config\ConfigSchemaAggregator::getDefaults:
; (lines=3, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:259-261
0000 T0 = FETCH_OBJ_R THIS string("defaults")
0001 VERIFY_RETURN_TYPE T0
0002 RETURN T0
LIVE RANGES:
0: 0001 - 0002 (tmp/var)
MediaWiki\Settings\Config\ConfigSchemaAggregator::getTypes:
; (lines=3, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:268-270
0000 T0 = FETCH_OBJ_R THIS string("types")
0001 VERIFY_RETURN_TYPE T0
0002 RETURN T0
LIVE RANGES:
0: 0001 - 0002 (tmp/var)
MediaWiki\Settings\Config\ConfigSchemaAggregator::getMergeStrategyNames:
; (lines=3, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:277-279
0000 T0 = FETCH_OBJ_R THIS string("mergeStrategies")
0001 VERIFY_RETURN_TYPE T0
0002 RETURN T0
LIVE RANGES:
0: 0001 - 0002 (tmp/var)
MediaWiki\Settings\Config\ConfigSchemaAggregator::getDynamicDefaults:
; (lines=3, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:287-289
0000 T0 = FETCH_OBJ_R THIS string("dynamicDefaults")
0001 VERIFY_RETURN_TYPE T0
0002 RETURN T0
LIVE RANGES:
0: 0001 - 0002 (tmp/var)
MediaWiki\Settings\Config\ConfigSchemaAggregator::hasDefaultFor:
; (lines=4, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:297-299
0000 CV0($key) = RECV 1
0001 T2 = FETCH_OBJ_R THIS string("defaults")
0002 T1 = ARRAY_KEY_EXISTS CV0($key) T2
0003 RETURN T1
MediaWiki\Settings\Config\ConfigSchemaAggregator::getDefaultFor:
; (lines=6, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:308-310
0000 CV0($key) = RECV 1
0001 T1 = FETCH_OBJ_IS THIS string("defaults")
0002 T2 = FETCH_DIM_IS T1 CV0($key)
0003 T1 = COALESCE T2 0005
0004 T1 = QM_ASSIGN null
0005 RETURN T1
MediaWiki\Settings\Config\ConfigSchemaAggregator::getTypeFor:
; (lines=6, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:318-320
0000 CV0($key) = RECV 1
0001 T1 = FETCH_OBJ_IS THIS string("types")
0002 T2 = FETCH_DIM_IS T1 CV0($key)
0003 T1 = COALESCE T2 0005
0004 T1 = QM_ASSIGN null
0005 RETURN T1
MediaWiki\Settings\Config\ConfigSchemaAggregator::getDynamicDefaultDeclarationFor:
; (lines=7, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:329-331
0000 CV0($key) = RECV 1
0001 T1 = FETCH_OBJ_IS THIS string("dynamicDefaults")
0002 T2 = FETCH_DIM_IS T1 CV0($key)
0003 T1 = COALESCE T2 0005
0004 T1 = QM_ASSIGN null
0005 VERIFY_RETURN_TYPE T1
0006 RETURN T1
LIVE RANGES:
1: 0005 - 0006 (tmp/var)
MediaWiki\Settings\Config\ConfigSchemaAggregator::getMergeStrategyFor:
; (lines=12, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:340-345
0000 CV0($key) = RECV 1
0001 T2 = FETCH_OBJ_R THIS string("mergeStrategyCache")
0002 T1 = TYPE_CHECK (null) T2
0003 JMPZ T1 0006
0004 INIT_METHOD_CALL 0 THIS string("initMergeStrategies")
0005 DO_FCALL
0006 T1 = FETCH_OBJ_IS THIS string("mergeStrategyCache")
0007 T2 = FETCH_DIM_IS T1 CV0($key)
0008 T1 = COALESCE T2 0010
0009 T1 = QM_ASSIGN null
0010 VERIFY_RETURN_TYPE T1
0011 RETURN T1
LIVE RANGES:
1: 0010 - 0011 (tmp/var)
MediaWiki\Settings\Config\ConfigSchemaAggregator::getMergeStrategies:
; (lines=7, args=0, vars=0, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:353-358
0000 T1 = FETCH_OBJ_R THIS string("mergeStrategyCache")
0001 T0 = TYPE_CHECK (null) T1
0002 JMPZ T0 0005
0003 INIT_METHOD_CALL 0 THIS string("initMergeStrategies")
0004 DO_FCALL
0005 T0 = FETCH_OBJ_R THIS string("mergeStrategyCache")
0006 RETURN T0
MediaWiki\Settings\Config\ConfigSchemaAggregator::initMergeStrategies:
; (lines=38, args=0, vars=7, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:363-391
0000 CV0($strategiesByName) = QM_ASSIGN array(...)
0001 CV1($strategiesByKey) = QM_ASSIGN array(...)
0002 CV2($strategyNamesByKey) = FETCH_OBJ_R THIS string("mergeStrategies")
0003 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\Config\\array_diff_key")
0004 CHECK_FUNC_ARG 1
0005 V7 = FETCH_OBJ_FUNC_ARG (ref) THIS string("types")
0006 SEND_FUNC_ARG V7 1
0007 SEND_VAR_EX CV2($strategyNamesByKey) 2
0008 V7 = DO_FCALL_BY_NAME
0009 CV3($types) = QM_ASSIGN V7
0010 V7 = FE_RESET_R CV3($types) 0019
0011 T8 = FE_FETCH_R V7 CV4($type) 0019
0012 ASSIGN CV5($key) T8
0013 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("getStrategyForType")
0014 SEND_VAR CV4($type) 1
0015 V8 = DO_FCALL
0016 ASSIGN_DIM CV2($strategyNamesByKey) CV5($key)
0017 OP_DATA V8
0018 JMP 0011
0019 FE_FREE V7
0020 V7 = FE_RESET_R CV2($strategyNamesByKey) 0034
0021 T8 = FE_FETCH_R V7 CV6($strategyName) 0034
0022 ASSIGN CV5($key) T8
0023 T8 = ARRAY_KEY_EXISTS CV6($strategyName) CV0($strategiesByName)
0024 JMPNZ T8 0030
0025 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\Settings\\Config\\MergeStrategy") string("newFromName")
0026 SEND_VAR_EX CV6($strategyName) 1
0027 V8 = DO_FCALL
0028 ASSIGN_DIM CV0($strategiesByName) CV6($strategyName)
0029 OP_DATA V8
0030 T8 = FETCH_DIM_R CV0($strategiesByName) CV6($strategyName)
0031 ASSIGN_DIM CV1($strategiesByKey) CV5($key)
0032 OP_DATA T8
0033 JMP 0021
0034 FE_FREE V7
0035 ASSIGN_OBJ THIS string("mergeStrategyCache")
0036 OP_DATA CV1($strategiesByKey)
0037 RETURN null
LIVE RANGES:
7: 0011 - 0019 (loop)
7: 0021 - 0034 (loop)
MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType:
; (lines=31, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:400-420
0000 CV0($type) = RECV 1
0001 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Config\\is_array")
0002 SEND_VAR_EX CV0($type) 1
0003 V1 = DO_FCALL_BY_NAME
0004 JMPZ V1 0024
0005 JMP_FRAMELESS 16 string("mediawiki\\settings\\config\\in_array") 0011
0006 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\Config\\in_array")
0007 SEND_VAL_EX string("array") 1
0008 SEND_VAR_EX CV0($type) 2
0009 V1 = DO_FCALL_BY_NAME
0010 JMP 0012
0011 V1 = FRAMELESS_ICALL_2(in_array) string("array") CV0($type)
0012 JMPZ V1 0015
0013 ASSIGN CV0($type) string("array")
0014 JMP 0024
0015 JMP_FRAMELESS 32 string("mediawiki\\settings\\config\\in_array") 0021
0016 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\Config\\in_array")
0017 SEND_VAL_EX string("object") 1
0018 SEND_VAR_EX CV0($type) 2
0019 V1 = DO_FCALL_BY_NAME
0020 JMP 0022
0021 V1 = FRAMELESS_ICALL_2(in_array) string("object") CV0($type)
0022 JMPZ V1 0024
0023 ASSIGN CV0($type) string("object")
0024 T1 = IS_IDENTICAL CV0($type) string("array")
0025 JMPZ T1 0027
0026 RETURN string("array_merge")
0027 T1 = IS_IDENTICAL CV0($type) string("object")
0028 JMPZ T1 0030
0029 RETURN string("array_plus")
0030 RETURN string("replace")
MediaWiki\Settings\Config\ConfigSchemaAggregator::validateConfig:
; (lines=32, args=1, vars=4, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:430-444
0000 CV0($config) = RECV 1
0001 INIT_STATIC_METHOD_CALL 0 string("StatusValue") string("newGood")
0002 V4 = DO_FCALL
0003 CV1($result) = QM_ASSIGN V4
0004 INIT_METHOD_CALL 0 THIS string("getDefinedKeys")
0005 V5 = DO_FCALL
0006 V4 = FE_RESET_R V5 0029
0007 FE_FETCH_R V4 CV2($key) 0029
0008 INIT_METHOD_CALL 1 CV0($config) string("has")
0009 SEND_VAR_EX CV2($key) 1
0010 V5 = DO_FCALL
0011 JMPNZ V5 0017
0012 INIT_METHOD_CALL 2 CV1($result) string("fatal")
0013 SEND_VAL_EX string("config-missing-key") 1
0014 SEND_VAR_EX CV2($key) 2
0015 DO_FCALL
0016 JMP 0007
0017 INIT_METHOD_CALL 1 CV0($config) string("get")
0018 SEND_VAR_EX CV2($key) 1
0019 V5 = DO_FCALL
0020 ASSIGN CV3($value) V5
0021 INIT_METHOD_CALL 1 CV1($result) string("merge")
0022 INIT_METHOD_CALL 2 THIS string("validateValue")
0023 SEND_VAR CV2($key) 1
0024 SEND_VAR CV3($value) 2
0025 V5 = DO_FCALL
0026 SEND_VAR_NO_REF_EX V5 1
0027 DO_FCALL
0028 JMP 0007
0029 FE_FREE V4
0030 VERIFY_RETURN_TYPE CV1($result)
0031 RETURN CV1($result)
LIVE RANGES:
4: 0007 - 0029 (loop)
MediaWiki\Settings\Config\ConfigSchemaAggregator::validateValue:
; (lines=101, args=2, vars=7, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:454-502
0000 CV0($key) = RECV 1
0001 CV1($value) = RECV 2
0002 INIT_STATIC_METHOD_CALL 0 string("StatusValue") string("newGood")
0003 V7 = DO_FCALL
0004 CV2($status) = QM_ASSIGN V7
0005 INIT_METHOD_CALL 1 THIS string("getSchemaFor")
0006 SEND_VAR CV0($key) 1
0007 V7 = DO_FCALL
0008 CV3($schema) = QM_ASSIGN V7
0009 JMPNZ CV3($schema) 0012
0010 VERIFY_RETURN_TYPE CV2($status)
0011 RETURN CV2($status)
0012 T7 = FETCH_OBJ_R THIS string("validator")
0013 JMPNZ T7 0018
0014 V7 = NEW 0 string("JsonSchema\\Validator")
0015 DO_FCALL
0016 ASSIGN_OBJ THIS string("validator")
0017 OP_DATA V7
0018 T7 = ISSET_ISEMPTY_DIM_OBJ (isset) CV3($schema) string("type")
0019 JMPZ T7 0023
0020 T8 = FETCH_DIM_R CV3($schema) string("type")
0021 T7 = CAST (array) T8
0022 JMP 0024
0023 T7 = QM_ASSIGN array(...)
0024 CV4($types) = QM_ASSIGN T7
0025 JMP_FRAMELESS 80 string("mediawiki\\settings\\config\\in_array") 0031
0026 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\Config\\in_array")
0027 SEND_VAL_EX string("object") 1
0028 SEND_VAR_EX CV4($types) 2
0029 V7 = DO_FCALL_BY_NAME
0030 JMP 0032
0031 V7 = FRAMELESS_ICALL_2(in_array) string("object") CV4($types)
0032 JMPZ V7 0047
0033 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Config\\is_array")
0034 SEND_VAR_EX CV1($value) 1
0035 V7 = DO_FCALL_BY_NAME
0036 JMPZ V7 0047
0037 INIT_METHOD_CALL 1 THIS string("hasNumericKeys")
0038 SEND_VAR CV1($value) 1
0039 V7 = DO_FCALL
0040 JMPZ V7 0047
0041 INIT_METHOD_CALL 3 CV2($status) string("warning")
0042 SEND_VAL_EX string("config-invalid-key") 1
0043 SEND_VAR_EX CV0($key) 2
0044 SEND_VAL_EX string("Skipping validation of object with integer keys") 3
0045 DO_FCALL
0046 UNSET_DIM CV3($schema) string("type")
0047 JMP_FRAMELESS 136 string("mediawiki\\settings\\config\\in_array") 0053
0048 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\Config\\in_array")
0049 SEND_VAL_EX string("integer") 1
0050 SEND_VAR_EX CV4($types) 2
0051 V7 = DO_FCALL_BY_NAME
0052 JMP 0054
0053 V7 = FRAMELESS_ICALL_2(in_array) string("integer") CV4($types)
0054 JMPZ V7 0066
0055 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Config\\is_float")
0056 SEND_VAR_EX CV1($value) 1
0057 V7 = DO_FCALL_BY_NAME
0058 JMPZ V7 0066
0059 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Config\\intval")
0060 SEND_VAR_EX CV1($value) 1
0061 V7 = DO_FCALL_BY_NAME
0062 CV5($intval) = QM_ASSIGN V7
0063 T7 = IS_EQUAL CV5($intval) CV1($value)
0064 JMPZ T7 0066
0065 ASSIGN CV1($value) CV5($intval)
0066 T7 = FETCH_OBJ_R THIS string("validator")
0067 INIT_METHOD_CALL 3 T7 string("validate")
0068 SEND_VAR_EX CV1($value) 1
0069 SEND_VAR_EX CV3($schema) 2
0070 T7 = FETCH_CLASS_CONSTANT string("JsonSchema\\Constraints\\Constraint") string("CHECK_MODE_TYPE_CAST")
0071 SEND_VAL_EX T7 3
0072 DO_FCALL
0073 T7 = FETCH_OBJ_R THIS string("validator")
0074 INIT_METHOD_CALL 0 T7 string("isValid")
0075 V7 = DO_FCALL
0076 JMPNZ V7 0096
0077 T7 = FETCH_OBJ_R THIS string("validator")
0078 INIT_METHOD_CALL 0 T7 string("getErrors")
0079 V8 = DO_FCALL
0080 V7 = FE_RESET_R V8 0095
0081 FE_FETCH_R V7 CV6($error) 0095
0082 INIT_METHOD_CALL 4 CV2($status) string("fatal")
0083 SEND_VAL_EX string("config-invalid-key") 1
0084 SEND_VAR_EX CV0($key) 2
0085 CHECK_FUNC_ARG 3
0086 V8 = FETCH_DIM_FUNC_ARG CV6($error) string("message")
0087 SEND_FUNC_ARG V8 3
0088 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\Config\\var_export")
0089 SEND_VAR_EX CV1($value) 1
0090 SEND_VAL_EX bool(true) 2
0091 V8 = DO_FCALL_BY_NAME
0092 SEND_VAR_NO_REF_EX V8 4
0093 DO_FCALL
0094 JMP 0081
0095 FE_FREE V7
0096 T7 = FETCH_OBJ_R THIS string("validator")
0097 INIT_METHOD_CALL 0 T7 string("reset")
0098 DO_FCALL
0099 VERIFY_RETURN_TYPE CV2($status)
0100 RETURN CV2($status)
LIVE RANGES:
7: 0015 - 0016 (new)
7: 0081 - 0095 (loop)
MediaWiki\Settings\Config\ConfigSchemaAggregator::hasNumericKeys:
; (lines=12, args=1, vars=3, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:509-517
0000 CV0($value) = RECV 1
0001 V3 = FE_RESET_R CV0($value) 0010
0002 T4 = FE_FETCH_R V3 CV1($dummy) 0010
0003 ASSIGN CV2($key) T4
0004 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Config\\is_int")
0005 SEND_VAR_EX CV2($key) 1
0006 V4 = DO_FCALL_BY_NAME
0007 JMPZ V4 0002
0008 FE_FREE V3
0009 RETURN bool(true)
0010 FE_FREE V3
0011 RETURN bool(false)
LIVE RANGES:
3: 0002 - 0010 (loop)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Source/JsonSchemaTrait.php:1-178
0000 RETURN int(1)
MediaWiki\Settings\Source\JsonSchemaTrait::jsonToPhpDoc:
; (lines=50, args=1, vars=5, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Source/JsonSchemaTrait.php:21-54
0000 CV0($jsonSchemaType) = RECV 1
0001 BIND_STATIC (ref) CV1($phpTypes)
0002 T5 = TYPE_CHECK (null) CV0($jsonSchemaType)
0003 JMPZ T5 0008
0004 V5 = NEW 1 string("InvalidArgumentException")
0005 SEND_VAL_EX string("The type name cannot be null! Use \"null\" instead.") 1
0006 DO_FCALL
0007 THROW V5
0008 CV2($nullable) = QM_ASSIGN bool(false)
0009 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Source\\is_array")
0010 SEND_VAR_EX CV0($jsonSchemaType) 1
0011 V5 = DO_FCALL_BY_NAME
0012 JMPZ V5 0039
0013 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\Source\\array_search")
0014 SEND_VAL_EX string("null") 1
0015 SEND_VAR_EX CV0($jsonSchemaType) 2
0016 V5 = DO_FCALL_BY_NAME
0017 CV3($nullIndex) = QM_ASSIGN V5
0018 T5 = TYPE_CHECK TYPE [null, true, long, double, string, array, object, resource] CV3($nullIndex)
0019 JMPZ T5 0022
0020 CV2($nullable) = QM_ASSIGN bool(true)
0021 UNSET_DIM CV0($jsonSchemaType) CV3($nullIndex)
0022 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\Source\\array_map")
0023 T6 = FETCH_CLASS_NAME (self)
0024 T5 = INIT_ARRAY 2 (packed) T6 NEXT
0025 T5 = ADD_ARRAY_ELEMENT string("jsonToPhpDoc") NEXT
0026 SEND_VAL_EX T5 1
0027 SEND_VAR_EX CV0($jsonSchemaType) 2
0028 V5 = DO_FCALL_BY_NAME
0029 ASSIGN CV0($jsonSchemaType) V5
0030 JMP_FRAMELESS 40 string("mediawiki\\settings\\source\\implode") 0036
0031 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\Source\\implode")
0032 SEND_VAL_EX string("|") 1
0033 SEND_VAR_EX CV0($jsonSchemaType) 2
0034 V5 = DO_FCALL_BY_NAME
0035 JMP 0037
0036 V5 = FRAMELESS_ICALL_2(implode) string("|") CV0($jsonSchemaType)
0037 CV4($type) = QM_ASSIGN V5
0038 JMP 0046
0039 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Source\\strtolower")
0040 SEND_VAR_EX CV0($jsonSchemaType) 1
0041 V5 = DO_FCALL_BY_NAME
0042 T6 = FETCH_DIM_IS CV1($phpTypes) V5
0043 T5 = COALESCE T6 0045
0044 T5 = QM_ASSIGN CV0($jsonSchemaType)
0045 CV4($type) = QM_ASSIGN T5
0046 JMPZ CV2($nullable) 0049
0047 T5 = FAST_CONCAT string("?") CV4($type)
0048 ASSIGN CV4($type) T5
0049 RETURN CV4($type)
LIVE RANGES:
5: 0005 - 0007 (new)
5: 0025 - 0026 (tmp/var)
MediaWiki\Settings\Source\JsonSchemaTrait::phpDocToJson:
; (lines=73, args=1, vars=6, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Source/JsonSchemaTrait.php:61-104
0000 CV0($phpDocType) = RECV 1
0001 BIND_STATIC (ref) CV1($jsonTypes)
0002 T6 = TYPE_CHECK (null) CV0($phpDocType)
0003 JMPZ T6 0008
0004 V6 = NEW 1 string("InvalidArgumentException")
0005 SEND_VAL_EX string("The type name cannot be null! Use \"null\" instead.") 1
0006 DO_FCALL
0007 THROW V6
0008 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Source\\is_array")
0009 SEND_VAR_EX CV0($phpDocType) 1
0010 V6 = DO_FCALL_BY_NAME
0011 JMPZ V6 0014
0012 CV2($types) = QM_ASSIGN CV0($phpDocType)
0013 JMP 0025
0014 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\Source\\explode")
0015 SEND_VAL_EX string("|") 1
0016 JMP_FRAMELESS 32 string("mediawiki\\settings\\source\\trim") 0021
0017 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Source\\trim")
0018 SEND_VAR_EX CV0($phpDocType) 1
0019 V6 = DO_FCALL_BY_NAME
0020 JMP 0022
0021 V6 = FRAMELESS_ICALL_1(trim) CV0($phpDocType)
0022 SEND_VAR_NO_REF_EX V6 2
0023 V6 = DO_FCALL_BY_NAME
0024 CV2($types) = QM_ASSIGN V6
0025 CV3($nullable) = QM_ASSIGN bool(false)
0026 V6 = FE_RESET_R CV2($types) 0055
0027 T7 = FE_FETCH_R V6 CV4($t) 0055
0028 ASSIGN CV5($i) T7
0029 JMP_FRAMELESS 48 string("mediawiki\\settings\\source\\str_starts_with") 0035
0030 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\Source\\str_starts_with")
0031 SEND_VAR_EX CV4($t) 1
0032 SEND_VAL_EX string("?") 2
0033 V7 = DO_FCALL_BY_NAME
0034 JMP 0036
0035 V7 = FRAMELESS_ICALL_2(str_starts_with) CV4($t) string("?")
0036 JMPZ V7 0046
0037 CV3($nullable) = QM_ASSIGN bool(true)
0038 JMP_FRAMELESS 64 string("mediawiki\\settings\\source\\substr") 0044
0039 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\Source\\substr")
0040 SEND_VAR_EX CV4($t) 1
0041 SEND_VAL_EX int(1) 2
0042 V7 = DO_FCALL_BY_NAME
0043 JMP 0045
0044 V7 = FRAMELESS_ICALL_2(substr) CV4($t) int(1)
0045 ASSIGN CV4($t) V7
0046 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Source\\strtolower")
0047 SEND_VAR_EX CV4($t) 1
0048 V7 = DO_FCALL_BY_NAME
0049 T8 = FETCH_DIM_IS CV1($jsonTypes) V7
0050 T7 = COALESCE T8 0052
0051 T7 = QM_ASSIGN CV4($t)
0052 ASSIGN_DIM CV2($types) CV5($i)
0053 OP_DATA T7
0054 JMP 0027
0055 FE_FREE V6
0056 JMPZ CV3($nullable) 0059
0057 ASSIGN_DIM CV2($types) NEXT
0058 OP_DATA string("null")
0059 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Source\\array_unique")
0060 SEND_VAR_EX CV2($types) 1
0061 V6 = DO_FCALL_BY_NAME
0062 ASSIGN CV2($types) V6
0063 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Source\\count")
0064 SEND_VAR_EX CV2($types) 1
0065 V7 = DO_FCALL_BY_NAME
0066 T6 = IS_IDENTICAL V7 int(1)
0067 JMPZ T6 0072
0068 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Source\\reset")
0069 SEND_VAR_EX CV2($types) 1
0070 V6 = DO_FCALL_BY_NAME
0071 RETURN V6
0072 RETURN CV2($types)
LIVE RANGES:
6: 0005 - 0007 (new)
6: 0027 - 0055 (loop)
MediaWiki\Settings\Source\JsonSchemaTrait::normalizeJsonSchema:
; (lines=89, args=4, vars=6, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Source/JsonSchemaTrait.php:116-152
0000 CV0($schema) = RECV 1
0001 CV1($defs) = RECV 2
0002 CV2($source) = RECV 3
0003 CV3($propertyName) = RECV 4
0004 T6 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($schema) string("type")
0005 JMPZ T6 0013
0006 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("phpDocToJson")
0007 CHECK_FUNC_ARG 1
0008 V6 = FETCH_DIM_FUNC_ARG CV0($schema) string("type")
0009 SEND_FUNC_ARG V6 1
0010 V6 = DO_FCALL
0011 ASSIGN_DIM CV0($schema) string("type")
0012 OP_DATA V6
0013 T6 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($schema) string("additionalProperties")
0014 JMPZ T6 0031
0015 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Source\\is_array")
0016 CHECK_FUNC_ARG 1
0017 V6 = FETCH_DIM_FUNC_ARG CV0($schema) string("additionalProperties")
0018 SEND_FUNC_ARG V6 1
0019 V6 = DO_FCALL_BY_NAME
0020 JMPZ V6 0031
0021 INIT_STATIC_METHOD_CALL 4 (self) (exception) string("normalizeJsonSchema")
0022 CHECK_FUNC_ARG 1
0023 V6 = FETCH_DIM_FUNC_ARG CV0($schema) string("additionalProperties")
0024 SEND_FUNC_ARG V6 1
0025 SEND_VAR_EX CV1($defs) 2
0026 SEND_VAR_EX CV2($source) 3
0027 SEND_VAR_EX CV3($propertyName) 4
0028 V6 = DO_FCALL
0029 ASSIGN_DIM CV0($schema) string("additionalProperties")
0030 OP_DATA V6
0031 T6 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($schema) string("items")
0032 JMPZ T6 0049
0033 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Source\\is_array")
0034 CHECK_FUNC_ARG 1
0035 V6 = FETCH_DIM_FUNC_ARG CV0($schema) string("items")
0036 SEND_FUNC_ARG V6 1
0037 V6 = DO_FCALL_BY_NAME
0038 JMPZ V6 0049
0039 INIT_STATIC_METHOD_CALL 4 (self) (exception) string("normalizeJsonSchema")
0040 CHECK_FUNC_ARG 1
0041 V6 = FETCH_DIM_FUNC_ARG CV0($schema) string("items")
0042 SEND_FUNC_ARG V6 1
0043 SEND_VAR_EX CV1($defs) 2
0044 SEND_VAR_EX CV2($source) 3
0045 SEND_VAR_EX CV3($propertyName) 4
0046 V6 = DO_FCALL
0047 ASSIGN_DIM CV0($schema) string("items")
0048 OP_DATA V6
0049 T6 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($schema) string("properties")
0050 JMPZ T6 0072
0051 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Source\\is_array")
0052 CHECK_FUNC_ARG 1
0053 V6 = FETCH_DIM_FUNC_ARG CV0($schema) string("properties")
0054 SEND_FUNC_ARG V6 1
0055 V6 = DO_FCALL_BY_NAME
0056 JMPZ V6 0072
0057 T7 = FETCH_DIM_R CV0($schema) string("properties")
0058 V6 = FE_RESET_R T7 0071
0059 T7 = FE_FETCH_R V6 CV4($propSchema) 0071
0060 ASSIGN CV5($name) T7
0061 INIT_STATIC_METHOD_CALL 4 (self) (exception) string("normalizeJsonSchema")
0062 SEND_VAR_EX CV4($propSchema) 1
0063 SEND_VAR_EX CV1($defs) 2
0064 SEND_VAR_EX CV2($source) 3
0065 SEND_VAR_EX CV3($propertyName) 4
0066 V7 = DO_FCALL
0067 V8 = FETCH_DIM_W CV0($schema) string("properties")
0068 ASSIGN_DIM V8 CV5($name)
0069 OP_DATA V7
0070 JMP 0059
0071 FE_FREE V6
0072 INIT_STATIC_METHOD_CALL 4 string("MediaWiki\\Settings\\Source\\JsonSchemaReferenceResolver") string("getDefinitions")
0073 SEND_VAR_EX CV0($schema) 1
0074 SEND_VAR_EX CV1($defs) 2
0075 SEND_VAR_EX CV2($source) 3
0076 SEND_VAR_EX CV3($propertyName) 4
0077 DO_FCALL
0078 T6 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($schema) string("$ref")
0079 JMPZ T6 0087
0080 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\Settings\\Source\\JsonSchemaReferenceResolver") string("normalizeRef")
0081 CHECK_FUNC_ARG 1
0082 V6 = FETCH_DIM_FUNC_ARG CV0($schema) string("$ref")
0083 SEND_FUNC_ARG V6 1
0084 V6 = DO_FCALL
0085 ASSIGN_DIM CV0($schema) string("$ref")
0086 OP_DATA V6
0087 VERIFY_RETURN_TYPE CV0($schema)
0088 RETURN CV0($schema)
LIVE RANGES:
6: 0059 - 0071 (loop)
7: 0067 - 0068 (tmp/var)
MediaWiki\Settings\Source\JsonSchemaTrait::getDefaultFromJsonSchema:
; (lines=20, args=1, vars=5, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Source/JsonSchemaTrait.php:165-175
0000 CV0($schema) = RECV 1
0001 T6 = FETCH_DIM_IS CV0($schema) string("default")
0002 T5 = COALESCE T6 0004
0003 T5 = QM_ASSIGN null
0004 CV1($default) = QM_ASSIGN T5
0005 T5 = FETCH_DIM_IS CV0($schema) string("properties")
0006 T6 = COALESCE T5 0008
0007 T6 = QM_ASSIGN array(...)
0008 V5 = FE_RESET_R T6 0018
0009 T6 = FE_FETCH_R V5 CV2($sch) 0018
0010 ASSIGN CV3($name) T6
0011 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("getDefaultFromJsonSchema")
0012 SEND_VAR_EX CV2($sch) 1
0013 V6 = DO_FCALL
0014 ASSIGN CV4($def) V6
0015 ASSIGN_DIM CV1($default) CV3($name)
0016 OP_DATA CV4($def)
0017 JMP 0009
0018 FE_FREE V5
0019 RETURN CV1($default)
LIVE RANGES:
5: 0009 - 0018 (loop)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchema.php:1-74
0000 RETURN int(1)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigNames.php:1-4460
0000 RETURN int(1)
$_main:
; (lines=2, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Source/PhpSettingsSource.php:1-90
0000 DECLARE_CLASS string("mediawiki\\settings\\source\\phpsettingssource")
0001 RETURN int(1)
MediaWiki\Settings\Source\PhpSettingsSource::__construct:
; (lines=4, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Source/PhpSettingsSource.php:23-25
0000 CV0($path) = RECV 1
0001 ASSIGN_OBJ THIS string("path")
0002 OP_DATA CV0($path)
0003 RETURN null
MediaWiki\Settings\Source\PhpSettingsSource::load:
; (lines=62, args=0, vars=1, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Source/PhpSettingsSource.php:34-74
0000 INIT_STATIC_METHOD_CALL 2 string("Wikimedia\\AtEase\\AtEase") string("quietCall")
0001 T1 = DECLARE_LAMBDA_FUNCTION 0
0002 SEND_VAL_EX T1 1
0003 CHECK_FUNC_ARG 2
0004 V1 = FETCH_OBJ_FUNC_ARG (ref) THIS string("path")
0005 SEND_FUNC_ARG V1 2
0006 V1 = DO_FCALL
0007 CV0($source) = QM_ASSIGN V1
0008 T1 = TYPE_CHECK (false) CV0($source)
0009 JMPZ T1 0049
0010 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Source\\file_exists")
0011 CHECK_FUNC_ARG 1
0012 V1 = FETCH_OBJ_FUNC_ARG (ref) THIS string("path")
0013 SEND_FUNC_ARG V1 1
0014 V1 = DO_FCALL_BY_NAME
0015 JMPNZ V1 0023
0016 V1 = NEW 2 string("MediaWiki\\Settings\\SettingsBuilderException")
0017 SEND_VAL_EX string("'File: {path}' does not exist") 1
0018 T3 = FETCH_OBJ_R THIS string("path")
0019 T2 = INIT_ARRAY 1 T3 string("path")
0020 SEND_VAL_EX T2 2
0021 DO_FCALL
0022 THROW V1
0023 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Source\\is_readable")
0024 CHECK_FUNC_ARG 1
0025 V1 = FETCH_OBJ_FUNC_ARG (ref) THIS string("path")
0026 SEND_FUNC_ARG V1 1
0027 V1 = DO_FCALL_BY_NAME
0028 JMPNZ V1 0036
0029 V1 = NEW 2 string("MediaWiki\\Settings\\SettingsBuilderException")
0030 SEND_VAL_EX string("File '{path}' is not readable") 1
0031 T3 = FETCH_OBJ_R THIS string("path")
0032 T2 = INIT_ARRAY 1 T3 string("path")
0033 SEND_VAL_EX T2 2
0034 DO_FCALL
0035 THROW V1
0036 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Source\\is_dir")
0037 CHECK_FUNC_ARG 1
0038 V1 = FETCH_OBJ_FUNC_ARG (ref) THIS string("path")
0039 SEND_FUNC_ARG V1 1
0040 V1 = DO_FCALL_BY_NAME
0041 JMPZ V1 0049
0042 V1 = NEW 2 string("MediaWiki\\Settings\\SettingsBuilderException")
0043 SEND_VAL_EX string("'{path}' is a directory, not a file") 1
0044 T3 = FETCH_OBJ_R THIS string("path")
0045 T2 = INIT_ARRAY 1 T3 string("path")
0046 SEND_VAL_EX T2 2
0047 DO_FCALL
0048 THROW V1
0049 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Source\\is_array")
0050 SEND_VAR_EX CV0($source) 1
0051 V1 = DO_FCALL_BY_NAME
0052 JMPNZ V1 0060
0053 V1 = NEW 2 string("MediaWiki\\Settings\\SettingsBuilderException")
0054 SEND_VAL_EX string("File '{path}' did not return an array") 1
0055 T3 = FETCH_OBJ_R THIS string("path")
0056 T2 = INIT_ARRAY 1 T3 string("path")
0057 SEND_VAL_EX T2 2
0058 DO_FCALL
0059 THROW V1
0060 VERIFY_RETURN_TYPE CV0($source)
0061 RETURN CV0($source)
LIVE RANGES:
1: 0017 - 0022 (new)
1: 0030 - 0035 (new)
1: 0043 - 0048 (new)
1: 0054 - 0059 (new)
{closure:MediaWiki\Settings\Source\PhpSettingsSource::load():39}:
; (lines=3, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Source/PhpSettingsSource.php:39-41
0000 CV0($path) = RECV 1
0001 V1 = INCLUDE_OR_EVAL (include) CV0($path)
0002 RETURN V1
MediaWiki\Settings\Source\PhpSettingsSource::__toString:
; (lines=3, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Source/PhpSettingsSource.php:81-83
0000 T0 = FETCH_OBJ_R THIS string("path")
0001 VERIFY_RETURN_TYPE T0
0002 RETURN T0
LIVE RANGES:
0: 0001 - 0002 (tmp/var)
MediaWiki\Settings\Source\PhpSettingsSource::locateInclude:
; (lines=16, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Source/PhpSettingsSource.php:85-87
0000 CV0($location) = RECV 1
0001 INIT_STATIC_METHOD_CALL 2 string("MediaWiki\\Settings\\Source\\SettingsFileUtils") string("resolveRelativeLocation")
0002 SEND_VAR_EX CV0($location) 1
0003 JMP_FRAMELESS 24 string("mediawiki\\settings\\source\\dirname") 0010
0004 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Source\\dirname")
0005 CHECK_FUNC_ARG 1
0006 V1 = FETCH_OBJ_FUNC_ARG (ref) THIS string("path")
0007 SEND_FUNC_ARG V1 1
0008 V1 = DO_FCALL_BY_NAME
0009 JMP 0012
0010 T2 = FETCH_OBJ_R THIS string("path")
0011 V1 = FRAMELESS_ICALL_1(dirname) T2
0012 SEND_VAR_NO_REF_EX V1 2
0013 V1 = DO_FCALL
0014 VERIFY_RETURN_TYPE V1
0015 RETURN V1
LIVE RANGES:
1: 0014 - 0015 (tmp/var)
$_main:
; (lines=2, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Source/SettingsSource.php:1-26
0000 DECLARE_CLASS string("mediawiki\\settings\\source\\settingssource")
0001 RETURN int(1)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Source/SettingsIncludeLocator.php:1-38
0000 RETURN int(1)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1-2181
0000 RETURN int(1)
wfLoadExtension:
; (lines=15, args=2, vars=3, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:48-54
0000 CV0($ext) = RECV 1
0001 CV1($path) = RECV_INIT 2 null
0002 JMPNZ CV1($path) 0009
0003 BIND_GLOBAL CV2($wgExtensionDirectory) string("wgExtensionDirectory")
0004 T4 = ROPE_INIT 4 CV2($wgExtensionDirectory)
0005 T4 = ROPE_ADD 1 T4 string("/")
0006 T4 = ROPE_ADD 2 T4 CV0($ext)
0007 T3 = ROPE_END 3 T4 string("/extension.json")
0008 ASSIGN CV1($path) T3
0009 INIT_STATIC_METHOD_CALL 0 string("ExtensionRegistry") string("getInstance")
0010 V3 = DO_FCALL
0011 INIT_METHOD_CALL 1 V3 string("queue")
0012 SEND_VAR_EX CV1($path) 1
0013 DO_FCALL
0014 RETURN null
LIVE RANGES:
4: 0004 - 0007 (rope)
wfLoadExtensions:
; (lines=17, args=1, vars=4, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:69-75
0000 CV0($exts) = RECV 1
0001 BIND_GLOBAL CV1($wgExtensionDirectory) string("wgExtensionDirectory")
0002 INIT_STATIC_METHOD_CALL 0 string("ExtensionRegistry") string("getInstance")
0003 V4 = DO_FCALL
0004 CV2($registry) = QM_ASSIGN V4
0005 V4 = FE_RESET_R CV0($exts) 0015
0006 FE_FETCH_R V4 CV3($ext) 0015
0007 INIT_METHOD_CALL 1 CV2($registry) string("queue")
0008 T6 = ROPE_INIT 4 CV1($wgExtensionDirectory)
0009 T6 = ROPE_ADD 1 T6 string("/")
0010 T6 = ROPE_ADD 2 T6 CV3($ext)
0011 T5 = ROPE_END 3 T6 string("/extension.json")
0012 SEND_VAL_EX T5 1
0013 DO_FCALL
0014 JMP 0006
0015 FE_FREE V4
0016 RETURN null
LIVE RANGES:
4: 0006 - 0015 (loop)
6: 0008 - 0011 (rope)
wfLoadSkin:
; (lines=15, args=2, vars=3, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:85-91
0000 CV0($skin) = RECV 1
0001 CV1($path) = RECV_INIT 2 null
0002 JMPNZ CV1($path) 0009
0003 BIND_GLOBAL CV2($wgStyleDirectory) string("wgStyleDirectory")
0004 T4 = ROPE_INIT 4 CV2($wgStyleDirectory)
0005 T4 = ROPE_ADD 1 T4 string("/")
0006 T4 = ROPE_ADD 2 T4 CV0($skin)
0007 T3 = ROPE_END 3 T4 string("/skin.json")
0008 ASSIGN CV1($path) T3
0009 INIT_STATIC_METHOD_CALL 0 string("ExtensionRegistry") string("getInstance")
0010 V3 = DO_FCALL
0011 INIT_METHOD_CALL 1 V3 string("queue")
0012 SEND_VAR_EX CV1($path) 1
0013 DO_FCALL
0014 RETURN null
LIVE RANGES:
4: 0004 - 0007 (rope)
wfLoadSkins:
; (lines=17, args=1, vars=4, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:100-106
0000 CV0($skins) = RECV 1
0001 BIND_GLOBAL CV1($wgStyleDirectory) string("wgStyleDirectory")
0002 INIT_STATIC_METHOD_CALL 0 string("ExtensionRegistry") string("getInstance")
0003 V4 = DO_FCALL
0004 CV2($registry) = QM_ASSIGN V4
0005 V4 = FE_RESET_R CV0($skins) 0015
0006 FE_FETCH_R V4 CV3($skin) 0015
0007 INIT_METHOD_CALL 1 CV2($registry) string("queue")
0008 T6 = ROPE_INIT 4 CV1($wgStyleDirectory)
0009 T6 = ROPE_ADD 1 T6 string("/")
0010 T6 = ROPE_ADD 2 T6 CV3($skin)
0011 T5 = ROPE_END 3 T6 string("/skin.json")
0012 SEND_VAL_EX T5 1
0013 DO_FCALL
0014 JMP 0006
0015 FE_FREE V4
0016 RETURN null
LIVE RANGES:
4: 0006 - 0015 (loop)
6: 0008 - 0011 (rope)
wfArrayDiff2:
; (lines=9, args=2, vars=3, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:114-147
0000 CV0($arr1) = RECV 1
0001 CV1($arr2) = RECV 2
0002 CV2($comparator) = DECLARE_LAMBDA_FUNCTION 0
0003 INIT_FCALL 3 128 string("array_udiff")
0004 SEND_VAR CV0($arr1) 1
0005 SEND_VAR CV1($arr2) 2
0006 SEND_VAR CV2($comparator) 3
0007 V3 = DO_ICALL
0008 RETURN V3
{closure:wfArrayDiff2():119}:
; (lines=66, args=2, vars=5, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:119-145
0000 CV0($a) = RECV 1
0001 CV1($b) = RECV 2
0002 T5 = TYPE_CHECK (string) CV0($a)
0003 JMPZ T5 0011
0004 T5 = TYPE_CHECK (string) CV1($b)
0005 JMPZ T5 0011
0006 INIT_FCALL 2 112 string("strcmp")
0007 SEND_VAR CV0($a) 1
0008 SEND_VAR CV1($b) 2
0009 V5 = DO_ICALL
0010 RETURN V5
0011 T5 = TYPE_CHECK (array) CV0($a)
0012 JMPNZ T5 0019
0013 T5 = TYPE_CHECK (array) CV1($b)
0014 JMPNZ T5 0019
0015 V5 = NEW 1 string("InvalidArgumentException")
0016 SEND_VAL_EX string("This function assumes that array elements are all strings or all arrays") 1
0017 DO_FCALL
0018 THROW V5
0019 T6 = COUNT CV0($a)
0020 T7 = COUNT CV1($b)
0021 T5 = IS_NOT_IDENTICAL T6 T7
0022 JMPZ T5 0027
0023 T6 = COUNT CV0($a)
0024 T7 = COUNT CV1($b)
0025 T5 = SPACESHIP T6 T7
0026 RETURN T5
0027 INIT_FCALL 1 96 string("reset")
0028 SEND_REF CV0($a) 1
0029 DO_ICALL
0030 INIT_FCALL 1 96 string("reset")
0031 SEND_REF CV1($b) 1
0032 DO_ICALL
0033 JMP 0055
0034 INIT_FCALL 1 96 string("current")
0035 SEND_VAR CV0($a) 1
0036 V5 = DO_ICALL
0037 ASSIGN CV2($valueA) V5
0038 INIT_FCALL 1 96 string("current")
0039 SEND_VAR CV1($b) 1
0040 V5 = DO_ICALL
0041 ASSIGN CV3($valueB) V5
0042 INIT_FCALL 2 112 string("strcmp")
0043 SEND_VAR CV2($valueA) 1
0044 SEND_VAR CV3($valueB) 2
0045 CV4($cmp) = DO_ICALL
0046 T5 = IS_NOT_IDENTICAL CV4($cmp) int(0)
0047 JMPZ T5 0049
0048 RETURN CV4($cmp)
0049 INIT_FCALL 1 96 string("next")
0050 SEND_REF CV0($a) 1
0051 DO_ICALL
0052 INIT_FCALL 1 96 string("next")
0053 SEND_REF CV1($b) 1
0054 DO_ICALL
0055 INIT_FCALL 1 96 string("key")
0056 SEND_VAR CV0($a) 1
0057 V6 = DO_ICALL
0058 T5 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] V6
0059 JMPZ T5 0065
0060 INIT_FCALL 1 96 string("key")
0061 SEND_VAR CV1($b) 1
0062 V6 = DO_ICALL
0063 T5 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] V6
0064 JMPNZ T5 0034
0065 RETURN int(0)
LIVE RANGES:
5: 0016 - 0018 (new)
wfMergeErrorArrays:
; (lines=31, args=0, vars=6, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:168-183
0000 CV0($args) = RECV_VARIADIC 1
0001 CV1($out) = QM_ASSIGN array(...)
0002 V6 = FE_RESET_R CV0($args) 0026
0003 FE_FETCH_R V6 CV2($errors) 0026
0004 V7 = FE_RESET_R CV2($errors) 0024
0005 FE_FETCH_R V7 CV3($params) 0024
0006 ASSIGN CV4($originalParams) CV3($params)
0007 T9 = FETCH_DIM_R CV3($params) int(0)
0008 T8 = INSTANCEOF T9 string("MessageSpecifier")
0009 JMPZ T8 0019
0010 T8 = FETCH_DIM_R CV3($params) int(0)
0011 INIT_METHOD_CALL 0 T8 string("getKey")
0012 V9 = DO_FCALL
0013 T8 = INIT_ARRAY 2 (packed) V9 NEXT
0014 T9 = FETCH_DIM_R CV3($params) int(0)
0015 INIT_METHOD_CALL 0 T9 string("getParams")
0016 V9 = DO_FCALL
0017 T8 = ADD_ARRAY_UNPACK V9
0018 ASSIGN CV3($params) T8
0019 T8 = FRAMELESS_ICALL_2(implode) string(" ") CV3($params)
0020 ASSIGN CV5($spec) T8
0021 ASSIGN_DIM CV1($out) CV5($spec)
0022 OP_DATA CV4($originalParams)
0023 JMP 0005
0024 FE_FREE V7
0025 JMP 0003
0026 FE_FREE V6
0027 INIT_FCALL 1 96 string("array_values")
0028 SEND_VAR CV1($out) 1
0029 V6 = DO_ICALL
0030 RETURN V6
LIVE RANGES:
6: 0003 - 0026 (loop)
7: 0005 - 0024 (loop)
8: 0014 - 0018 (tmp/var)
wfArrayInsertAfter:
; (lines=36, args=3, vars=8, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:194-211
0000 CV0($array) = RECV 1
0001 CV1($insert) = RECV 2
0002 CV2($after) = RECV 3
0003 INIT_FCALL 1 96 string("array_keys")
0004 SEND_VAR CV0($array) 1
0005 V8 = DO_ICALL
0006 CV3($keys) = QM_ASSIGN V8
0007 INIT_FCALL 1 96 string("array_flip")
0008 SEND_VAR CV3($keys) 1
0009 V8 = DO_ICALL
0010 CV4($offsetByKey) = QM_ASSIGN V8
0011 T8 = ARRAY_KEY_EXISTS CV2($after) CV4($offsetByKey)
0012 JMPNZ T8 0014
0013 RETURN CV0($array)
0014 CV5($offset) = FETCH_DIM_R CV4($offsetByKey) CV2($after)
0015 INIT_FCALL 4 144 string("array_slice")
0016 SEND_VAR CV0($array) 1
0017 SEND_VAL int(0) 2
0018 T8 = ADD CV5($offset) int(1)
0019 SEND_VAL T8 3
0020 SEND_VAL bool(true) 4
0021 V8 = DO_ICALL
0022 CV6($before) = QM_ASSIGN V8
0023 INIT_FCALL 4 144 string("array_slice")
0024 SEND_VAR CV0($array) 1
0025 T8 = ADD CV5($offset) int(1)
0026 SEND_VAL T8 2
0027 T9 = COUNT CV0($array)
0028 T8 = SUB T9 CV5($offset)
0029 SEND_VAL T8 3
0030 SEND_VAL bool(true) 4
0031 V8 = DO_ICALL
0032 ASSIGN CV2($after) V8
0033 T8 = ADD CV6($before) CV1($insert)
0034 CV7($output) = ADD T8 CV2($after)
0035 RETURN CV7($output)
wfObjectToArray:
; (lines=26, args=2, vars=5, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:221-235
0000 CV0($objOrArray) = RECV 1
0001 CV1($recursive) = RECV_INIT 2 bool(true)
0002 CV2($array) = QM_ASSIGN array(...)
0003 T5 = TYPE_CHECK (object) CV0($objOrArray)
0004 JMPZ T5 0009
0005 INIT_FCALL 1 96 string("get_object_vars")
0006 SEND_VAR CV0($objOrArray) 1
0007 V5 = DO_ICALL
0008 ASSIGN CV0($objOrArray) V5
0009 V5 = FE_RESET_R CV0($objOrArray) 0024
0010 T6 = FE_FETCH_R V5 CV3($value) 0024
0011 ASSIGN CV4($key) T6
0012 JMPZ CV1($recursive) 0021
0013 T6 = TYPE_CHECK (object) CV3($value)
0014 JMPNZ T6 0017
0015 T6 = TYPE_CHECK (array) CV3($value)
0016 JMPZ T6 0021
0017 INIT_FCALL 1 192 string("wfobjecttoarray")
0018 SEND_VAR CV3($value) 1
0019 V6 = DO_UCALL
0020 ASSIGN CV3($value) V6
0021 ASSIGN_DIM CV2($array) CV4($key)
0022 OP_DATA CV3($value)
0023 JMP 0010
0024 FE_FREE V5
0025 RETURN CV2($array)
LIVE RANGES:
5: 0010 - 0024 (loop)
wfRandom:
; (lines=19, args=0, vars=2, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:247-253
0000 INIT_FCALL 0 80 string("mt_getrandmax")
0001 V2 = DO_ICALL
0002 CV0($max) = ADD V2 int(1)
0003 INIT_FCALL 4 144 string("number_format")
0004 INIT_FCALL 0 80 string("mt_rand")
0005 V2 = DO_ICALL
0006 T3 = MUL CV0($max) V2
0007 INIT_FCALL 0 80 string("mt_rand")
0008 V4 = DO_ICALL
0009 T2 = ADD T3 V4
0010 T3 = DIV T2 CV0($max)
0011 T2 = DIV T3 CV0($max)
0012 SEND_VAL T2 1
0013 SEND_VAL int(12) 2
0014 SEND_VAL string(".") 3
0015 SEND_VAL string("") 4
0016 V2 = DO_ICALL
0017 CV1($rand) = QM_ASSIGN V2
0018 RETURN CV1($rand)
wfRandomString:
; (lines=18, args=1, vars=3, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:265-271
0000 CV0($length) = RECV_INIT 1 int(32)
0001 CV1($str) = QM_ASSIGN string("")
0002 CV2($n) = QM_ASSIGN int(0)
0003 JMP 0013
0004 INIT_FCALL 2 112 string("sprintf")
0005 SEND_VAL string("%07x") 1
0006 INIT_FCALL 0 80 string("mt_rand")
0007 V4 = DO_ICALL
0008 T3 = BW_AND V4 int(268435455)
0009 SEND_VAL T3 2
0010 V3 = DO_ICALL
0011 ASSIGN_OP (CONCAT) CV1($str) V3
0012 CV2($n) = ADD CV2($n) int(7)
0013 T3 = IS_SMALLER CV2($n) CV0($length)
0014 JMPNZ T3 0004
0015 T3 = FRAMELESS_ICALL_3(substr) CV1($str) int(0)
0016 OP_DATA CV0($length)
0017 RETURN T3
LIVE RANGES:
3: 0016 - 0017 (tmp/var)
wfUrlencode:
; (lines=29, args=1, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:300-326
0000 CV0($s) = RECV 1
0001 BIND_STATIC (ref) CV1($needle)
0002 T2 = TYPE_CHECK (null) CV0($s)
0003 JMPZ T2 0006
0004 ASSIGN CV1($needle) null
0005 RETURN string("")
0006 T2 = TYPE_CHECK (null) CV1($needle)
0007 JMPZ T2 0018
0008 ASSIGN CV1($needle) array(...)
0009 T3 = FETCH_IS (global) string("_SERVER")
0010 T2 = ISSET_ISEMPTY_DIM_OBJ (isset) T3 string("SERVER_SOFTWARE")
0011 JMPZ T2 0016
0012 T2 = FETCH_R (global) string("_SERVER")
0013 T3 = FETCH_DIM_R T2 string("SERVER_SOFTWARE")
0014 T2 = FRAMELESS_ICALL_2(str_contains) T3 string("Microsoft-IIS/7")
0015 JMPNZ T2 0018
0016 ASSIGN_DIM CV1($needle) NEXT
0017 OP_DATA string("%3A")
0018 INIT_FCALL 1 96 string("urlencode")
0019 SEND_VAR CV0($s) 1
0020 V2 = DO_ICALL
0021 ASSIGN CV0($s) V2
0022 INIT_FCALL 3 128 string("str_ireplace")
0023 SEND_VAR CV1($needle) 1
0024 SEND_VAL array(...) 2
0025 SEND_VAR CV0($s) 3
0026 V2 = DO_ICALL
0027 ASSIGN CV0($s) V2
0028 RETURN CV0($s)
wfArrayToCgi:
; (lines=82, args=3, vars=9, tmps=6)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:338-372
0000 CV0($array1) = RECV 1
0001 CV1($array2) = RECV_INIT 2 null
0002 CV2($prefix) = RECV_INIT 3 string("")
0003 T9 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] CV1($array2)
0004 JMPZ T9 0006
0005 ASSIGN_OP (ADD) CV0($array1) CV1($array2)
0006 CV3($cgi) = QM_ASSIGN string("")
0007 V9 = FE_RESET_R CV0($array1) 0080
0008 T10 = FE_FETCH_R V9 CV4($value) 0080
0009 ASSIGN CV5($key) T10
0010 T10 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] CV4($value)
0011 JMPZ T10 0008
0012 T10 = TYPE_CHECK TYPE [null, true, long, double, string, array, object, resource] CV4($value)
0013 JMPZ T10 0008
0014 T10 = IS_NOT_EQUAL CV3($cgi) string("")
0015 JMPZ T10 0017
0016 ASSIGN_OP (CONCAT) CV3($cgi) string("&")
0017 T10 = IS_NOT_IDENTICAL CV2($prefix) string("")
0018 JMPZ T10 0024
0019 T12 = ROPE_INIT 3 string("[")
0020 T12 = ROPE_ADD 1 T12 CV5($key)
0021 T11 = ROPE_END 2 T12 string("]")
0022 T10 = CONCAT CV2($prefix) T11
0023 ASSIGN CV5($key) T10
0024 T10 = TYPE_CHECK (array) CV4($value)
0025 JMPZ T10 0065
0026 CV6($firstTime) = QM_ASSIGN bool(true)
0027 V10 = FE_RESET_R CV4($value) 0063
0028 T11 = FE_FETCH_R V10 CV7($v) 0063
0029 ASSIGN CV8($k) T11
0030 JMPZ CV6($firstTime) 0033
0031 T11 = QM_ASSIGN string("")
0032 JMP 0034
0033 T11 = QM_ASSIGN string("&")
0034 ASSIGN_OP (CONCAT) CV3($cgi) T11
0035 T11 = TYPE_CHECK (array) CV7($v)
0036 JMPZ T11 0048
0037 INIT_FCALL 3 320 string("wfarraytocgi")
0038 SEND_VAR CV7($v) 1
0039 SEND_VAL null 2
0040 T13 = ROPE_INIT 3 string("[")
0041 T13 = ROPE_ADD 1 T13 CV8($k)
0042 T12 = ROPE_END 2 T13 string("]")
0043 T11 = CONCAT CV5($key) T12
0044 SEND_VAL T11 3
0045 V11 = DO_UCALL
0046 ASSIGN_OP (CONCAT) CV3($cgi) V11
0047 JMP 0061
0048 INIT_FCALL 1 96 string("urlencode")
0049 T13 = ROPE_INIT 3 string("[")
0050 T13 = ROPE_ADD 1 T13 CV8($k)
0051 T12 = ROPE_END 2 T13 string("]")
0052 T11 = CONCAT CV5($key) T12
0053 SEND_VAL T11 1
0054 V11 = DO_ICALL
0055 T12 = FAST_CONCAT V11 string("=")
0056 INIT_FCALL 1 96 string("urlencode")
0057 SEND_VAR CV7($v) 1
0058 V13 = DO_ICALL
0059 T11 = FAST_CONCAT T12 V13
0060 ASSIGN_OP (CONCAT) CV3($cgi) T11
0061 CV6($firstTime) = QM_ASSIGN bool(false)
0062 JMP 0028
0063 FE_FREE V10
0064 JMP 0008
0065 T10 = TYPE_CHECK (object) CV4($value)
0066 JMPZ T10 0070
0067 INIT_METHOD_CALL 0 CV4($value) string("__toString")
0068 V10 = DO_FCALL
0069 ASSIGN CV4($value) V10
0070 INIT_FCALL 1 96 string("urlencode")
0071 SEND_VAR CV5($key) 1
0072 V10 = DO_ICALL
0073 T11 = FAST_CONCAT V10 string("=")
0074 INIT_FCALL 1 96 string("urlencode")
0075 SEND_VAR CV4($value) 1
0076 V12 = DO_ICALL
0077 T10 = FAST_CONCAT T11 V12
0078 ASSIGN_OP (CONCAT) CV3($cgi) T10
0079 JMP 0008
0080 FE_FREE V9
0081 RETURN CV3($cgi)
LIVE RANGES:
9: 0008 - 0080 (loop)
12: 0019 - 0021 (rope)
10: 0028 - 0063 (loop)
13: 0040 - 0042 (rope)
13: 0049 - 0051 (rope)
12: 0056 - 0059 (tmp/var)
11: 0074 - 0077 (tmp/var)
wfCgiToArray:
; (lines=87, args=1, vars=9, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:383-420
0000 CV0($query) = RECV 1
0001 T9 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($query) int(0)
0002 JMPZ T9 0008
0003 T10 = FETCH_DIM_R CV0($query) int(0)
0004 T9 = IS_EQUAL T10 string("?")
0005 JMPZ T9 0008
0006 T9 = FRAMELESS_ICALL_2(substr) CV0($query) int(1)
0007 ASSIGN CV0($query) T9
0008 INIT_FCALL 2 112 string("explode")
0009 SEND_VAL string("&") 1
0010 SEND_VAR CV0($query) 2
0011 V9 = DO_ICALL
0012 CV1($bits) = QM_ASSIGN V9
0013 CV2($ret) = QM_ASSIGN array(...)
0014 V9 = FE_RESET_R CV1($bits) 0085
0015 FE_FETCH_R V9 CV3($bit) 0085
0016 T10 = IS_IDENTICAL CV3($bit) string("")
0017 JMPNZ T10 0015
0018 T11 = FRAMELESS_ICALL_2(strpos) CV3($bit) string("=")
0019 T10 = TYPE_CHECK (false) T11
0020 JMPZ T10 0024
0021 ASSIGN CV4($key) CV3($bit)
0022 ASSIGN CV5($value) string("")
0023 JMP 0033
0024 INIT_FCALL 2 112 string("explode")
0025 SEND_VAL string("=") 1
0026 SEND_VAR CV3($bit) 2
0027 V10 = DO_ICALL
0028 V11 = FETCH_LIST_R V10 int(0)
0029 ASSIGN CV4($key) V11
0030 V11 = FETCH_LIST_R V10 int(1)
0031 ASSIGN CV5($value) V11
0032 FREE V10
0033 INIT_FCALL 1 96 string("urldecode")
0034 SEND_VAR CV4($key) 1
0035 V10 = DO_ICALL
0036 ASSIGN CV4($key) V10
0037 INIT_FCALL 1 96 string("urldecode")
0038 SEND_VAR CV5($value) 1
0039 V10 = DO_ICALL
0040 ASSIGN CV5($value) V10
0041 T11 = FRAMELESS_ICALL_2(strpos) CV4($key) string("[")
0042 T10 = TYPE_CHECK TYPE [null, true, long, double, string, array, object, resource] T11
0043 JMPZ T10 0082
0044 INIT_FCALL 1 96 string("array_reverse")
0045 INIT_FCALL 2 112 string("explode")
0046 SEND_VAL string("[") 1
0047 SEND_VAR CV4($key) 2
0048 V10 = DO_ICALL
0049 SEND_VAR V10 1
0050 V10 = DO_ICALL
0051 ASSIGN CV6($keys) V10
0052 INIT_FCALL 1 96 string("array_pop")
0053 SEND_REF CV6($keys) 1
0054 V10 = DO_ICALL
0055 ASSIGN CV4($key) V10
0056 ASSIGN CV7($temp) CV5($value)
0057 V10 = FE_RESET_R CV6($keys) 0065
0058 FE_FETCH_R V10 CV8($k) 0065
0059 T11 = FRAMELESS_ICALL_3(substr) CV8($k) int(0)
0060 OP_DATA int(-1)
0061 ASSIGN CV8($k) T11
0062 T11 = INIT_ARRAY 1 (packed) CV7($temp) CV8($k)
0063 ASSIGN CV7($temp) T11
0064 JMP 0058
0065 FE_FREE V10
0066 T10 = ISSET_ISEMPTY_DIM_OBJ (isset) CV2($ret) CV4($key)
0067 JMPZ T10 0079
0068 T11 = FETCH_DIM_R CV2($ret) CV4($key)
0069 T10 = TYPE_CHECK (array) T11
0070 JMPZ T10 0079
0071 INIT_FCALL 2 112 string("array_merge")
0072 T10 = FETCH_DIM_R CV2($ret) CV4($key)
0073 SEND_VAL T10 1
0074 SEND_VAR CV7($temp) 2
0075 V10 = DO_ICALL
0076 ASSIGN_DIM CV2($ret) CV4($key)
0077 OP_DATA V10
0078 JMP 0015
0079 ASSIGN_DIM CV2($ret) CV4($key)
0080 OP_DATA CV7($temp)
0081 JMP 0015
0082 ASSIGN_DIM CV2($ret) CV4($key)
0083 OP_DATA CV5($value)
0084 JMP 0015
0085 FE_FREE V9
0086 RETURN CV2($ret)
LIVE RANGES:
9: 0015 - 0085 (loop)
10: 0028 - 0032 (tmp/var)
10: 0058 - 0065 (loop)
11: 0060 - 0061 (tmp/var)
wfAppendQuery:
; (lines=29, args=2, vars=4, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:430-457
0000 CV0($url) = RECV 1
0001 CV1($query) = RECV 2
0002 T4 = TYPE_CHECK (array) CV1($query)
0003 JMPZ T4 0008
0004 INIT_FCALL 1 320 string("wfarraytocgi")
0005 SEND_VAR CV1($query) 1
0006 V4 = DO_UCALL
0007 ASSIGN CV1($query) V4
0008 T4 = IS_NOT_EQUAL CV1($query) string("")
0009 JMPZ T4 0028
0010 CV2($fragment) = QM_ASSIGN bool(false)
0011 CV3($hashPos) = FRAMELESS_ICALL_2(strpos) CV0($url) string("#")
0012 T4 = TYPE_CHECK TYPE [null, true, long, double, string, array, object, resource] CV3($hashPos)
0013 JMPZ T4 0018
0014 CV2($fragment) = FRAMELESS_ICALL_2(substr) CV0($url) CV3($hashPos)
0015 T4 = FRAMELESS_ICALL_3(substr) CV0($url) int(0)
0016 OP_DATA CV3($hashPos)
0017 ASSIGN CV0($url) T4
0018 T5 = FRAMELESS_ICALL_2(strpos) CV0($url) string("?")
0019 T4 = TYPE_CHECK (false) T5
0020 JMPZ T4 0023
0021 ASSIGN_OP (CONCAT) CV0($url) string("?")
0022 JMP 0024
0023 ASSIGN_OP (CONCAT) CV0($url) string("&")
0024 ASSIGN_OP (CONCAT) CV0($url) CV1($query)
0025 T4 = TYPE_CHECK TYPE [null, true, long, double, string, array, object, resource] CV2($fragment)
0026 JMPZ T4 0028
0027 ASSIGN_OP (CONCAT) CV0($url) CV2($fragment)
0028 RETURN CV0($url)
LIVE RANGES:
4: 0016 - 0017 (tmp/var)
wfGetUrlUtils:
; (lines=51, args=0, vars=7, tmps=5)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:464-487
0000 BIND_GLOBAL CV0($wgServer) string("wgServer")
0001 BIND_GLOBAL CV1($wgCanonicalServer) string("wgCanonicalServer")
0002 BIND_GLOBAL CV2($wgInternalServer) string("wgInternalServer")
0003 BIND_GLOBAL CV3($wgRequest) string("wgRequest")
0004 BIND_GLOBAL CV4($wgHttpsPort) string("wgHttpsPort")
0005 BIND_GLOBAL CV5($wgUrlProtocols) string("wgUrlProtocols")
0006 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("hasInstance")
0007 V7 = DO_FCALL
0008 JMPZ V7 0020
0009 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("getInstance")
0010 V7 = DO_FCALL
0011 CV6($services) = QM_ASSIGN V7
0012 INIT_METHOD_CALL 1 CV6($services) string("hasService")
0013 SEND_VAL_EX string("UrlUtils") 1
0014 V7 = DO_FCALL
0015 JMPZ V7 0020
0016 INIT_METHOD_CALL 0 CV6($services) string("getUrlUtils")
0017 V7 = DO_FCALL
0018 VERIFY_RETURN_TYPE V7
0019 RETURN V7
0020 V7 = NEW 1 string("MediaWiki\\Utils\\UrlUtils")
0021 T10 = FETCH_CLASS_CONSTANT string("MediaWiki\\Utils\\UrlUtils") string("SERVER")
0022 T9 = COALESCE CV0($wgServer) 0024
0023 T9 = QM_ASSIGN string("")
0024 T8 = INIT_ARRAY 6 (packed) T9 T10
0025 T10 = FETCH_CLASS_CONSTANT string("MediaWiki\\Utils\\UrlUtils") string("CANONICAL_SERVER")
0026 T9 = COALESCE CV1($wgCanonicalServer) 0028
0027 T9 = QM_ASSIGN string("")
0028 T8 = ADD_ARRAY_ELEMENT T9 T10
0029 T10 = FETCH_CLASS_CONSTANT string("MediaWiki\\Utils\\UrlUtils") string("INTERNAL_SERVER")
0030 T9 = COALESCE CV2($wgInternalServer) 0032
0031 T9 = QM_ASSIGN string("")
0032 T8 = ADD_ARRAY_ELEMENT T9 T10
0033 T10 = FETCH_CLASS_CONSTANT string("MediaWiki\\Utils\\UrlUtils") string("FALLBACK_PROTOCOL")
0034 JMPZ CV3($wgRequest) 0039
0035 INIT_METHOD_CALL 0 CV3($wgRequest) string("getProtocol")
0036 V11 = DO_FCALL
0037 T9 = QM_ASSIGN V11
0038 JMP 0042
0039 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Request\\WebRequest") string("detectProtocol")
0040 V11 = DO_FCALL
0041 T9 = QM_ASSIGN V11
0042 T8 = ADD_ARRAY_ELEMENT T9 T10
0043 T9 = FETCH_CLASS_CONSTANT string("MediaWiki\\Utils\\UrlUtils") string("HTTPS_PORT")
0044 T8 = ADD_ARRAY_ELEMENT CV4($wgHttpsPort) T9
0045 T9 = FETCH_CLASS_CONSTANT string("MediaWiki\\Utils\\UrlUtils") string("VALID_PROTOCOLS")
0046 T8 = ADD_ARRAY_ELEMENT CV5($wgUrlProtocols) T9
0047 SEND_VAL_EX T8 1
0048 DO_FCALL
0049 VERIFY_RETURN_TYPE V7
0050 RETURN V7
LIVE RANGES:
7: 0018 - 0019 (tmp/var)
7: 0021 - 0049 (new)
10: 0022 - 0024 (tmp/var)
8: 0025 - 0047 (tmp/var)
10: 0026 - 0028 (tmp/var)
10: 0030 - 0032 (tmp/var)
10: 0034 - 0042 (tmp/var)
7: 0049 - 0050 (tmp/var)
wfExpandUrl:
; (lines=12, args=2, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:516-518
0000 CV0($url) = RECV 1
0001 CV1($defaultProto) = RECV_INIT 2 zval(type=11)
0002 INIT_FCALL 0 272 string("wfgeturlutils")
0003 V2 = DO_UCALL
0004 INIT_METHOD_CALL 2 V2 string("expand")
0005 T2 = CAST (string) CV0($url)
0006 SEND_VAL_EX T2 1
0007 SEND_VAR_EX CV1($defaultProto) 2
0008 V3 = DO_FCALL
0009 T2 = COALESCE V3 0011
0010 T2 = QM_ASSIGN bool(false)
0011 RETURN T2
wfGetServerUrl:
; (lines=9, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:529-531
0000 CV0($proto) = RECV 1
0001 INIT_FCALL 0 272 string("wfgeturlutils")
0002 V1 = DO_UCALL
0003 INIT_METHOD_CALL 1 V1 string("getServer")
0004 SEND_VAR_EX CV0($proto) 1
0005 V2 = DO_FCALL
0006 T1 = COALESCE V2 0008
0007 T1 = QM_ASSIGN string("")
0008 RETURN T1
wfAssembleUrl:
; (lines=6, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:545-547
0000 CV0($urlParts) = RECV 1
0001 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\Utils\\UrlUtils") string("assemble")
0002 T1 = CAST (array) CV0($urlParts)
0003 SEND_VAL_EX T1 1
0004 V1 = DO_FCALL
0005 RETURN V1
wfRemoveDotSegments:
; (lines=6, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:559-561
0000 CV0($urlPath) = RECV 1
0001 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\Utils\\UrlUtils") string("removeDotSegments")
0002 T1 = CAST (string) CV0($urlPath)
0003 SEND_VAL_EX T1 1
0004 V1 = DO_FCALL
0005 RETURN V1
wfUrlProtocols:
; (lines=12, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:571-574
0000 CV0($includeProtocolRelative) = RECV_INIT 1 bool(true)
0001 JMPZ CV0($includeProtocolRelative) 0007
0002 INIT_FCALL 0 272 string("wfgeturlutils")
0003 V1 = DO_UCALL
0004 INIT_METHOD_CALL 0 V1 string("validProtocols")
0005 V1 = DO_FCALL
0006 RETURN V1
0007 INIT_FCALL 0 272 string("wfgeturlutils")
0008 V1 = DO_UCALL
0009 INIT_METHOD_CALL 0 V1 string("validAbsoluteProtocols")
0010 V1 = DO_FCALL
0011 RETURN V1
wfUrlProtocolsWithoutProtRel:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:583-585
0000 INIT_FCALL 0 272 string("wfgeturlutils")
0001 V0 = DO_UCALL
0002 INIT_METHOD_CALL 0 V0 string("validAbsoluteProtocols")
0003 V0 = DO_FCALL
0004 RETURN V0
wfParseUrl:
; (lines=10, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:613-615
0000 CV0($url) = RECV 1
0001 INIT_FCALL 0 272 string("wfgeturlutils")
0002 V1 = DO_UCALL
0003 INIT_METHOD_CALL 1 V1 string("parse")
0004 T1 = CAST (string) CV0($url)
0005 SEND_VAL_EX T1 1
0006 V2 = DO_FCALL
0007 T1 = COALESCE V2 0009
0008 T1 = QM_ASSIGN bool(false)
0009 RETURN T1
wfExpandIRI:
; (lines=10, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:626-628
0000 CV0($url) = RECV 1
0001 INIT_FCALL 0 272 string("wfgeturlutils")
0002 V1 = DO_UCALL
0003 INIT_METHOD_CALL 1 V1 string("expandIRI")
0004 T1 = CAST (string) CV0($url)
0005 SEND_VAL_EX T1 1
0006 V2 = DO_FCALL
0007 T1 = COALESCE V2 0009
0008 T1 = QM_ASSIGN string("")
0009 RETURN T1
wfMatchesDomainList:
; (lines=11, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:638-640
0000 CV0($url) = RECV 1
0001 CV1($domains) = RECV 2
0002 INIT_FCALL 0 272 string("wfgeturlutils")
0003 V2 = DO_UCALL
0004 INIT_METHOD_CALL 2 V2 string("matchesDomainList")
0005 T2 = CAST (string) CV0($url)
0006 SEND_VAL_EX T2 1
0007 T2 = CAST (array) CV1($domains)
0008 SEND_VAL_EX T2 2
0009 V2 = DO_FCALL
0010 RETURN V2
wfDebug:
; (lines=30, args=3, vars=6, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:662-678
0000 CV0($text) = RECV 1
0001 CV1($dest) = RECV_INIT 2 string("all")
0002 CV2($context) = RECV_INIT 3 array(...)
0003 BIND_GLOBAL CV3($wgDebugRawPage) string("wgDebugRawPage")
0004 BIND_GLOBAL CV4($wgDebugLogPrefix) string("wgDebugLogPrefix")
0005 JMPNZ CV3($wgDebugRawPage) 0010
0006 INIT_FCALL 0 144 string("wfisdebugrawpage")
0007 V6 = DO_UCALL
0008 JMPZ V6 0010
0009 RETURN null
0010 T6 = FRAMELESS_ICALL_1(trim) CV0($text)
0011 ASSIGN CV0($text) T6
0012 T6 = IS_NOT_IDENTICAL CV4($wgDebugLogPrefix) string("")
0013 JMPZ T6 0016
0014 ASSIGN_DIM CV2($context) string("prefix")
0015 OP_DATA CV4($wgDebugLogPrefix)
0016 T6 = TYPE_CHECK (false) CV1($dest)
0017 T6 = JMPNZ_EX T6 0019
0018 T6 = IS_IDENTICAL CV1($dest) string("private")
0019 ASSIGN_DIM CV2($context) string("private")
0020 OP_DATA T6
0021 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\Logger\\LoggerFactory") string("getInstance")
0022 SEND_VAL_EX string("wfDebug") 1
0023 V6 = DO_FCALL
0024 CV5($logger) = QM_ASSIGN V6
0025 INIT_METHOD_CALL 2 CV5($logger) string("debug")
0026 SEND_VAR_EX CV0($text) 1
0027 SEND_VAR_EX CV2($context) 2
0028 DO_FCALL
0029 RETURN null
wfIsDebugRawPage:
; (lines=18, args=0, vars=1, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:684-699
0000 BIND_STATIC (ref) CV0($cache)
0001 T1 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] CV0($cache)
0002 JMPZ T1 0004
0003 RETURN CV0($cache)
0004 T2 = FETCH_IS (global) string("_GET")
0005 T1 = ISSET_ISEMPTY_DIM_OBJ (isset) T2 string("action")
0006 JMPZ T1 0011
0007 T3 = FETCH_R (global) string("_GET")
0008 T2 = FETCH_DIM_R T3 string("action")
0009 T1 = IS_EQUAL T2 string("raw")
0010 JMPNZ T1 0014
0011 T2 = FETCH_CONSTANT string("MW_ENTRY_POINT")
0012 T1 = IS_IDENTICAL T2 string("load")
0013 JMPZ T1 0016
0014 ASSIGN CV0($cache) bool(true)
0015 RETURN CV0($cache)
0016 ASSIGN CV0($cache) bool(false)
0017 RETURN CV0($cache)
wfDebugLog:
; (lines=20, args=4, vars=5, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:726-734
0000 CV0($logGroup) = RECV 1
0001 CV1($text) = RECV 2
0002 CV2($dest) = RECV_INIT 3 string("all")
0003 CV3($context) = RECV_INIT 4 array(...)
0004 T5 = FRAMELESS_ICALL_1(trim) CV1($text)
0005 ASSIGN CV1($text) T5
0006 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\Logger\\LoggerFactory") string("getInstance")
0007 SEND_VAR_EX CV0($logGroup) 1
0008 V5 = DO_FCALL
0009 CV4($logger) = QM_ASSIGN V5
0010 T5 = TYPE_CHECK (false) CV2($dest)
0011 T5 = JMPNZ_EX T5 0013
0012 T5 = IS_IDENTICAL CV2($dest) string("private")
0013 ASSIGN_DIM CV3($context) string("private")
0014 OP_DATA T5
0015 INIT_METHOD_CALL 2 CV4($logger) string("info")
0016 SEND_VAR_EX CV1($text) 1
0017 SEND_VAR_EX CV3($context) 2
0018 DO_FCALL
0019 RETURN null
wfLogDBError:
; (lines=12, args=2, vars=3, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:744-747
0000 CV0($text) = RECV 1
0001 CV1($context) = RECV_INIT 2 array(...)
0002 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\Logger\\LoggerFactory") string("getInstance")
0003 SEND_VAL_EX string("wfLogDBError") 1
0004 V3 = DO_FCALL
0005 CV2($logger) = QM_ASSIGN V3
0006 INIT_METHOD_CALL 2 CV2($logger) string("error")
0007 T3 = FRAMELESS_ICALL_1(trim) CV0($text)
0008 SEND_VAL_EX T3 1
0009 SEND_VAR_EX CV1($context) 2
0010 DO_FCALL
0011 RETURN null
wfDeprecated:
; (lines=20, args=4, vars=4, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:765-774
0000 CV0($function) = RECV 1
0001 CV1($version) = RECV_INIT 2 bool(false)
0002 CV2($component) = RECV_INIT 3 bool(false)
0003 CV3($callerOffset) = RECV_INIT 4 int(2)
0004 T4 = TYPE_CHECK (string) CV1($version)
0005 JMPNZ T4 0012
0006 T4 = TYPE_CHECK TYPE [null, true, long, double, string, array, object, resource] CV1($version)
0007 JMPZ T4 0012
0008 V4 = NEW 1 string("InvalidArgumentException")
0009 SEND_VAL_EX string("MediaWiki version must either be a string or false. Example valid version: '1.33'") 1
0010 DO_FCALL
0011 THROW V4
0012 INIT_STATIC_METHOD_CALL 4 string("MWDebug") string("deprecated")
0013 SEND_VAR_EX CV0($function) 1
0014 SEND_VAR_EX CV1($version) 2
0015 SEND_VAR_EX CV2($component) 3
0016 T4 = ADD CV3($callerOffset) int(1)
0017 SEND_VAL_EX T4 4
0018 DO_FCALL
0019 RETURN null
LIVE RANGES:
4: 0009 - 0011 (new)
wfDeprecatedMsg:
; (lines=16, args=4, vars=4, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:796-799
0000 CV0($msg) = RECV 1
0001 CV1($version) = RECV_INIT 2 bool(false)
0002 CV2($component) = RECV_INIT 3 bool(false)
0003 CV3($callerOffset) = RECV_INIT 4 int(2)
0004 INIT_STATIC_METHOD_CALL 4 string("MWDebug") string("deprecatedMsg")
0005 SEND_VAR_EX CV0($msg) 1
0006 SEND_VAR_EX CV1($version) 2
0007 SEND_VAR_EX CV2($component) 3
0008 T4 = TYPE_CHECK (false) CV3($callerOffset)
0009 JMPZ T4 0012
0010 T4 = QM_ASSIGN bool(false)
0011 JMP 0013
0012 T4 = ADD CV3($callerOffset) int(1)
0013 SEND_VAL_EX T4 4
0014 DO_FCALL
0015 RETURN null
wfWarn:
; (lines=11, args=3, vars=3, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:811-813
0000 CV0($msg) = RECV 1
0001 CV1($callerOffset) = RECV_INIT 2 int(1)
0002 CV2($level) = RECV_INIT 3 zval(type=11)
0003 INIT_STATIC_METHOD_CALL 4 string("MWDebug") string("warning")
0004 SEND_VAR_EX CV0($msg) 1
0005 T3 = ADD CV1($callerOffset) int(1)
0006 SEND_VAL_EX T3 2
0007 SEND_VAR_EX CV2($level) 3
0008 SEND_VAL_EX string("auto") 4
0009 DO_FCALL
0010 RETURN null
wfLogWarning:
; (lines=11, args=3, vars=3, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:824-826
0000 CV0($msg) = RECV 1
0001 CV1($callerOffset) = RECV_INIT 2 int(1)
0002 CV2($level) = RECV_INIT 3 zval(type=11)
0003 INIT_STATIC_METHOD_CALL 4 string("MWDebug") string("warning")
0004 SEND_VAR_EX CV0($msg) 1
0005 T3 = ADD CV1($callerOffset) int(1)
0006 SEND_VAL_EX T3 2
0007 SEND_VAR_EX CV2($level) 3
0008 SEND_VAL_EX string("production") 4
0009 DO_FCALL
0010 RETURN null
wfGetLangObj:
; (lines=46, args=1, vars=5, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:844-878
0000 CV0($langcode) = RECV_INIT 1 bool(false)
0001 INIT_FCALL 2 160 string("wfdeprecated")
0002 SEND_VAL string("wfGetLangObj") 1
0003 SEND_VAL string("1.41") 2
0004 DO_UCALL
0005 T5 = TYPE_CHECK (object) CV0($langcode)
0006 JMPZ T5 0008
0007 RETURN CV0($langcode)
0008 BIND_GLOBAL CV1($wgLanguageCode) string("wgLanguageCode")
0009 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("getInstance")
0010 V5 = DO_FCALL
0011 CV2($services) = QM_ASSIGN V5
0012 T5 = TYPE_CHECK (true) CV0($langcode)
0013 JMPNZ T5 0016
0014 T5 = IS_IDENTICAL CV0($langcode) CV1($wgLanguageCode)
0015 JMPZ T5 0019
0016 INIT_METHOD_CALL 0 CV2($services) string("getContentLanguage")
0017 V5 = DO_FCALL
0018 RETURN V5
0019 BIND_GLOBAL CV3($wgLang) string("wgLang")
0020 T5 = TYPE_CHECK (false) CV0($langcode)
0021 JMPNZ T5 0026
0022 INIT_METHOD_CALL 0 CV3($wgLang) string("getCode")
0023 V6 = DO_FCALL
0024 T5 = IS_IDENTICAL CV0($langcode) V6
0025 JMPZ T5 0027
0026 RETURN CV3($wgLang)
0027 INIT_METHOD_CALL 0 CV2($services) string("getLanguageNameUtils")
0028 V5 = DO_FCALL
0029 INIT_METHOD_CALL 0 V5 string("getLanguageNames")
0030 V5 = DO_FCALL
0031 CV4($languageNames) = QM_ASSIGN V5
0032 T5 = ISSET_ISEMPTY_DIM_OBJ (isset) CV4($languageNames) CV0($langcode)
0033 JMPZ T5 0040
0034 INIT_METHOD_CALL 0 CV2($services) string("getLanguageFactory")
0035 V5 = DO_FCALL
0036 INIT_METHOD_CALL 1 V5 string("getLanguage")
0037 SEND_VAR_EX CV0($langcode) 1
0038 V5 = DO_FCALL
0039 RETURN V5
0040 INIT_FCALL 1 192 string("wfdebug")
0041 SEND_VAL string("Invalid language code passed to wfGetLangObj, falling back to content language.") 1
0042 DO_UCALL
0043 INIT_METHOD_CALL 0 CV2($services) string("getContentLanguage")
0044 V5 = DO_FCALL
0045 RETURN V5
wfMessage:
; (lines=20, args=1, vars=3, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:901-915
0000 CV0($key) = RECV 1
0001 CV1($params) = RECV_VARIADIC 2
0002 T3 = TYPE_CHECK (array) CV0($key)
0003 JMPZ T3 0010
0004 INIT_FCALL 0 112 string("wfmessagefallback")
0005 SEND_UNPACK CV0($key)
0006 CHECK_UNDEF_ARGS
0007 V3 = DO_UCALL
0008 CV2($message) = QM_ASSIGN V3
0009 JMP 0014
0010 INIT_STATIC_METHOD_CALL 1 string("Message") string("newFromSpecifier")
0011 SEND_VAR_EX CV0($key) 1
0012 V3 = DO_FCALL
0013 CV2($message) = QM_ASSIGN V3
0014 JMPZ CV1($params) 0019
0015 INIT_METHOD_CALL 0 CV2($message) string("params")
0016 SEND_UNPACK CV1($params)
0017 CHECK_UNDEF_ARGS
0018 DO_FCALL
0019 RETURN CV2($message)
wfMessageFallback:
; (lines=6, args=0, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:929-931
0000 CV0($keys) = RECV_VARIADIC 1
0001 INIT_STATIC_METHOD_CALL 0 string("Message") string("newFallbackSequence")
0002 SEND_UNPACK CV0($keys)
0003 CHECK_UNDEF_ARGS
0004 V1 = DO_FCALL
0005 RETURN V1
wfMsgReplaceArgs:
; (lines=29, args=2, vars=5, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:941-959
0000 CV0($message) = RECV 1
0001 CV1($args) = RECV 2
") string("")MELESS_ICALL_3(str_replace) string("
0003 OP_DATA CV0($message)
0004 ASSIGN CV0($message) T5
0005 T5 = TYPE_CHECK (array) CV1($args)
0006 JMPZ T5 0028
0007 JMPZ CV1($args) 0028
0008 T6 = FETCH_DIM_R CV1($args) int(0)
0009 T5 = TYPE_CHECK (array) T6
0010 JMPZ T5 0016
0011 INIT_FCALL 1 96 string("array_values")
0012 T5 = FETCH_DIM_R CV1($args) int(0)
0013 SEND_VAL T5 1
0014 V5 = DO_ICALL
0015 ASSIGN CV1($args) V5
0016 CV2($replacementKeys) = QM_ASSIGN array(...)
0017 V5 = FE_RESET_R CV1($args) 0025
0018 T6 = FE_FETCH_R V5 CV3($param) 0025
0019 ASSIGN CV4($n) T6
0020 T7 = ADD CV4($n) int(1)
0021 T6 = FAST_CONCAT string("$") T7
0022 ASSIGN_DIM CV2($replacementKeys) T6
0023 OP_DATA CV3($param)
0024 JMP 0018
0025 FE_FREE V5
0026 T5 = FRAMELESS_ICALL_2(strtr) CV0($message) CV2($replacementKeys)
0027 ASSIGN CV0($message) T5
0028 RETURN CV0($message)
LIVE RANGES:
5: 0003 - 0004 (tmp/var)
5: 0018 - 0025 (loop)
wfHostname:
; (lines=5, args=0, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:969-977
0000 BIND_GLOBAL CV0($wgOverrideHostname) string("wgOverrideHostname")
0001 T1 = TYPE_CHECK TYPE [null, true, long, double, string, array, object, resource] CV0($wgOverrideHostname)
0002 JMPZ T1 0004
0003 RETURN CV0($wgOverrideHostname)
0004 RETURN string("tinyman")
wfDebugBacktrace:
; (lines=29, args=1, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:989-1007
0000 CV0($limit) = RECV_INIT 1 int(0)
0001 BIND_STATIC (ref) CV1($disabled)
0002 T2 = TYPE_CHECK (null) CV1($disabled)
0003 JMPZ T2 0009
0004 ASSIGN CV1($disabled) bool(false)
0005 JMPZ CV1($disabled) 0011
0006 INIT_FCALL 1 192 string("wfdebug")
0007 SEND_VAL string("debug_backtrace() is disabled") 1
0008 DO_UCALL
0009 JMPZ CV1($disabled) 0011
0010 RETURN array(...)
0011 JMPZ CV0($limit) 0022
0012 INIT_FCALL 2 112 string("array_slice")
0013 INIT_FCALL 2 112 string("debug_backtrace")
0014 SEND_VAL int(1) 1
0015 T2 = ADD CV0($limit) int(1)
0016 SEND_VAL T2 2
0017 V2 = DO_ICALL
0018 SEND_VAR V2 1
0019 SEND_VAL int(1) 2
0020 V2 = DO_ICALL
0021 RETURN V2
0022 INIT_FCALL 2 112 string("array_slice")
0023 INIT_FCALL 0 80 string("debug_backtrace")
0024 V2 = DO_ICALL
0025 SEND_VAR V2 1
0026 SEND_VAL int(1) 2
0027 V2 = DO_ICALL
0028 RETURN V2
wfBacktrace:
; (lines=27, args=1, vars=4, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1017-1038
0000 CV0($raw) = RECV_INIT 1 null
0001 T4 = COALESCE CV0($raw) 0005
0002 T6 = FETCH_CONSTANT string("MW_ENTRY_POINT")
0003 T5 = IS_IDENTICAL T6 string("cli")
0004 T4 = ASSIGN CV0($raw) T5
0005 FREE T4
0006 JMPZ CV0($raw) 0010
0007 CV1($frameFormat) = QM_ASSIGN string("%s line %s calls %s()
")
0008 CV2($traceFormat) = QM_ASSIGN string("%s")
0009 JMP 0012
0010 CV1($frameFormat) = QM_ASSIGN string("<li>%s line %s calls %s()</li>
")
0011 CV2($traceFormat) = QM_ASSIGN string("<ul>
%s</ul>
")
0012 INIT_FCALL 2 112 string("array_map")
0013 T4 = DECLARE_LAMBDA_FUNCTION 0
0014 BIND_LEXICAL T4 CV1($frameFormat)
0015 SEND_VAL T4 1
0016 INIT_FCALL 0 128 string("wfdebugbacktrace")
0017 V4 = DO_UCALL
0018 SEND_VAR V4 2
0019 V4 = DO_ICALL
0020 CV3($frames) = QM_ASSIGN V4
0021 INIT_FCALL 2 112 string("sprintf")
0022 SEND_VAR CV2($traceFormat) 1
0023 T4 = FRAMELESS_ICALL_2(implode) string("") CV3($frames)
0024 SEND_VAL T4 2
0025 V4 = DO_ICALL
0026 RETURN V4
LIVE RANGES:
4: 0014 - 0015 (tmp/var)
{closure:wfBacktrace():1027}:
; (lines=31, args=1, vars=5, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1027-1035
0000 CV0($frame) = RECV 1
0001 BIND_STATIC CV1($frameFormat)
0002 T5 = ISSET_ISEMPTY_DIM_OBJ (empty) CV0($frame) string("file")
0003 JMPNZ T5 0010
0004 INIT_FCALL 1 96 string("basename")
0005 T5 = FETCH_DIM_R CV0($frame) string("file")
0006 SEND_VAL T5 1
0007 V6 = DO_ICALL
0008 T5 = QM_ASSIGN V6
0009 JMP 0011
0010 T5 = QM_ASSIGN string("-")
0011 CV2($file) = QM_ASSIGN T5
0012 T6 = FETCH_DIM_IS CV0($frame) string("line")
0013 T5 = COALESCE T6 0015
0014 T5 = QM_ASSIGN string("-")
0015 CV3($line) = QM_ASSIGN T5
0016 CV4($call) = FETCH_DIM_R CV0($frame) string("function")
0017 T5 = ISSET_ISEMPTY_DIM_OBJ (empty) CV0($frame) string("class")
0018 JMPNZ T5 0024
0019 T5 = FETCH_DIM_R CV0($frame) string("class")
0020 T7 = FETCH_DIM_R CV0($frame) string("type")
0021 T6 = CONCAT T5 T7
0022 T5 = CONCAT T6 CV4($call)
0023 ASSIGN CV4($call) T5
0024 INIT_FCALL 4 144 string("sprintf")
0025 SEND_VAR CV1($frameFormat) 1
0026 SEND_VAR CV2($file) 2
0027 SEND_VAR CV3($line) 3
0028 SEND_VAR CV4($call) 4
0029 V5 = DO_ICALL
0030 RETURN V5
LIVE RANGES:
5: 0020 - 0021 (tmp/var)
wfGetCaller:
; (lines=14, args=1, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1049-1056
0000 CV0($level) = RECV_INIT 1 int(2)
0001 INIT_FCALL 1 128 string("wfdebugbacktrace")
0002 T2 = ADD CV0($level) int(1)
0003 SEND_VAL T2 1
0004 V2 = DO_UCALL
0005 CV1($backtrace) = QM_ASSIGN V2
0006 T2 = ISSET_ISEMPTY_DIM_OBJ (isset) CV1($backtrace) CV0($level)
0007 JMPZ T2 0013
0008 INIT_FCALL 1 144 string("wfformatstackframe")
0009 V2 = FETCH_DIM_R CV1($backtrace) CV0($level)
0010 SEND_VAR V2 1
0011 V2 = DO_UCALL
0012 RETURN V2
0013 RETURN string("unknown")
wfGetAllCallers:
; (lines=29, args=1, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1065-1072
0000 CV0($limit) = RECV_INIT 1 int(3)
0001 INIT_FCALL 1 96 string("array_reverse")
0002 INIT_FCALL 0 128 string("wfdebugbacktrace")
0003 V2 = DO_UCALL
0004 SEND_VAR V2 1
0005 V2 = DO_ICALL
0006 CV1($trace) = QM_ASSIGN V2
0007 JMPZ CV0($limit) 0012
0008 T2 = COUNT CV1($trace)
0009 T3 = SUB T2 int(1)
0010 T2 = IS_SMALLER T3 CV0($limit)
0011 JMPZ T2 0015
0012 T3 = COUNT CV1($trace)
0013 T2 = SUB T3 int(1)
0014 ASSIGN CV0($limit) T2
0015 INIT_FCALL 3 128 string("array_slice")
0016 SEND_VAR CV1($trace) 1
0017 T3 = MUL CV0($limit) int(-1)
0018 T2 = SUB T3 int(1)
0019 SEND_VAL T2 2
0020 SEND_VAR CV0($limit) 3
0021 V2 = DO_ICALL
0022 ASSIGN CV1($trace) V2
0023 INIT_FCALL 2 112 string("array_map")
0024 SEND_VAL string("wfFormatStackFrame") 1
0025 SEND_VAR CV1($trace) 2
0026 V3 = DO_ICALL
0027 T2 = FRAMELESS_ICALL_2(implode) string("/") V3
0028 RETURN T2
wfFormatStackFrame:
; (lines=16, args=1, vars=1, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1080-1087
0000 CV0($frame) = RECV 1
0001 T1 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($frame) string("function")
0002 JMPNZ T1 0004
0003 RETURN string("NO_FUNCTION_GIVEN")
0004 T1 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($frame) string("class")
0005 JMPZ T1 0014
0006 T1 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($frame) string("type")
0007 JMPZ T1 0014
0008 T1 = FETCH_DIM_R CV0($frame) string("class")
0009 T3 = FETCH_DIM_R CV0($frame) string("type")
0010 T2 = CONCAT T1 T3
0011 T3 = FETCH_DIM_R CV0($frame) string("function")
0012 T1 = CONCAT T2 T3
0013 RETURN T1
0014 T1 = FETCH_DIM_R CV0($frame) string("function")
0015 RETURN T1
LIVE RANGES:
1: 0009 - 0010 (tmp/var)
2: 0011 - 0012 (tmp/var)
wfClientAcceptsGzip:
; (lines=32, args=1, vars=3, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1098-1120
0000 CV0($force) = RECV_INIT 1 bool(false)
0001 BIND_STATIC (ref) CV1($result)
0002 T3 = TYPE_CHECK (null) CV1($result)
0003 JMPNZ T3 0005
0004 JMPZ CV0($force) 0031
0005 ASSIGN CV1($result) bool(false)
0006 T4 = FETCH_IS (global) string("_SERVER")
0007 T3 = ISSET_ISEMPTY_DIM_OBJ (isset) T4 string("HTTP_ACCEPT_ENCODING")
0008 JMPZ T3 0031
0009 CV2($m) = QM_ASSIGN array(...)
0010 INIT_FCALL 3 128 string("preg_match")
0011 SEND_VAL string("/\\bgzip(?:;(q)=([0-9]+(?:\\.[0-9]+)))?\\b/") 1
0012 T4 = FETCH_R (global) string("_SERVER")
0013 T3 = FETCH_DIM_R T4 string("HTTP_ACCEPT_ENCODING")
0014 SEND_VAL T3 2
0015 SEND_REF CV2($m) 3
0016 V3 = DO_ICALL
0017 JMPZ V3 0031
0018 T3 = ISSET_ISEMPTY_DIM_OBJ (isset) CV2($m) int(2)
0019 JMPZ T3 0027
0020 T4 = FETCH_DIM_R CV2($m) int(1)
0021 T3 = IS_EQUAL T4 string("q")
0022 JMPZ T3 0027
0023 T4 = FETCH_DIM_R CV2($m) int(2)
0024 T3 = IS_EQUAL T4 int(0)
0025 JMPZ T3 0027
0026 RETURN CV1($result)
0027 INIT_FCALL 1 192 string("wfdebug")
0028 SEND_VAL string("wfClientAcceptsGzip: client accepts gzip.") 1
0029 DO_UCALL
0030 ASSIGN CV1($result) bool(true)
0031 RETURN CV1($result)
wfEscapeWikiText:
; (lines=96, args=1, vars=12, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1132-1214
0000 CV0($input) = RECV 1
0001 BIND_GLOBAL CV1($wgEnableMagicLinks) string("wgEnableMagicLinks")
0002 BIND_STATIC (ref) CV2($repl)
0003 BIND_STATIC (ref) CV3($repl2)
0004 BIND_STATIC (ref) CV4($repl3)
0005 BIND_STATIC (ref) CV5($repl4)
0006 T12 = TYPE_CHECK (null) CV2($repl)
0007 JMPNZ T12 0012
0008 T12 = DEFINED string("MW_PARSER_TEST")
0009 JMPNZ T12 0012
0010 T12 = DEFINED string("MW_PHPUNIT_TEST")
0011 JMPZ T12 0070
0012 ASSIGN CV2($repl) array(...)
0013 INIT_FCALL 1 96 string("array_keys")
0014 INIT_FCALL 1 96 string("array_filter")
0015 SEND_VAR CV1($wgEnableMagicLinks) 1
0016 V12 = DO_ICALL
0017 SEND_VAR V12 1
0018 V12 = DO_ICALL
0019 CV6($magicLinks) = QM_ASSIGN V12
0020 V12 = FE_RESET_R CV6($magicLinks) 0043
0021 FE_FETCH_R V12 CV7($magic) 0043
0022 T14 = FAST_CONCAT CV7($magic) string(" ")
0023 T13 = FAST_CONCAT CV7($magic) string("&#32;")
0024 ASSIGN_DIM CV2($repl) T14
0025 OP_DATA T13
0026 T14 = FAST_CONCAT CV7($magic) string(" ")
0027 T13 = FAST_CONCAT CV7($magic) string("&#9;")
0028 ASSIGN_DIM CV2($repl) T14
0029 OP_DATA T13
")30 T14 = FAST_CONCAT CV7($magic) string("
0031 T13 = FAST_CONCAT CV7($magic) string("&#13;")
0032 ASSIGN_DIM CV2($repl) T14
0033 OP_DATA T13
0034 T14 = FAST_CONCAT CV7($magic) string("
")
0035 T13 = FAST_CONCAT CV7($magic) string("&#10;")
0036 ASSIGN_DIM CV2($repl) T14
0037 OP_DATA T13
0038 T14 = FAST_CONCAT CV7($magic) string("
")
0039 T13 = FAST_CONCAT CV7($magic) string("&#12;")
0040 ASSIGN_DIM CV2($repl) T14
0041 OP_DATA T13
0042 JMP 0021
0043 FE_FREE V12
0044 ASSIGN CV4($repl3) array(...)
0045 ASSIGN CV5($repl4) array(...)
0046 BIND_GLOBAL CV8($wgUrlProtocols) string("wgUrlProtocols")
0047 ASSIGN CV3($repl2) array(...)
0048 V12 = FE_RESET_R CV8($wgUrlProtocols) 0062
0049 FE_FETCH_R V12 CV9($prot) 0062
0050 T14 = FRAMELESS_ICALL_2(substr) CV9($prot) int(-1)
0051 T13 = IS_IDENTICAL T14 string(":")
0052 JMPZ T13 0049
0053 INIT_FCALL 2 112 string("preg_quote")
0054 T13 = FRAMELESS_ICALL_3(substr) CV9($prot) int(0)
0055 OP_DATA int(-1)
0056 SEND_VAL T13 1
0057 SEND_VAL string("/") 2
0058 V13 = DO_ICALL
0059 ASSIGN_DIM CV3($repl2) NEXT
0060 OP_DATA V13
0061 JMP 0049
0062 FE_FREE V12
0063 JMPZ CV3($repl2) 0068
0064 T12 = FRAMELESS_ICALL_2(implode) string("|") CV3($repl2)
0065 T13 = FAST_CONCAT string("/\\b(") T12
0066 T12 = FAST_CONCAT T13 string("):/i")
0067 JMP 0069
0068 T12 = QM_ASSIGN string("/^(?!)/")
0069 ASSIGN CV3($repl2) T12
0070 T13 = FAST_CONCAT string("
") CV0($input)
0071 T12 = FRAMELESS_ICALL_2(strtr) T13 CV2($repl)
0072 CV10($text) = FRAMELESS_ICALL_2(substr) T12 int(1)
0073 T12 = IS_IDENTICAL CV10($text) string("")
0074 JMPZ T12 0076
0075 RETURN CV10($text)
0076 T12 = FETCH_DIM_R CV10($text) int(0)
0077 CV11($first) = FRAMELESS_ICALL_2(strtr) T12 CV4($repl3)
0078 T13 = STRLEN CV10($text)
0079 T12 = IS_SMALLER int(1) T13
0080 JMPZ T12 0089
0081 T12 = FRAMELESS_ICALL_3(substr) CV10($text) int(1)
0082 OP_DATA int(-1)
0083 T13 = FAST_CONCAT CV11($first) T12
0084 T12 = FRAMELESS_ICALL_2(substr) CV10($text) int(-1)
0085 T14 = FRAMELESS_ICALL_2(strtr) T12 CV5($repl4)
0086 T12 = FAST_CONCAT T13 T14
0087 ASSIGN CV10($text) T12
0088 JMP 0091
0089 T12 = FRAMELESS_ICALL_2(strtr) CV11($first) CV5($repl4)
0090 ASSIGN CV10($text) T12
0091 T12 = FRAMELESS_ICALL_3(preg_replace) CV3($repl2) string("$1&#58;")
0092 OP_DATA CV10($text)
0093 ASSIGN CV10($text) T12
0094 VERIFY_RETURN_TYPE CV10($text)
0095 RETURN CV10($text)
LIVE RANGES:
12: 0021 - 0043 (loop)
14: 0023 - 0024 (tmp/var)
14: 0027 - 0028 (tmp/var)
14: 0031 - 0032 (tmp/var)
14: 0035 - 0036 (tmp/var)
14: 0039 - 0040 (tmp/var)
12: 0049 - 0062 (loop)
13: 0055 - 0056 (tmp/var)
12: 0082 - 0083 (tmp/var)
13: 0084 - 0086 (tmp/var)
12: 0092 - 0093 (tmp/var)
wfSetVar:
; (lines=9, args=3, vars=4, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1226-1232
0000 CV0($dest) = RECV 1
0001 CV1($source) = RECV 2
0002 CV2($force) = RECV_INIT 3 bool(false)
0003 CV3($temp) = QM_ASSIGN CV0($dest)
0004 T4 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] CV1($source)
0005 JMPNZ T4 0007
0006 JMPZ CV2($force) 0008
0007 ASSIGN CV0($dest) CV1($source)
0008 RETURN CV3($temp)
wfSetBit:
; (lines=13, args=3, vars=4, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1243-1253
0000 CV0($dest) = RECV 1
0001 CV1($bit) = RECV 2
0002 CV2($state) = RECV_INIT 3 bool(true)
0003 T4 = BW_AND CV0($dest) CV1($bit)
0004 CV3($temp) = BOOL T4
0005 T4 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] CV2($state)
0006 JMPZ T4 0012
0007 JMPZ CV2($state) 0010
0008 ASSIGN_OP (BW_OR) CV0($dest) CV1($bit)
0009 RETURN CV3($temp)
0010 T4 = BW_NOT CV1($bit)
0011 ASSIGN_OP (BW_AND) CV0($dest) T4
0012 RETURN CV3($temp)
wfVarDump:
; (lines=22, args=1, vars=3, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1261-1269
0000 CV0($var) = RECV 1
0001 BIND_GLOBAL CV1($wgOut) string("wgOut")
0002 INIT_FCALL 2 112 string("var_export")
0003 SEND_VAR CV0($var) 1
0004 SEND_VAL bool(true) 2
0005 V4 = DO_ICALL
0006 T3 = FAST_CONCAT V4 string("
")
0007 CV2($s) = FRAMELESS_ICALL_3(str_replace) string("
") string("<br />
")
0008 OP_DATA T3
0009 INIT_FCALL 0 80 string("headers_sent")
0010 V3 = DO_ICALL
0011 JMPNZ V3 0016
0012 T3 = ISSET_ISEMPTY_CV (isset) CV1($wgOut)
0013 JMPZ T3 0016
0014 T3 = TYPE_CHECK (object) CV1($wgOut)
0015 JMPNZ T3 0018
0016 ECHO CV2($s)
0017 RETURN null
0018 INIT_METHOD_CALL 1 CV1($wgOut) string("addHTML")
0019 SEND_VAR_EX CV2($s) 1
0020 DO_FCALL
0021 RETURN null
wfHttpError:
; (lines=47, args=3, vars=4, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1278-1299
0000 CV0($code) = RECV 1
0001 CV1($label) = RECV 2
0002 CV2($desc) = RECV 3
0003 BIND_GLOBAL CV3($wgOut) string("wgOut")
0004 INIT_STATIC_METHOD_CALL 1 string("HttpStatus") string("header")
0005 SEND_VAR_EX CV0($code) 1
0006 DO_FCALL
0007 JMPZ CV3($wgOut) 0012
0008 INIT_METHOD_CALL 0 CV3($wgOut) string("disable")
0009 DO_FCALL
0010 INIT_METHOD_CALL 0 CV3($wgOut) string("sendCacheControl")
0011 DO_FCALL
0012 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Request\\HeaderCallback") string("warnIfHeadersSent")
0013 DO_FCALL
0014 INIT_FCALL 1 96 string("header")
0015 SEND_VAL string("Content-type: text/html; charset=utf-8") 1
0016 DO_ICALL
0017 INIT_FCALL 0 80 string("ob_start")
0018 DO_ICALL
0019 INIT_FCALL 1 96 string("htmlspecialchars")
0020 SEND_VAR CV1($label) 1
0021 V4 = DO_ICALL
0022 T5 = FAST_CONCAT string("<!DOCTYPE html><html><head><title>") V4
0023 T4 = FAST_CONCAT T5 string("</title></head><body><h1>")
0024 INIT_FCALL 1 96 string("htmlspecialchars")
0025 SEND_VAR CV1($label) 1
0026 V6 = DO_ICALL
0027 T5 = FAST_CONCAT T4 V6
0028 T4 = FAST_CONCAT T5 string("</h1><p>")
0029 INIT_FCALL 1 96 string("nl2br")
0030 INIT_FCALL 1 96 string("htmlspecialchars")
0031 SEND_VAR CV2($desc) 1
0032 V5 = DO_ICALL
0033 SEND_VAR V5 1
0034 V6 = DO_ICALL
0035 T5 = FAST_CONCAT T4 V6
0036 T4 = FAST_CONCAT T5 string("</p></body></html>
")
0037 ECHO T4
0038 INIT_FCALL 1 96 string("header")
0039 INIT_FCALL 0 80 string("ob_get_length")
0040 V5 = DO_ICALL
0041 T4 = FAST_CONCAT string("Content-Length: ") V5
0042 SEND_VAL T4 1
0043 DO_ICALL
0044 INIT_FCALL 0 80 string("ob_end_flush")
0045 DO_ICALL
0046 RETURN null
LIVE RANGES:
4: 0024 - 0027 (tmp/var)
4: 0029 - 0035 (tmp/var)
wfResetOutputBuffers:
; (lines=40, args=1, vars=3, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1321-1353
0000 CV0($resetGzipEncoding) = RECV_INIT 1 bool(true)
0001 JMP 0035
0002 T3 = ISSET_ISEMPTY_DIM_OBJ (isset) CV1($status) string("flags")
0003 JMPZ T3 0009
0004 T3 = FETCH_DIM_R CV1($status) string("flags")
0005 T4 = BW_AND T3 int(80)
0006 T3 = IS_IDENTICAL T4 int(80)
0007 ASSIGN CV2($deleteable) T3
0008 JMP 0017
0009 T3 = ISSET_ISEMPTY_DIM_OBJ (isset) CV1($status) string("del")
0010 JMPZ T3 0014
0011 T3 = FETCH_DIM_R CV1($status) string("del")
0012 ASSIGN CV2($deleteable) T3
0013 JMP 0017
0014 T4 = FETCH_DIM_R CV1($status) string("type")
0015 T3 = IS_NOT_IDENTICAL T4 int(0)
0016 ASSIGN CV2($deleteable) T3
0017 JMPNZ CV2($deleteable) 0019
0018 RETURN null
0019 T4 = FETCH_DIM_R CV1($status) string("name")
0020 T3 = IS_IDENTICAL T4 string("MediaWikiIntegrationTestCase::wfResetOutputBuffersBarrier")
0021 JMPZ T3 0023
0022 RETURN null
0023 INIT_FCALL 0 80 string("ob_end_clean")
0024 V3 = DO_ICALL
0025 JMPNZ V3 0027
0026 RETURN null
0027 JMPZ CV0($resetGzipEncoding) 0035
0028 T4 = FETCH_DIM_R CV1($status) string("name")
0029 T3 = IS_EQUAL T4 string("ob_gzhandler")
0030 JMPZ T3 0035
0031 INIT_FCALL 1 96 string("header_remove")
0032 SEND_VAL string("Content-Encoding") 1
0033 DO_ICALL
0034 RETURN null
0035 INIT_FCALL 0 80 string("ob_get_status")
0036 V3 = DO_ICALL
0037 ASSIGN CV1($status) V3
0038 JMPNZ CV1($status) 0002
0039 RETURN null
wfTimestamp:
; (lines=17, args=2, vars=3, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1365-1371
0000 CV0($outputtype) = RECV_INIT 1 zval(type=11)
0001 CV1($ts) = RECV_INIT 2 int(0)
0002 INIT_STATIC_METHOD_CALL 2 string("MediaWiki\\Utils\\MWTimestamp") string("convert")
0003 SEND_VAR_EX CV0($outputtype) 1
0004 SEND_VAR_EX CV1($ts) 2
0005 V3 = DO_FCALL
0006 CV2($ret) = QM_ASSIGN V3
0007 T3 = TYPE_CHECK (false) CV2($ret)
0008 JMPZ T3 0016
0009 INIT_FCALL 1 192 string("wfdebug")
0010 T4 = ROPE_INIT 4 string("wfTimestamp() fed bogus time value: TYPE=")
0011 T4 = ROPE_ADD 1 T4 CV0($outputtype)
0012 T4 = ROPE_ADD 2 T4 string("; VALUE=")
0013 T3 = ROPE_END 3 T4 CV1($ts)
0014 SEND_VAL T3 1
0015 DO_UCALL
0016 RETURN CV2($ret)
LIVE RANGES:
4: 0010 - 0013 (rope)
wfTimestampOrNull:
; (lines=10, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1381-1387
0000 CV0($outputtype) = RECV_INIT 1 zval(type=11)
0001 CV1($ts) = RECV_INIT 2 null
0002 T2 = TYPE_CHECK (null) CV1($ts)
0003 JMPZ T2 0005
0004 RETURN null
0005 INIT_FCALL 2 176 string("wftimestamp")
0006 SEND_VAR CV0($outputtype) 1
0007 SEND_VAR CV1($ts) 2
0008 V2 = DO_UCALL
0009 RETURN V2
wfTimestampNow:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1394-1396
0000 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\Utils\\MWTimestamp") string("now")
0001 T0 = FETCH_CONSTANT string("TS_MW")
0002 SEND_VAL_EX T0 1
0003 V0 = DO_FCALL
0004 RETURN V0
wfTempDir:
; (lines=7, args=0, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1409-1417
0000 BIND_GLOBAL CV0($wgTmpDirectory) string("wgTmpDirectory")
0001 T1 = TYPE_CHECK TYPE [null, true, long, double, string, array, object, resource] CV0($wgTmpDirectory)
0002 JMPZ T1 0004
0003 RETURN CV0($wgTmpDirectory)
0004 INIT_STATIC_METHOD_CALL 0 string("TempFSFile") string("getUsableTempDirectory")
0005 V1 = DO_FCALL
0006 RETURN V1
wfMkdirParents:
; (lines=63, args=3, vars=5, tmps=5)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1427-1456
0000 CV0($dir) = RECV 1
0001 CV1($mode) = RECV_INIT 2 null
0002 CV2($caller) = RECV_INIT 3 null
0003 BIND_GLOBAL CV3($wgDirectoryMode) string("wgDirectoryMode")
0004 INIT_STATIC_METHOD_CALL 1 string("FileBackend") string("isStoragePath")
0005 SEND_VAR_EX CV0($dir) 1
0006 V5 = DO_FCALL
0007 JMPZ V5 0016
0008 V5 = NEW 1 string("LogicException")
0009 T8 = ROPE_INIT 3 string(" given storage path '")
0010 T8 = ROPE_ADD 1 T8 CV0($dir)
0011 T7 = ROPE_END 2 T8 string("'.")
0012 T6 = FAST_CONCAT string("wfMkdirParents") T7
0013 SEND_VAL_EX T6 1
0014 DO_FCALL
0015 THROW V5
0016 T5 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] CV2($caller)
0017 JMPZ T5 0025
0018 INIT_FCALL 1 192 string("wfdebug")
0019 T6 = ROPE_INIT 4 CV2($caller)
0020 T6 = ROPE_ADD 1 T6 string(": called wfMkdirParents(")
0021 T6 = ROPE_ADD 2 T6 CV0($dir)
0022 T5 = ROPE_END 3 T6 string(")")
0023 SEND_VAL T5 1
0024 DO_UCALL
0025 T6 = CAST (string) CV0($dir)
0026 T5 = IS_IDENTICAL T6 string("")
0027 JMPZ T5 0029
0028 RETURN bool(true)
0029 T5 = FRAMELESS_ICALL_3(str_replace) array(...) string("/")
0030 OP_DATA CV0($dir)
0031 ASSIGN CV0($dir) T5
0032 T5 = COALESCE CV1($mode) 0034
0033 T5 = ASSIGN CV1($mode) CV3($wgDirectoryMode)
0034 FREE T5
0035 INIT_FCALL 1 96 string("is_dir")
0036 SEND_VAR CV0($dir) 1
0037 V6 = DO_ICALL
0038 T5 = JMPNZ_EX V6 0051
0039 T7 = BEGIN_SILENCE
0040 INIT_FCALL 3 128 string("mkdir")
0041 SEND_VAR CV0($dir) 1
0042 SEND_VAR CV1($mode) 2
0043 SEND_VAL bool(true) 3
0044 V6 = DO_ICALL
0045 END_SILENCE T7
0046 T5 = JMPNZ_EX V6 0051
0047 INIT_FCALL 1 96 string("is_dir")
0048 SEND_VAR CV0($dir) 1
0049 V6 = DO_ICALL
0050 T5 = BOOL V6
0051 CV4($ok) = QM_ASSIGN T5
0052 JMPNZ CV4($ok) 0062
0053 INIT_FCALL 2 112 string("trigger_error")
0054 INIT_FCALL 3 128 string("sprintf")
0055 SEND_VAL string("failed to mkdir \"%s\" mode 0%o") 1
0056 SEND_VAR CV0($dir) 2
0057 SEND_VAR CV1($mode) 3
0058 V5 = DO_ICALL
0059 SEND_VAR V5 1
0060 SEND_VAL int(512) 2
0061 DO_ICALL
0062 RETURN CV4($ok)
LIVE RANGES:
5: 0009 - 0015 (new)
8: 0009 - 0011 (rope)
6: 0019 - 0022 (rope)
5: 0030 - 0031 (tmp/var)
7: 0040 - 0045 (silence)
wfRecursiveRemoveDir:
; (lines=39, args=1, vars=3, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1463-1478
0000 CV0($dir) = RECV 1
0001 INIT_FCALL 1 96 string("is_dir")
0002 SEND_VAR CV0($dir) 1
0003 V3 = DO_ICALL
0004 JMPZ V3 0038
0005 INIT_FCALL 1 96 string("scandir")
0006 SEND_VAR CV0($dir) 1
0007 V3 = DO_ICALL
0008 CV1($objects) = QM_ASSIGN V3
0009 V3 = FE_RESET_R CV1($objects) 0034
0010 FE_FETCH_R V3 CV2($object) 0034
0011 T4 = IS_NOT_EQUAL CV2($object) string(".")
0012 JMPZ T4 0010
0013 T4 = IS_NOT_EQUAL CV2($object) string("..")
0014 JMPZ T4 0010
0015 INIT_FCALL 1 96 string("filetype")
0016 T5 = CONCAT CV0($dir) string("/")
0017 T4 = FAST_CONCAT T5 CV2($object)
0018 SEND_VAL T4 1
0019 V5 = DO_ICALL
0020 T4 = IS_EQUAL V5 string("dir")
0021 JMPZ T4 0028
0022 INIT_FCALL 1 176 string("wfrecursiveremovedir")
0023 T5 = CONCAT CV0($dir) string("/")
0024 T4 = FAST_CONCAT T5 CV2($object)
0025 SEND_VAL T4 1
0026 DO_UCALL
0027 JMP 0010
0028 INIT_FCALL 1 96 string("unlink")
0029 T5 = CONCAT CV0($dir) string("/")
0030 T4 = FAST_CONCAT T5 CV2($object)
0031 SEND_VAL T4 1
0032 DO_ICALL
0033 JMP 0010
0034 FE_FREE V3
0035 INIT_FCALL 1 96 string("rmdir")
0036 SEND_VAR CV0($dir) 1
0037 DO_ICALL
0038 RETURN null
LIVE RANGES:
3: 0010 - 0034 (loop)
wfPercent:
; (lines=27, args=3, vars=5, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1486-1490
0000 CV0($nr) = RECV 1
0001 CV1($acc) = RECV_INIT 2 int(2)
0002 CV2($round) = RECV_INIT 3 bool(true)
0003 T5 = IS_SMALLER_OR_EQUAL int(0) CV1($acc)
0004 JMPZ T5 0007
0005 T5 = QM_ASSIGN CV1($acc)
0006 JMP 0008
0007 T5 = QM_ASSIGN int(0)
0008 CV3($accForFormat) = QM_ASSIGN T5
0009 INIT_FCALL 2 112 string("sprintf")
0010 T6 = ROPE_INIT 3 string("%.")
0011 T6 = ROPE_ADD 1 T6 CV3($accForFormat)
0012 T5 = ROPE_END 2 T6 string("f")
0013 SEND_VAL T5 1
0014 SEND_VAR CV0($nr) 2
0015 V5 = DO_ICALL
0016 CV4($ret) = QM_ASSIGN V5
0017 JMPZ CV2($round) 0025
0018 INIT_FCALL 2 112 string("round")
0019 T5 = CAST (double) CV4($ret)
0020 SEND_VAL T5 1
0021 SEND_VAR CV1($acc) 2
0022 V6 = DO_ICALL
0023 T5 = FAST_CONCAT V6 string("%")
0024 RETURN T5
0025 T5 = FAST_CONCAT CV4($ret) string("%")
0026 RETURN T5
LIVE RANGES:
6: 0010 - 0012 (rope)
wfIniGetBool:
; (lines=8, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1515-1517
0000 CV0($setting) = RECV 1
0001 INIT_FCALL 1 128 string("wfstringtobool")
0002 INIT_FCALL 1 96 string("ini_get")
0003 SEND_VAR CV0($setting) 1
0004 V1 = DO_ICALL
0005 SEND_VAR V1 1
0006 V1 = DO_UCALL
0007 RETURN V1
wfStringToBool:
; (lines=14, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1531-1538
0000 CV0($val) = RECV 1
0001 INIT_FCALL 1 96 string("strtolower")
0002 SEND_VAR CV0($val) 1
0003 V1 = DO_ICALL
0004 ASSIGN CV0($val) V1
0005 T1 = IS_EQUAL CV0($val) string("on")
0006 T1 = JMPNZ_EX T1 0013
0007 T1 = IS_EQUAL CV0($val) string("true")
0008 T1 = JMPNZ_EX T1 0013
0009 T1 = IS_EQUAL CV0($val) string("yes")
0010 T1 = JMPNZ_EX T1 0013
0011 T2 = FRAMELESS_ICALL_2(preg_match) string("/^\\s*[+-]?0*[1-9]/") CV0($val)
0012 T1 = BOOL T2
0013 RETURN T1
wfEscapeShellArg:
; (lines=6, args=0, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1553-1555
0000 CV0($args) = RECV_VARIADIC 1
0001 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Shell\\Shell") string("escape")
0002 SEND_UNPACK CV0($args)
0003 CHECK_UNDEF_ARGS
0004 V1 = DO_FCALL
0005 RETURN V1
wfShellExec:
; (lines=63, args=5, vars=9, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1581-1615
0000 CV0($cmd) = RECV 1
0001 CV1($retval) = RECV_INIT 2 null
0002 CV2($environ) = RECV_INIT 3 array(...)
0003 CV3($limits) = RECV_INIT 4 array(...)
0004 CV4($options) = RECV_INIT 5 array(...)
0005 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Shell\\Shell") string("isDisabled")
0006 V9 = DO_FCALL
0007 JMPZ V9 0010
0008 ASSIGN CV1($retval) int(1)
0009 RETURN string("Unable to run external programs, proc_open() is disabled.")
0010 T9 = TYPE_CHECK (array) CV0($cmd)
0011 JMPZ T9 0016
0012 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\Shell\\Shell") string("escape")
0013 SEND_VAR_EX CV0($cmd) 1
0014 V9 = DO_FCALL
0015 ASSIGN CV0($cmd) V9
0016 T9 = ISSET_ISEMPTY_DIM_OBJ (isset) CV4($options) string("duplicateStderr")
0017 T9 = JMPZ_EX T9 0020
0018 T10 = FETCH_DIM_R CV4($options) string("duplicateStderr")
0019 T9 = BOOL T10
0020 ASSIGN CV5($includeStderr) T9
0021 T10 = FETCH_DIM_IS CV4($options) string("profileMethod")
0022 T9 = COALESCE T10 0026
0023 INIT_FCALL 0 208 string("wfgetcaller")
0024 V10 = DO_UCALL
0025 T9 = QM_ASSIGN V10
0026 ASSIGN CV6($profileMethod) T9
0027 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\Shell\\Shell") string("command")
0028 SEND_VAL_EX array(...) 1
0029 V9 = DO_FCALL
0030 INIT_METHOD_CALL 1 V9 string("unsafeParams")
0031 T9 = CAST (array) CV0($cmd)
0032 SEND_VAL_EX T9 1
0033 V9 = DO_FCALL
0034 INIT_METHOD_CALL 1 V9 string("environment")
0035 SEND_VAR_EX CV2($environ) 1
0036 V9 = DO_FCALL
0037 INIT_METHOD_CALL 1 V9 string("limits")
0038 SEND_VAR_EX CV3($limits) 1
0039 V9 = DO_FCALL
0040 INIT_METHOD_CALL 1 V9 string("includeStderr")
0041 SEND_VAR_EX CV5($includeStderr) 1
0042 V9 = DO_FCALL
0043 INIT_METHOD_CALL 1 V9 string("profileMethod")
0044 SEND_VAR_EX CV6($profileMethod) 1
0045 V9 = DO_FCALL
0046 INIT_METHOD_CALL 1 V9 string("restrict")
0047 T9 = FETCH_CLASS_CONSTANT string("MediaWiki\\Shell\\Shell") string("RESTRICT_NONE")
0048 SEND_VAL_EX T9 1
0049 V9 = DO_FCALL
0050 INIT_METHOD_CALL 0 V9 string("execute")
0051 V9 = DO_FCALL
0052 ASSIGN CV7($result) V9
0053 JMP 0057
0054 CV8($ex) = CATCH string("MediaWiki\\ProcOpenError")
0055 ASSIGN CV1($retval) int(-1)
0056 RETURN string("")
0057 INIT_METHOD_CALL 0 CV7($result) string("getExitCode")
0058 V9 = DO_FCALL
0059 ASSIGN CV1($retval) V9
0060 INIT_METHOD_CALL 0 CV7($result) string("getStdout")
0061 V9 = DO_FCALL
0062 RETURN V9
EXCEPTION TABLE:
0027, 0054, -, -
wfShellExecWithStderr:
; (lines=16, args=4, vars=4, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1634-1637
0000 CV0($cmd) = RECV 1
0001 CV1($retval) = RECV_INIT 2 null
0002 CV2($environ) = RECV_INIT 3 array(...)
0003 CV3($limits) = RECV_INIT 4 array(...)
0004 INIT_FCALL 5 256 string("wfshellexec")
0005 SEND_VAR CV0($cmd) 1
0006 SEND_REF CV1($retval) 2
0007 SEND_VAR CV2($environ) 3
0008 SEND_VAR CV3($limits) 4
0009 T4 = INIT_ARRAY 2 bool(true) string("duplicateStderr")
0010 INIT_FCALL 0 128 string("wfgetcaller")
0011 V5 = DO_UCALL
0012 T4 = ADD_ARRAY_ELEMENT V5 string("profileMethod")
0013 SEND_VAL T4 5
0014 V4 = DO_UCALL
0015 RETURN V4
LIVE RANGES:
4: 0010 - 0013 (tmp/var)
wfShellWikiCmd:
; (lines=35, args=3, vars=5, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1654-1667
0000 CV0($script) = RECV 1
0001 CV1($parameters) = RECV_INIT 2 array(...)
0002 CV2($options) = RECV_INIT 3 array(...)
0003 BIND_GLOBAL CV3($wgPhpCli) string("wgPhpCli")
0004 V5 = NEW 1 string("MediaWiki\\HookContainer\\HookRunner")
0005 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("getInstance")
0006 V6 = DO_FCALL
0007 INIT_METHOD_CALL 0 V6 string("getHookContainer")
0008 V6 = DO_FCALL
0009 SEND_VAR_NO_REF_EX V6 1
0010 DO_FCALL
0011 INIT_METHOD_CALL 3 V5 string("onWfShellWikiCmd")
0012 SEND_VAR_EX CV0($script) 1
0013 SEND_VAR_EX CV1($parameters) 2
0014 SEND_VAR_EX CV2($options) 3
0015 DO_FCALL
0016 T6 = FETCH_DIM_IS CV2($options) string("php")
0017 T5 = COALESCE T6 0019
0018 T5 = QM_ASSIGN CV3($wgPhpCli)
0019 CV4($cmd) = INIT_ARRAY 1 (packed) T5 NEXT
0020 T5 = ISSET_ISEMPTY_DIM_OBJ (isset) CV2($options) string("wrapper")
0021 JMPZ T5 0025
0022 T5 = FETCH_DIM_R CV2($options) string("wrapper")
0023 ASSIGN_DIM CV4($cmd) NEXT
0024 OP_DATA T5
0025 ASSIGN_DIM CV4($cmd) NEXT
0026 OP_DATA CV0($script)
0027 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\Shell\\Shell") string("escape")
0028 INIT_FCALL 2 112 string("array_merge")
0029 SEND_VAR CV4($cmd) 1
0030 SEND_VAR CV1($parameters) 2
0031 V5 = DO_ICALL
0032 SEND_VAR_NO_REF_EX V5 1
0033 V5 = DO_FCALL
0034 RETURN V5
LIVE RANGES:
5: 0005 - 0011 (new)
wfMerge:
; (lines=166, args=5, vars=18, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1685-1761
0000 CV0($old) = RECV 1
0001 CV1($mine) = RECV 2
0002 CV2($yours) = RECV 3
0003 CV3($simplisticMergeAttempt) = RECV 4
0004 CV4($mergeLeftovers) = RECV_INIT 5 null
0005 BIND_GLOBAL CV5($wgDiff3) string("wgDiff3")
0006 INIT_STATIC_METHOD_CALL 0 string("Wikimedia\\AtEase\\AtEase") string("suppressWarnings")
0007 DO_FCALL
0008 T18 = JMPZ_EX CV5($wgDiff3) 0013
0009 INIT_FCALL 1 96 string("file_exists")
0010 SEND_VAR CV5($wgDiff3) 1
0011 V19 = DO_ICALL
0012 T18 = BOOL V19
0013 CV6($haveDiff3) = QM_ASSIGN T18
0014 INIT_STATIC_METHOD_CALL 0 string("Wikimedia\\AtEase\\AtEase") string("restoreWarnings")
0015 DO_FCALL
0016 JMPNZ CV6($haveDiff3) 0021
0017 INIT_FCALL 1 192 string("wfdebug")
0018 SEND_VAL string("diff3 not found") 1
0019 DO_UCALL
0020 RETURN bool(false)
0021 INIT_FCALL 0 112 string("wftempdir")
0022 V18 = DO_UCALL
0023 CV7($td) = QM_ASSIGN V18
0024 INIT_FCALL 2 112 string("fopen")
0025 INIT_FCALL 2 112 string("tempnam")
0026 SEND_VAR CV7($td) 1
0027 SEND_VAL string("merge-old-") 2
0028 V19 = DO_ICALL
0029 T18 = ASSIGN CV9($oldtextName) V19
0030 SEND_VAL T18 1
0031 SEND_VAL string("w") 2
0032 V18 = DO_ICALL
0033 CV8($oldtextFile) = QM_ASSIGN V18
0034 INIT_FCALL 2 112 string("fopen")
0035 INIT_FCALL 2 112 string("tempnam")
0036 SEND_VAR CV7($td) 1
0037 SEND_VAL string("merge-mine-") 2
0038 V19 = DO_ICALL
0039 T18 = ASSIGN CV11($mytextName) V19
0040 SEND_VAL T18 1
0041 SEND_VAL string("w") 2
0042 V18 = DO_ICALL
0043 CV10($mytextFile) = QM_ASSIGN V18
0044 INIT_FCALL 2 112 string("fopen")
0045 INIT_FCALL 2 112 string("tempnam")
0046 SEND_VAR CV7($td) 1
0047 SEND_VAL string("merge-your-") 2
0048 V19 = DO_ICALL
0049 T18 = ASSIGN CV13($yourtextName) V19
0050 SEND_VAL T18 1
0051 SEND_VAL string("w") 2
0052 V18 = DO_ICALL
0053 CV12($yourtextFile) = QM_ASSIGN V18
0054 INIT_FCALL 2 112 string("fwrite")
0055 SEND_VAR CV8($oldtextFile) 1
0056 INIT_FCALL 1 96 string("rtrim")
0057 SEND_VAR CV0($old) 1
0058 V19 = DO_ICALL
0059 T18 = FAST_CONCAT V19 string("
")
0060 SEND_VAL T18 2
0061 DO_ICALL
0062 INIT_FCALL 1 96 string("fclose")
0063 SEND_VAR CV8($oldtextFile) 1
0064 DO_ICALL
0065 INIT_FCALL 2 112 string("fwrite")
0066 SEND_VAR CV10($mytextFile) 1
0067 INIT_FCALL 1 96 string("rtrim")
0068 SEND_VAR CV1($mine) 1
0069 V19 = DO_ICALL
0070 T18 = FAST_CONCAT V19 string("
")
0071 SEND_VAL T18 2
0072 DO_ICALL
0073 INIT_FCALL 1 96 string("fclose")
0074 SEND_VAR CV10($mytextFile) 1
0075 DO_ICALL
0076 INIT_FCALL 2 112 string("fwrite")
0077 SEND_VAR CV12($yourtextFile) 1
0078 INIT_FCALL 1 96 string("rtrim")
0079 SEND_VAR CV2($yours) 1
0080 V19 = DO_ICALL
0081 T18 = FAST_CONCAT V19 string("
")
0082 SEND_VAL T18 2
0083 DO_ICALL
0084 INIT_FCALL 1 96 string("fclose")
0085 SEND_VAR CV12($yourtextFile) 1
0086 DO_ICALL
0087 INIT_STATIC_METHOD_CALL 6 string("MediaWiki\\Shell\\Shell") string("escape")
0088 SEND_VAR_EX CV5($wgDiff3) 1
0089 SEND_VAL_EX string("--text") 2
0090 SEND_VAL_EX string("--overlap-only") 3
0091 SEND_VAR_EX CV11($mytextName) 4
0092 SEND_VAR_EX CV9($oldtextName) 5
0093 SEND_VAR_EX CV13($yourtextName) 6
0094 V18 = DO_FCALL
0095 CV14($cmd) = QM_ASSIGN V18
0096 INIT_FCALL 2 112 string("popen")
0097 SEND_VAR CV14($cmd) 1
0098 SEND_VAL string("r") 2
0099 V18 = DO_ICALL
0100 CV15($handle) = QM_ASSIGN V18
0101 ASSIGN CV4($mergeLeftovers) string("")
0102 INIT_FCALL 2 112 string("fread")
0103 SEND_VAR CV15($handle) 1
0104 SEND_VAL int(8192) 2
0105 V18 = DO_ICALL
0106 ASSIGN CV16($data) V18
0107 T19 = STRLEN CV16($data)
0108 T18 = IS_EQUAL T19 int(0)
0109 JMPNZ T18 0112
0110 ASSIGN_OP (CONCAT) CV4($mergeLeftovers) CV16($data)
0111 JMP 0102
0112 INIT_FCALL 1 96 string("pclose")
0113 SEND_VAR CV15($handle) 1
0114 DO_ICALL
0115 CV17($conflict) = IS_NOT_IDENTICAL CV4($mergeLeftovers) string("")
0116 INIT_STATIC_METHOD_CALL 7 string("MediaWiki\\Shell\\Shell") string("escape")
0117 SEND_VAR_EX CV5($wgDiff3) 1
0118 SEND_VAL_EX string("--text") 2
0119 SEND_VAL_EX string("--ed") 3
0120 SEND_VAL_EX string("--merge") 4
0121 SEND_VAR_EX CV11($mytextName) 5
0122 SEND_VAR_EX CV9($oldtextName) 6
0123 SEND_VAR_EX CV13($yourtextName) 7
0124 V18 = DO_FCALL
0125 ASSIGN CV14($cmd) V18
0126 INIT_FCALL 2 112 string("popen")
0127 SEND_VAR CV14($cmd) 1
0128 SEND_VAL string("r") 2
0129 V18 = DO_ICALL
0130 ASSIGN CV15($handle) V18
0131 ASSIGN CV3($simplisticMergeAttempt) string("")
0132 INIT_FCALL 2 112 string("fread")
0133 SEND_VAR CV15($handle) 1
0134 SEND_VAL int(8192) 2
0135 V18 = DO_ICALL
0136 ASSIGN CV16($data) V18
0137 T19 = STRLEN CV16($data)
0138 T18 = IS_EQUAL T19 int(0)
0139 JMPNZ T18 0142
0140 ASSIGN_OP (CONCAT) CV3($simplisticMergeAttempt) CV16($data)
0141 JMP 0132
0142 INIT_FCALL 1 96 string("pclose")
0143 SEND_VAR CV15($handle) 1
0144 DO_ICALL
0145 INIT_FCALL 1 96 string("unlink")
0146 SEND_VAR CV11($mytextName) 1
0147 DO_ICALL
0148 INIT_FCALL 1 96 string("unlink")
0149 SEND_VAR CV9($oldtextName) 1
0150 DO_ICALL
0151 INIT_FCALL 1 96 string("unlink")
0152 SEND_VAR CV13($yourtextName) 1
0153 DO_ICALL
0154 T18 = IS_IDENTICAL CV3($simplisticMergeAttempt) string("")
0155 JMPZ T18 0164
0156 T18 = IS_NOT_IDENTICAL CV0($old) string("")
0157 JMPZ T18 0164
0158 JMPNZ CV17($conflict) 0164
0159 INIT_FCALL 1 192 string("wfdebug")
0160 T18 = FAST_CONCAT string("Unexpected null result from diff3. Command: ") CV14($cmd)
0161 SEND_VAL T18 1
0162 DO_UCALL
0163 CV17($conflict) = QM_ASSIGN bool(true)
0164 T18 = BOOL_NOT CV17($conflict)
0165 RETURN T18
wfBaseName:
; (lines=25, args=2, vars=4, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1775-1788
0000 CV0($path) = RECV 1
0001 CV1($suffix) = RECV_INIT 2 string("")
0002 T4 = IS_EQUAL CV1($suffix) string("")
0003 JMPZ T4 0006
0004 CV2($encSuffix) = QM_ASSIGN string("")
0005 JMP 0012
0006 INIT_FCALL 2 112 string("preg_quote")
0007 SEND_VAR CV1($suffix) 1
0008 SEND_VAL string("#") 2
0009 V5 = DO_ICALL
0010 T4 = FAST_CONCAT string("(?:") V5
0011 CV2($encSuffix) = FAST_CONCAT T4 string(")?")
0012 CV3($matches) = QM_ASSIGN array(...)
0013 INIT_FCALL 3 128 string("preg_match")
0014 T5 = ROPE_INIT 3 string("#([^/\\\\]*?)")
0015 T5 = ROPE_ADD 1 T5 CV2($encSuffix)
0016 T4 = ROPE_END 2 T5 string("[/\\\\]*$#")
0017 SEND_VAL T4 1
0018 SEND_VAR CV0($path) 2
0019 SEND_REF CV3($matches) 3
0020 V4 = DO_ICALL
0021 JMPZ V4 0024
0022 T4 = FETCH_DIM_R CV3($matches) int(1)
0023 RETURN T4
0024 RETURN string("")
LIVE RANGES:
5: 0014 - 0016 (rope)
wfRelativePath:
; (lines=65, args=2, vars=4, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1799-1833
0000 CV0($path) = RECV 1
0001 CV1($from) = RECV 2
0002 T4 = FRAMELESS_ICALL_3(str_replace) string("/") string("/")
0003 OP_DATA CV0($path)
0004 ASSIGN CV0($path) T4
0005 T4 = FRAMELESS_ICALL_3(str_replace) string("/") string("/")
0006 OP_DATA CV1($from)
0007 ASSIGN CV1($from) T4
0008 INIT_FCALL 2 112 string("rtrim")
0009 SEND_VAR CV0($path) 1
0010 SEND_VAL string("/") 2
0011 V4 = DO_ICALL
0012 ASSIGN CV0($path) V4
0013 INIT_FCALL 2 112 string("rtrim")
0014 SEND_VAR CV1($from) 1
0015 SEND_VAL string("/") 2
0016 V4 = DO_ICALL
0017 ASSIGN CV1($from) V4
0018 INIT_FCALL 2 112 string("explode")
0019 SEND_VAL string("/") 1
0020 T4 = FRAMELESS_ICALL_1(dirname) CV0($path)
0021 SEND_VAL T4 2
0022 V4 = DO_ICALL
0023 CV2($pieces) = QM_ASSIGN V4
0024 INIT_FCALL 2 112 string("explode")
0025 SEND_VAL string("/") 1
0026 SEND_VAR CV1($from) 2
0027 V4 = DO_ICALL
0028 CV3($against) = QM_ASSIGN V4
0029 T5 = FETCH_DIM_R CV2($pieces) int(0)
0030 T6 = FETCH_DIM_R CV3($against) int(0)
0031 T4 = IS_NOT_IDENTICAL T5 T6
0032 JMPZ T4 0040
0033 RETURN CV0($path)
0034 INIT_FCALL 1 96 string("array_shift")
0035 SEND_REF CV2($pieces) 1
0036 DO_ICALL
0037 INIT_FCALL 1 96 string("array_shift")
0038 SEND_REF CV3($against) 1
0039 DO_ICALL
0040 T4 = COUNT CV2($pieces)
0041 JMPZ T4 0056
0042 T5 = COUNT CV3($against)
0043 JMPZ T5 0056
0044 T5 = FETCH_DIM_R CV2($pieces) int(0)
0045 T6 = FETCH_DIM_R CV3($against) int(0)
0046 T4 = IS_EQUAL T5 T6
0047 JMPNZ T4 0034
0048 JMP 0056
0049 INIT_FCALL 2 112 string("array_unshift")
0050 SEND_REF CV2($pieces) 1
0051 SEND_VAL string("..") 2
0052 DO_ICALL
0053 INIT_FCALL 1 96 string("array_shift")
0054 SEND_REF CV3($against) 1
0055 DO_ICALL
0056 T4 = COUNT CV3($against)
0057 JMPNZ T4 0049
0058 INIT_FCALL 1 192 string("wfbasename")
0059 SEND_VAR CV0($path) 1
0060 V4 = DO_UCALL
0061 ASSIGN_DIM CV2($pieces) NEXT
0062 OP_DATA V4
0063 T4 = FRAMELESS_ICALL_2(implode) string("/") CV2($pieces)
0064 RETURN T4
LIVE RANGES:
4: 0003 - 0004 (tmp/var)
4: 0006 - 0007 (tmp/var)
5: 0030 - 0031 (tmp/var)
5: 0045 - 0046 (tmp/var)
wfGetDB:
; (lines=32, args=3, vars=3, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1872-1885
0000 CV0($db) = RECV 1
0001 CV1($groups) = RECV_INIT 2 array(...)
0002 CV2($wiki) = RECV_INIT 3 bool(false)
0003 INIT_FCALL 2 160 string("wfdeprecated")
0004 SEND_VAL string("wfGetDB") 1
0005 SEND_VAL string("1.39") 2
0006 DO_UCALL
0007 T3 = TYPE_CHECK (false) CV2($wiki)
0008 JMPZ T3 0019
0009 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("getInstance")
0010 V3 = DO_FCALL
0011 INIT_METHOD_CALL 0 V3 string("getDBLoadBalancer")
0012 V3 = DO_FCALL
0013 INIT_METHOD_CALL 3 V3 string("getMaintenanceConnectionRef")
0014 SEND_VAR_EX CV0($db) 1
0015 SEND_VAR_EX CV1($groups) 2
0016 SEND_VAR_EX CV2($wiki) 3
0017 V3 = DO_FCALL
0018 RETURN V3
0019 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("getInstance")
0020 V3 = DO_FCALL
0021 INIT_METHOD_CALL 0 V3 string("getDBLoadBalancerFactory")
0022 V3 = DO_FCALL
0023 INIT_METHOD_CALL 1 V3 string("getMainLB")
0024 SEND_VAR_EX CV2($wiki) 1
0025 V3 = DO_FCALL
0026 INIT_METHOD_CALL 3 V3 string("getMaintenanceConnectionRef")
0027 SEND_VAR_EX CV0($db) 1
0028 SEND_VAR_EX CV1($groups) 2
0029 SEND_VAR_EX CV2($wiki) 3
0030 V3 = DO_FCALL
0031 RETURN V3
wfScript:
; (lines=15, args=1, vars=4, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1896-1905
0000 CV0($script) = RECV_INIT 1 string("index")
0001 BIND_GLOBAL CV1($wgScriptPath) string("wgScriptPath")
0002 BIND_GLOBAL CV2($wgScript) string("wgScript")
0003 BIND_GLOBAL CV3($wgLoadScript) string("wgLoadScript")
0004 T4 = IS_IDENTICAL CV0($script) string("index")
0005 JMPZ T4 0007
0006 RETURN CV2($wgScript)
0007 T4 = IS_IDENTICAL CV0($script) string("load")
0008 JMPZ T4 0010
0009 RETURN CV3($wgLoadScript)
0010 T5 = ROPE_INIT 4 CV1($wgScriptPath)
0011 T5 = ROPE_ADD 1 T5 string("/")
0012 T5 = ROPE_ADD 2 T5 CV0($script)
0013 T4 = ROPE_END 3 T5 string(".php")
0014 RETURN T4
LIVE RANGES:
5: 0010 - 0013 (rope)
wfBoolToStr:
; (lines=4, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1914-1916
0000 CV0($value) = RECV 1
0001 JMPZ CV0($value) 0003
0002 RETURN string("true")
0003 RETURN string("false")
wfGetNull:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1923-1925
0000 INIT_FCALL_BY_NAME 0 string("wfIsWindows")
0001 V0 = DO_FCALL_BY_NAME
0002 JMPZ V0 0004
0003 RETURN string("NUL")
0004 RETURN string("/dev/null")
wfStripIllegalFilenameChars:
; (lines=22, args=1, vars=3, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1935-1946
0000 CV0($name) = RECV 1
0001 BIND_GLOBAL CV1($wgIllegalFileChars) string("wgIllegalFileChars")
0002 JMPZ CV1($wgIllegalFileChars) 0006
0003 T4 = CONCAT string("|[") CV1($wgIllegalFileChars)
0004 T3 = FAST_CONCAT T4 string("]")
0005 JMP 0007
0006 T3 = QM_ASSIGN string("")
0007 CV2($illegalFileChars) = QM_ASSIGN T3
0008 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Title\\Title") string("legalChars")
0009 V4 = DO_FCALL
0010 T3 = CONCAT string("/[^") V4
0011 T4 = FAST_CONCAT T3 string("]")
0012 T3 = FAST_CONCAT T4 CV2($illegalFileChars)
0013 T4 = FAST_CONCAT T3 string("/")
0014 T3 = FRAMELESS_ICALL_3(preg_replace) T4 string("-")
0015 OP_DATA CV0($name)
0016 ASSIGN CV0($name) T3
0017 INIT_FCALL 1 192 string("wfbasename")
0018 SEND_VAR CV0($name) 1
0019 V3 = DO_UCALL
0020 ASSIGN CV0($name) V3
0021 RETURN CV0($name)
LIVE RANGES:
3: 0015 - 0016 (tmp/var)
wfMemoryLimit:
; (lines=45, args=1, vars=2, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1954-1971
0000 CV0($newLimit) = RECV 1
0001 INIT_FCALL 1 176 string("wfshorthandtointeger")
0002 INIT_FCALL 1 96 string("ini_get")
0003 SEND_VAL string("memory_limit") 1
0004 V2 = DO_ICALL
0005 SEND_VAR V2 1
0006 CV1($oldLimit) = DO_UCALL
0007 T2 = IS_NOT_EQUAL CV1($oldLimit) int(-1)
0008 JMPZ T2 0044
0009 INIT_FCALL 1 176 string("wfshorthandtointeger")
0010 T2 = CAST (string) CV0($newLimit)
0011 SEND_VAL T2 1
0012 V2 = DO_UCALL
0013 ASSIGN CV0($newLimit) V2
0014 T2 = IS_EQUAL CV0($newLimit) int(-1)
0015 JMPZ T2 0028
0016 INIT_FCALL 1 192 string("wfdebug")
0017 SEND_VAL string("Removing PHP's memory limit") 1
0018 DO_UCALL
0019 INIT_STATIC_METHOD_CALL 0 string("Wikimedia\\AtEase\\AtEase") string("suppressWarnings")
0020 DO_FCALL
0021 INIT_FCALL 2 112 string("ini_set")
0022 SEND_VAL string("memory_limit") 1
0023 SEND_VAL int(-1) 2
0024 DO_ICALL
0025 INIT_STATIC_METHOD_CALL 0 string("Wikimedia\\AtEase\\AtEase") string("restoreWarnings")
0026 DO_FCALL
0027 RETURN null
0028 T2 = IS_SMALLER CV1($oldLimit) CV0($newLimit)
0029 JMPZ T2 0044
0030 INIT_FCALL 1 192 string("wfdebug")
0031 T3 = ROPE_INIT 3 string("Raising PHP's memory limit to ")
0032 T3 = ROPE_ADD 1 T3 CV0($newLimit)
0033 T2 = ROPE_END 2 T3 string(" bytes")
0034 SEND_VAL T2 1
0035 DO_UCALL
0036 INIT_STATIC_METHOD_CALL 0 string("Wikimedia\\AtEase\\AtEase") string("suppressWarnings")
0037 DO_FCALL
0038 INIT_FCALL 2 112 string("ini_set")
0039 SEND_VAL string("memory_limit") 1
0040 SEND_VAR CV0($newLimit) 2
0041 DO_ICALL
0042 INIT_STATIC_METHOD_CALL 0 string("Wikimedia\\AtEase\\AtEase") string("restoreWarnings")
0043 DO_FCALL
0044 RETURN null
LIVE RANGES:
3: 0031 - 0033 (rope)
wfTransactionalTimeLimit:
; (lines=31, args=0, vars=3, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:1979-2000
0000 BIND_GLOBAL CV0($wgTransactionalTimeLimit) string("wgTransactionalTimeLimit")
0001 INIT_STATIC_METHOD_CALL 0 string("Wikimedia\\RequestTimeout\\RequestTimeout") string("singleton")
0002 V3 = DO_FCALL
0003 CV1($timeout) = QM_ASSIGN V3
0004 INIT_METHOD_CALL 0 CV1($timeout) string("getWallTimeLimit")
0005 V3 = DO_FCALL
0006 CV2($timeLimit) = QM_ASSIGN V3
0007 T3 = IS_NOT_IDENTICAL CV2($timeLimit) float(inf)
0008 JMPZ T3 0015
0009 T3 = IS_SMALLER CV2($timeLimit) CV0($wgTransactionalTimeLimit)
0010 JMPZ T3 0027
0011 INIT_METHOD_CALL 1 CV1($timeout) string("setWallTimeLimit")
0012 SEND_VAR_EX CV0($wgTransactionalTimeLimit) 1
0013 DO_FCALL
0014 JMP 0027
0015 INIT_FCALL 1 96 string("ini_get")
0016 SEND_VAL string("max_execution_time") 1
0017 V4 = DO_ICALL
0018 T3 = CAST (long) V4
0019 ASSIGN CV2($timeLimit) T3
0020 T3 = IS_SMALLER int(0) CV2($timeLimit)
0021 JMPZ T3 0027
0022 T3 = IS_SMALLER CV2($timeLimit) CV0($wgTransactionalTimeLimit)
0023 JMPZ T3 0027
0024 INIT_METHOD_CALL 1 CV1($timeout) string("setWallTimeLimit")
0025 SEND_VAR_EX CV0($wgTransactionalTimeLimit) 1
0026 DO_FCALL
0027 INIT_FCALL 1 96 string("ignore_user_abort")
0028 SEND_VAL bool(true) 1
0029 DO_ICALL
0030 RETURN CV2($timeLimit)
wfShorthandToInteger:
; (lines=32, args=2, vars=4, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:2009-2031
0000 CV0($string) = RECV_INIT 1 string("")
0001 CV1($default) = RECV_INIT 2 int(-1)
0002 T5 = COALESCE CV0($string) 0004
0003 T5 = QM_ASSIGN string("")
0004 T4 = FRAMELESS_ICALL_1(trim) T5
0005 ASSIGN CV0($string) T4
0006 T4 = IS_IDENTICAL CV0($string) string("")
0007 JMPZ T4 0009
0008 RETURN CV1($default)
0009 T5 = STRLEN CV0($string)
0010 T4 = SUB T5 int(1)
0011 CV2($last) = FETCH_DIM_R CV0($string) T4
0012 CV3($val) = CAST (long) CV0($string)
0013 SWITCH_STRING CV2($last) "g": 0027, "G": 0027, "m": 0028, "M": 0028, "k": 0029, "K": 0029, default: 0030
0014 T4 = IS_EQUAL CV2($last) string("g")
0015 JMPNZ T4 0027
0016 T4 = IS_EQUAL CV2($last) string("G")
0017 JMPNZ T4 0027
0018 T4 = IS_EQUAL CV2($last) string("m")
0019 JMPNZ T4 0028
0020 T4 = IS_EQUAL CV2($last) string("M")
0021 JMPNZ T4 0028
0022 T4 = IS_EQUAL CV2($last) string("k")
0023 JMPNZ T4 0029
0024 T4 = IS_EQUAL CV2($last) string("K")
0025 JMPNZ T4 0029
0026 JMP 0030
0027 CV3($val) = MUL CV3($val) int(1024)
0028 CV3($val) = MUL CV3($val) int(1024)
0029 CV3($val) = MUL CV3($val) int(1024)
0030 VERIFY_RETURN_TYPE CV3($val)
0031 RETURN CV3($val)
wfUnpack:
; (lines=24, args=3, vars=4, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:2048-2055
0000 CV0($format) = RECV 1
0001 CV1($data) = RECV 2
0002 CV2($length) = RECV_INIT 3 bool(false)
0003 INIT_FCALL 2 256 string("wfdeprecated")
0004 SEND_VAL string("wfUnpack") 1
0005 SEND_VAL string("1.42") 2
0006 DO_UCALL
0007 INIT_STATIC_METHOD_CALL 3 string("StringUtils") string("unpack")
0008 T4 = CAST (string) CV0($format)
0009 SEND_VAL_EX T4 1
0010 T4 = CAST (string) CV1($data)
0011 SEND_VAL_EX T4 2
0012 SEND_VAR_EX CV2($length) 3
0013 V4 = DO_FCALL
0014 RETURN V4
0015 CV3($e) = CATCH string("MediaWiki\\Libs\\UnpackFailedException")
0016 V4 = NEW 3 string("MWException")
0017 INIT_METHOD_CALL 0 CV3($e) string("getMessage")
0018 V5 = DO_FCALL
0019 SEND_VAR_NO_REF_EX V5 1
0020 SEND_VAL_EX int(0) 2
0021 SEND_VAR_EX CV3($e) 3
0022 DO_FCALL
0023 THROW V4
LIVE RANGES:
4: 0017 - 0023 (new)
EXCEPTION TABLE:
0007, 0015, -, -
wfIsInfinity:
; (lines=4, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:2064-2067
0000 CV0($str) = RECV 1
0001 T2 = FETCH_CLASS_CONSTANT string("Wikimedia\\ParamValidator\\TypeDef\\ExpiryDef") string("INFINITY_VALS")
0002 T1 = FRAMELESS_ICALL_2(in_array) CV0($str) T2
0003 RETURN T1
wfThumbIsStandard:
; (lines=93, args=2, vars=16, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:2083-2155
0000 CV0($file) = RECV 1
0001 CV1($params) = RECV 2
0002 BIND_GLOBAL CV2($wgThumbLimits) string("wgThumbLimits")
0003 BIND_GLOBAL CV3($wgImageLimits) string("wgImageLimits")
0004 BIND_GLOBAL CV4($wgResponsiveImages) string("wgResponsiveImages")
0005 CV5($multipliers) = QM_ASSIGN array(...)
0006 JMPZ CV4($wgResponsiveImages) 0008
0007 ASSIGN CV5($multipliers) array(...)
0008 INIT_METHOD_CALL 0 CV0($file) string("getHandler")
0009 V16 = DO_FCALL
0010 CV6($handler) = QM_ASSIGN V16
0011 JMPZ CV6($handler) 0014
0012 T16 = ISSET_ISEMPTY_DIM_OBJ (isset) CV1($params) string("width")
0013 JMPNZ T16 0015
0014 RETURN bool(false)
0015 CV7($basicParams) = QM_ASSIGN array(...)
0016 T16 = ISSET_ISEMPTY_DIM_OBJ (isset) CV1($params) string("page")
0017 JMPZ T16 0021
0018 T16 = FETCH_DIM_R CV1($params) string("page")
0019 ASSIGN_DIM CV7($basicParams) string("page")
0020 OP_DATA T16
0021 CV8($thumbLimits) = QM_ASSIGN array(...)
0022 CV9($imageLimits) = QM_ASSIGN array(...)
0023 V16 = FE_RESET_R CV5($multipliers) 0048
0024 FE_FETCH_R V16 CV10($multiplier) 0048
0025 INIT_FCALL 2 112 string("array_merge")
0026 SEND_VAR CV8($thumbLimits) 1
0027 INIT_FCALL 2 112 string("array_map")
0028 T17 = DECLARE_LAMBDA_FUNCTION 0
0029 BIND_LEXICAL T17 CV10($multiplier)
0030 SEND_VAL T17 1
0031 SEND_VAR CV2($wgThumbLimits) 2
0032 V17 = DO_ICALL
0033 SEND_VAR V17 2
0034 V17 = DO_ICALL
0035 ASSIGN CV8($thumbLimits) V17
0036 INIT_FCALL 2 112 string("array_merge")
0037 SEND_VAR CV9($imageLimits) 1
0038 INIT_FCALL 2 112 string("array_map")
0039 T17 = DECLARE_LAMBDA_FUNCTION 1
0040 BIND_LEXICAL T17 CV10($multiplier)
0041 SEND_VAL T17 1
0042 SEND_VAR CV3($wgImageLimits) 2
0043 V17 = DO_ICALL
0044 SEND_VAR V17 2
0045 V17 = DO_ICALL
0046 ASSIGN CV9($imageLimits) V17
0047 JMP 0024
0048 FE_FREE V16
0049 T17 = FETCH_DIM_R CV1($params) string("width")
0050 T16 = FRAMELESS_ICALL_2(in_array) T17 CV8($thumbLimits)
0051 JMPZ T16 0060
0052 T17 = FETCH_DIM_R CV1($params) string("width")
0053 T16 = INIT_ARRAY 1 T17 string("width")
0054 CV11($normalParams) = ADD CV7($basicParams) T16
0055 INIT_METHOD_CALL 2 CV6($handler) string("normaliseParams")
0056 SEND_VAR_EX CV0($file) 1
0057 SEND_VAR_EX CV11($normalParams) 2
0058 DO_FCALL
0059 JMP 0081
0060 CV12($match) = QM_ASSIGN bool(false)
0061 V16 = FE_RESET_R CV9($imageLimits) 0078
0062 FE_FETCH_R V16 CV13($pair) 0078
0063 T17 = FETCH_DIM_R CV13($pair) int(0)
0064 T18 = INIT_ARRAY 2 T17 string("width")
0065 T17 = FETCH_DIM_R CV13($pair) int(1)
0066 T18 = ADD_ARRAY_ELEMENT T17 string("height")
0067 T17 = ADD CV7($basicParams) T18
0068 ASSIGN CV11($normalParams) T17
0069 INIT_METHOD_CALL 2 CV6($handler) string("normaliseParams")
0070 SEND_VAR_EX CV0($file) 1
0071 SEND_VAR_EX CV11($normalParams) 2
0072 DO_FCALL
0073 T18 = FETCH_DIM_R CV11($normalParams) string("width")
0074 T19 = FETCH_DIM_R CV1($params) string("width")
0075 T17 = IS_EQUAL T18 T19
0076 JMPZ T17 0062
0077 CV12($match) = QM_ASSIGN bool(true)
0078 FE_FREE V16
0079 JMPNZ CV12($match) 0081
0080 RETURN bool(false)
0081 V16 = FE_RESET_R CV1($params) 0091
0082 T17 = FE_FETCH_R V16 CV14($value) 0091
0083 ASSIGN CV15($key) T17
0084 T17 = ISSET_ISEMPTY_DIM_OBJ (isset) CV11($normalParams) CV15($key)
0085 JMPZ T17 0089
0086 T18 = FETCH_DIM_R CV11($normalParams) CV15($key)
0087 T17 = IS_NOT_EQUAL CV14($value) T18
0088 JMPZ T17 0082
0089 FE_FREE V16
0090 RETURN bool(false)
0091 FE_FREE V16
0092 RETURN bool(true)
LIVE RANGES:
16: 0024 - 0048 (loop)
17: 0029 - 0030 (tmp/var)
17: 0040 - 0041 (tmp/var)
16: 0062 - 0078 (loop)
18: 0065 - 0067 (tmp/var)
18: 0074 - 0075 (tmp/var)
16: 0082 - 0091 (loop)
{closure:wfThumbIsStandard():2109}:
; (lines=7, args=1, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:2109-2111
0000 CV0($width) = RECV 1
0001 BIND_STATIC CV1($multiplier)
0002 INIT_FCALL 1 96 string("round")
0003 T2 = MUL CV0($width) CV1($multiplier)
0004 SEND_VAL T2 1
0005 V2 = DO_ICALL
0006 RETURN V2
{closure:wfThumbIsStandard():2114}:
; (lines=15, args=1, vars=2, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:2114-2119
0000 CV0($pair) = RECV 1
0001 BIND_STATIC CV1($multiplier)
0002 INIT_FCALL 1 96 string("round")
0003 T3 = FETCH_DIM_R CV0($pair) int(0)
0004 T2 = MUL CV1($multiplier) T3
0005 SEND_VAL T2 1
0006 V3 = DO_ICALL
0007 T2 = INIT_ARRAY 2 (packed) V3 NEXT
0008 INIT_FCALL 1 96 string("round")
0009 T4 = FETCH_DIM_R CV0($pair) int(1)
0010 T3 = MUL CV1($multiplier) T4
0011 SEND_VAL T3 1
0012 V3 = DO_ICALL
0013 T2 = ADD_ARRAY_ELEMENT V3 NEXT
0014 RETURN T2
LIVE RANGES:
2: 0008 - 0014 (tmp/var)
wfArrayPlus2d:
; (lines=13, args=2, vars=4, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/GlobalFunctions.php:2169-2180
0000 CV0($baseArray) = RECV 1
0001 CV1($newValues) = RECV 2
0002 V4 = FE_RESET_RW CV0($baseArray) 0010
0003 T5 = FE_FETCH_RW V4 CV2($groupVal) 0010
0004 ASSIGN CV3($name) T5
0005 T5 = ISSET_ISEMPTY_DIM_OBJ (isset) CV1($newValues) CV3($name)
0006 JMPZ T5 0003
0007 T5 = FETCH_DIM_R CV1($newValues) CV3($name)
0008 ASSIGN_OP (ADD) CV2($groupVal) T5
0009 JMP 0003
0010 FE_FREE V4
0011 ASSIGN_OP (ADD) CV0($baseArray) CV1($newValues)
0012 RETURN CV0($baseArray)
LIVE RANGES:
4: 0003 - 0010 (loop)
$_main:
; (lines=5, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/HeaderCallback.php:1-126
0000 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\class_alias")
0001 SEND_VAL_EX string("MediaWiki\\Request\\HeaderCallback") 1
0002 SEND_VAL_EX string("MediaWiki\\HeaderCallback") 2
0003 DO_FCALL_BY_NAME
0004 RETURN int(1)
MediaWiki\Request\HeaderCallback::register:
; (lines=18, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/HeaderCallback.php:22-32
0000 JMP_FRAMELESS 8 string("mediawiki\\request\\class_exists") 0005
0001 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\class_exists")
0002 SEND_VAL_EX string("MediaWiki\\Request\\WebRequest") 1
0003 V0 = DO_FCALL_BY_NAME
0004 JMP 0006
0005 V0 = FRAMELESS_ICALL_1(class_exists) string("MediaWiki\\Request\\WebRequest")
0006 FREE V0
0007 JMP_FRAMELESS 24 string("mediawiki\\request\\class_exists") 0012
0008 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\class_exists")
0009 SEND_VAL_EX string("MediaWiki\\Http\\Telemetry") 1
0010 V0 = DO_FCALL_BY_NAME
0011 JMP 0013
0012 V0 = FRAMELESS_ICALL_1(class_exists) string("MediaWiki\\Http\\Telemetry")
0013 FREE V0
0014 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\header_register_callback")
0015 SEND_VAL_EX array(...) 1
0016 DO_FCALL_BY_NAME
0017 RETURN null
MediaWiki\Request\HeaderCallback::callback:
; (lines=116, args=0, vars=5, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/HeaderCallback.php:39-82
0000 CV0($headers) = QM_ASSIGN array(...)
0001 INIT_NS_FCALL_BY_NAME 0 string("MediaWiki\\Request\\headers_list")
0002 V6 = DO_FCALL_BY_NAME
0003 V5 = FE_RESET_R V6 0038
0004 FE_FETCH_R V5 CV1($header) 0038
0005 INIT_NS_FCALL_BY_NAME 3 string("MediaWiki\\Request\\explode")
0006 SEND_VAL_EX string(":") 1
0007 SEND_VAR_EX CV1($header) 2
0008 SEND_VAL_EX int(2) 3
0009 V6 = DO_FCALL_BY_NAME
0010 ASSIGN CV1($header) V6
0011 T6 = ISSET_ISEMPTY_DIM_OBJ (isset) CV1($header) int(1)
0012 JMPZ T6 0004
0013 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\strtolower")
0014 JMP_FRAMELESS 32 string("mediawiki\\request\\trim") 0021
0015 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\trim")
0016 CHECK_FUNC_ARG 1
0017 V6 = FETCH_DIM_FUNC_ARG CV1($header) int(0)
0018 SEND_FUNC_ARG V6 1
0019 V6 = DO_FCALL_BY_NAME
0020 JMP 0023
0021 T7 = FETCH_DIM_R CV1($header) int(0)
0022 V6 = FRAMELESS_ICALL_1(trim) T7
0023 SEND_VAR_NO_REF_EX V6 1
0024 V8 = DO_FCALL_BY_NAME
0025 JMP_FRAMELESS 48 string("mediawiki\\request\\trim") 0032
0026 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\trim")
0027 CHECK_FUNC_ARG 1
0028 V6 = FETCH_DIM_FUNC_ARG CV1($header) int(1)
0029 SEND_FUNC_ARG V6 1
0030 V6 = DO_FCALL_BY_NAME
0031 JMP 0034
0032 T7 = FETCH_DIM_R CV1($header) int(1)
0033 V6 = FRAMELESS_ICALL_1(trim) T7
0034 V7 = FETCH_DIM_W CV0($headers) V8
0035 ASSIGN_DIM V7 NEXT
0036 OP_DATA V6
0037 JMP 0004
0038 FE_FREE V5
0039 T5 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($headers) string("set-cookie")
0040 JMPZ T5 0089
0041 T5 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($headers) string("cache-control")
0042 JMPZ T5 0055
0043 JMP_FRAMELESS 56 string("mediawiki\\request\\implode") 0051
0044 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\implode")
0045 SEND_VAL_EX string(", ") 1
0046 CHECK_FUNC_ARG 2
0047 V5 = FETCH_DIM_FUNC_ARG CV0($headers) string("cache-control")
0048 SEND_FUNC_ARG V5 2
0049 V6 = DO_FCALL_BY_NAME
0050 JMP 0053
0051 T5 = FETCH_DIM_R CV0($headers) string("cache-control")
0052 V6 = FRAMELESS_ICALL_2(implode) string(", ") T5
0053 T5 = QM_ASSIGN V6
0054 JMP 0056
0055 T5 = QM_ASSIGN string("")
0056 CV2($cacheControl) = QM_ASSIGN T5
0057 JMP_FRAMELESS 72 string("mediawiki\\request\\preg_match") 0063
0058 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\preg_match")
0059 SEND_VAL_EX string("/(?:^|,)\\s*(?:private|no-cache|no-store)\\s*(?:$|,)/i") 1
0060 SEND_VAR_EX CV2($cacheControl) 2
0061 V5 = DO_FCALL_BY_NAME
0062 JMP 0064
0063 V5 = FRAMELESS_ICALL_2(preg_match) string("/(?:^|,)\\s*(?:private|no-cache|no-store)\\s*(?:$|,)/i") CV2($cacheControl)
0064 JMPNZ V5 0089
0065 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\header")
0066 SEND_VAL_EX string("Expires: Thu, 01 Jan 1970 00:00:00 GMT") 1
0067 DO_FCALL_BY_NAME
0068 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\header")
0069 SEND_VAL_EX string("Cache-Control: private, max-age=0, s-maxage=0") 1
0070 DO_FCALL_BY_NAME
0071 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\Logger\\LoggerFactory") string("getInstance")
0072 SEND_VAL_EX string("cache-cookies") 1
0073 V5 = DO_FCALL
0074 INIT_METHOD_CALL 2 V5 string("warning")
0075 SEND_VAL_EX string("Cookies set on {url} with Cache-Control \"{cache-control}\"") 1
0076 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Request\\WebRequest") string("getGlobalRequestURL")
0077 V6 = DO_FCALL
0078 T5 = INIT_ARRAY 3 V6 string("url")
0079 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("sanitizeSetCookie")
0080 V6 = FETCH_DIM_R CV0($headers) string("set-cookie")
0081 SEND_VAR V6 1
0082 V6 = DO_FCALL
0083 T5 = ADD_ARRAY_ELEMENT V6 string("set-cookie")
0084 T6 = JMP_SET CV2($cacheControl) 0086
0085 T6 = QM_ASSIGN string("<not set>")
0086 T5 = ADD_ARRAY_ELEMENT T6 string("cache-control")
0087 SEND_VAL_EX T5 2
0088 DO_FCALL
0089 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Http\\Telemetry") string("getInstance")
0090 V5 = DO_FCALL
0091 INIT_METHOD_CALL 0 V5 string("getRequestHeaders")
0092 V5 = DO_FCALL
0093 CV3($telemetryHeaders) = QM_ASSIGN V5
0094 V5 = FE_RESET_R CV3($telemetryHeaders) 0109
0095 T6 = FE_FETCH_R V5 CV4($value) 0109
0096 ASSIGN CV1($header) T6
0097 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\strtolower")
0098 SEND_VAR_EX CV1($header) 1
0099 V7 = DO_FCALL_BY_NAME
0100 T6 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($headers) V7
0101 JMPNZ T6 0095
0102 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\header")
0103 T7 = ROPE_INIT 3 CV1($header)
0104 T7 = ROPE_ADD 1 T7 string(": ")
0105 T6 = ROPE_END 2 T7 CV4($value)
0106 SEND_VAL_EX T6 1
0107 DO_FCALL_BY_NAME
0108 JMP 0095
0109 FE_FREE V5
0110 V5 = NEW 1 string("RuntimeException")
0111 SEND_VAL_EX string("Headers already sent from this point") 1
0112 DO_FCALL
0113 ASSIGN_STATIC_PROP string("headersSentException")
0114 OP_DATA V5
0115 RETURN null
LIVE RANGES:
5: 0004 - 0038 (loop)
8: 0025 - 0034 (tmp/var)
6: 0034 - 0035 (tmp/var)
5: 0079 - 0087 (tmp/var)
5: 0095 - 0109 (loop)
7: 0103 - 0105 (rope)
5: 0111 - 0113 (new)
MediaWiki\Request\HeaderCallback::warnIfHeadersSent:
; (lines=29, args=0, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/HeaderCallback.php:90-101
0000 INIT_NS_FCALL_BY_NAME 0 string("MediaWiki\\Request\\headers_sent")
0001 V1 = DO_FCALL_BY_NAME
0002 JMPZ V1 0028
0003 T1 = FETCH_STATIC_PROP_R string("messageSent") (self) (exception)
0004 JMPNZ T1 0028
0005 ASSIGN_STATIC_PROP string("messageSent")
0006 OP_DATA bool(true)
0007 INIT_STATIC_METHOD_CALL 1 string("MWDebug") string("warning")
0008 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\wfGetCaller")
0009 SEND_VAL_EX int(3) 1
0010 V2 = DO_FCALL_BY_NAME
0011 T1 = CONCAT string("Headers already sent, should send headers earlier than ") V2
0012 SEND_VAL_EX T1 1
0013 DO_FCALL
0014 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\Logger\\LoggerFactory") string("getInstance")
0015 SEND_VAL_EX string("headers-sent") 1
0016 V1 = DO_FCALL
0017 CV0($logger) = QM_ASSIGN V1
0018 INIT_METHOD_CALL 2 CV0($logger) string("error")
0019 SEND_VAL_EX string("Warning: headers were already sent from the location below") 1
0020 T2 = FETCH_STATIC_PROP_R string("headersSentException") (self) (exception)
0021 T1 = INIT_ARRAY 2 T2 string("exception")
0022 V2 = NEW 1 string("RuntimeException")
0023 SEND_VAL_EX string("Detected here") 1
0024 DO_FCALL
0025 T1 = ADD_ARRAY_ELEMENT V2 string("detection-trace")
0026 SEND_VAL_EX T1 2
0027 DO_FCALL
0028 RETURN null
LIVE RANGES:
1: 0022 - 0026 (tmp/var)
2: 0023 - 0025 (new)
MediaWiki\Request\HeaderCallback::sanitizeSetCookie:
; (lines=61, args=1, vars=5, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/HeaderCallback.php:108-121
0000 CV0($values) = RECV 1
0001 CV1($sanitizedValues) = QM_ASSIGN array(...)
0002 V5 = FE_RESET_R CV0($values) 0052
0003 FE_FETCH_R V5 CV2($value) 0052
0004 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\explode")
0005 SEND_VAL_EX string(";") 1
0006 SEND_VAR_EX CV2($value) 2
0007 V6 = DO_FCALL_BY_NAME
0008 ASSIGN CV3($parts) V6
0009 INIT_NS_FCALL_BY_NAME 3 string("MediaWiki\\Request\\explode")
0010 SEND_VAL_EX string("=") 1
0011 CHECK_FUNC_ARG 2
0012 V6 = FETCH_DIM_FUNC_ARG CV3($parts) int(0)
0013 SEND_FUNC_ARG V6 2
0014 SEND_VAL_EX int(2) 3
0015 V6 = DO_FCALL_BY_NAME
0016 V7 = FETCH_LIST_R V6 int(0)
0017 ASSIGN CV4($name) V7
0018 V7 = FETCH_LIST_R V6 int(1)
0019 ASSIGN CV2($value) V7
0020 FREE V6
0021 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\strlen")
0022 SEND_VAR_EX CV2($value) 1
0023 V7 = DO_FCALL_BY_NAME
0024 T6 = IS_SMALLER int(8) V7
0025 JMPZ T6 0042
0026 JMP_FRAMELESS 24 string("mediawiki\\request\\substr") 0033
0027 INIT_NS_FCALL_BY_NAME 3 string("MediaWiki\\Request\\substr")
0028 SEND_VAR_EX CV2($value) 1
0029 SEND_VAL_EX int(0) 2
0030 SEND_VAL_EX int(8) 3
0031 V7 = DO_FCALL_BY_NAME
0032 JMP 0035
0033 V7 = FRAMELESS_ICALL_3(substr) CV2($value) int(0)
0034 OP_DATA int(8)
0035 T6 = CONCAT V7 string("...")
0036 ASSIGN CV2($value) T6
0037 T7 = ROPE_INIT 3 CV4($name)
0038 T7 = ROPE_ADD 1 T7 string("=")
0039 T6 = ROPE_END 2 T7 CV2($value)
0040 ASSIGN_DIM CV3($parts) int(0)
0041 OP_DATA T6
0042 JMP_FRAMELESS 40 string("mediawiki\\request\\implode") 0048
0043 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\implode")
0044 SEND_VAL_EX string(";") 1
0045 SEND_VAR_EX CV3($parts) 2
0046 V6 = DO_FCALL_BY_NAME
0047 JMP 0049
0048 V6 = FRAMELESS_ICALL_2(implode) string(";") CV3($parts)
0049 ASSIGN_DIM CV1($sanitizedValues) NEXT
0050 OP_DATA V6
0051 JMP 0003
0052 FE_FREE V5
0053 JMP_FRAMELESS 56 string("mediawiki\\request\\implode") 0059
0054 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\implode")
0055 SEND_VAL_EX string("
") 1
0056 SEND_VAR_EX CV1($sanitizedValues) 2
0057 V5 = DO_FCALL_BY_NAME
0058 RETURN V5
0059 V5 = FRAMELESS_ICALL_2(implode) string("
") CV1($sanitizedValues)
0060 RETURN V5
LIVE RANGES:
5: 0003 - 0052 (loop)
6: 0016 - 0020 (tmp/var)
7: 0034 - 0035 (tmp/var)
7: 0037 - 0039 (rope)
$_main:
; (lines=5, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:1-1509
0000 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\class_alias")
0001 SEND_VAL_EX string("MediaWiki\\Request\\WebRequest") 1
0002 SEND_VAL_EX string("WebRequest") 2
0003 DO_FCALL_BY_NAME
0004 RETURN int(1)
MediaWiki\Request\WebRequest::__construct:
; (lines=15, args=0, vars=0, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:123-131
0000 T1 = FETCH_R (global) string("_SERVER")
0001 T0 = FETCH_DIM_R T1 string("REQUEST_TIME_FLOAT")
0002 ASSIGN_OBJ THIS string("requestTime")
0003 OP_DATA T0
0004 T1 = FETCH_R (global) string("_POST")
0005 T2 = FETCH_R (global) string("_GET")
0006 T0 = ADD T1 T2
0007 ASSIGN_OBJ THIS string("data")
0008 OP_DATA T0
0009 T1 = FETCH_R (global) string("_GET")
0010 T0 = ASSIGN_OBJ THIS string("queryParams")
0011 OP_DATA T1
0012 ASSIGN_OBJ THIS string("queryAndPathParams")
0013 OP_DATA T0
0014 RETURN null
LIVE RANGES:
1: 0005 - 0006 (tmp/var)
0: 0011 - 0012 (tmp/var)
MediaWiki\Request\WebRequest::getServerInfo:
; (lines=11, args=2, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:146-148
0000 CV0($name) = RECV 1
0001 CV1($default) = RECV_INIT 2 null
0002 T3 = FETCH_IS (global) string("_SERVER")
0003 T2 = ISSET_ISEMPTY_DIM_OBJ (isset) T3 CV0($name)
0004 JMPZ T2 0009
0005 T2 = FETCH_R (global) string("_SERVER")
0006 T3 = FETCH_DIM_R T2 CV0($name)
0007 T2 = CAST (string) T3
0008 JMP 0010
0009 T2 = QM_ASSIGN CV1($default)
0010 RETURN T2
MediaWiki\Request\WebRequest::getPathInfo:
; (lines=136, args=1, vars=15, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:170-244
0000 CV0($want) = RECV_INIT 1 string("all")
0001 INIT_METHOD_CALL 1 THIS string("getServerInfo")
0002 SEND_VAL string("REQUEST_URI") 1
0003 V15 = DO_FCALL
0004 CV1($url) = QM_ASSIGN V15
0005 T15 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] CV1($url)
0006 JMPZ T15 0097
0007 JMP_FRAMELESS 24 string("mediawiki\\request\\preg_match") 0013
0008 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\preg_match")
0009 SEND_VAL_EX string("!^https?://!") 1
0010 SEND_VAR_EX CV1($url) 2
0011 V15 = DO_FCALL_BY_NAME
0012 JMP 0014
0013 V15 = FRAMELESS_ICALL_2(preg_match) string("!^https?://!") CV1($url)
0014 JMPNZ V15 0017
0015 T15 = CONCAT string("http://unused") CV1($url)
0016 ASSIGN CV1($url) T15
0017 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\parse_url")
0018 SEND_VAR_EX CV1($url) 1
0019 V15 = DO_FCALL_BY_NAME
0020 CV2($a) = QM_ASSIGN V15
0021 JMPNZ CV2($a) 0023
0022 RETURN array(...)
0023 T16 = FETCH_DIM_IS CV2($a) string("path")
0024 T15 = COALESCE T16 0026
0025 T15 = QM_ASSIGN string("")
0026 CV3($path) = QM_ASSIGN T15
0027 BIND_GLOBAL CV4($wgScript) string("wgScript")
0028 T15 = IS_EQUAL CV3($path) CV4($wgScript)
0029 JMPZ T15 0033
0030 T15 = IS_NOT_IDENTICAL CV0($want) string("all")
0031 JMPZ T15 0033
0032 RETURN array(...)
0033 V15 = NEW 0 string("MediaWiki\\Request\\PathRouter")
0034 DO_FCALL
0035 CV5($router) = QM_ASSIGN V15
0036 INIT_METHOD_CALL 1 CV5($router) string("add")
0037 T15 = FAST_CONCAT CV4($wgScript) string("/$1")
0038 SEND_VAL_EX T15 1
0039 DO_FCALL
0040 BIND_GLOBAL CV6($wgArticlePath) string("wgArticlePath")
0041 JMPZ CV6($wgArticlePath) 0049
0042 INIT_METHOD_CALL 2 CV5($router) string("validateRoute")
0043 SEND_VAR_EX CV6($wgArticlePath) 1
0044 SEND_VAL_EX string("wgArticlePath") 2
0045 DO_FCALL
0046 INIT_METHOD_CALL 1 CV5($router) string("add")
0047 SEND_VAR_EX CV6($wgArticlePath) 1
0048 DO_FCALL
0049 BIND_GLOBAL CV7($wgActionPaths) string("wgActionPaths")
0050 INIT_STATIC_METHOD_CALL 2 string("MediaWiki\\Request\\PathRouter") string("getActionPaths")
0051 SEND_VAR_EX CV7($wgActionPaths) 1
0052 SEND_VAR_EX CV6($wgArticlePath) 2
0053 V15 = DO_FCALL
0054 CV8($articlePaths) = QM_ASSIGN V15
0055 JMPZ CV8($articlePaths) 0060
0056 INIT_METHOD_CALL 2 CV5($router) string("add")
0057 SEND_VAR_EX CV8($articlePaths) 1
0058 SEND_VAL_EX array(...) 2
0059 DO_FCALL
0060 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("getInstance")
0061 V15 = DO_FCALL
0062 CV9($services) = QM_ASSIGN V15
0063 BIND_GLOBAL CV10($wgVariantArticlePath) string("wgVariantArticlePath")
0064 JMPZ CV10($wgVariantArticlePath) 0084
0065 INIT_METHOD_CALL 2 CV5($router) string("validateRoute")
0066 SEND_VAR_EX CV10($wgVariantArticlePath) 1
0067 SEND_VAL_EX string("wgVariantArticlePath") 2
0068 DO_FCALL
0069 INIT_METHOD_CALL 3 CV5($router) string("add")
0070 SEND_VAR_EX CV10($wgVariantArticlePath) 1
0071 SEND_VAL_EX array(...) 2
0072 INIT_METHOD_CALL 0 CV9($services) string("getLanguageConverterFactory")
0073 V15 = DO_FCALL
0074 INIT_METHOD_CALL 1 V15 string("getLanguageConverter")
0075 INIT_METHOD_CALL 0 CV9($services) string("getContentLanguage")
0076 V15 = DO_FCALL
0077 SEND_VAR_NO_REF_EX V15 1
0078 V15 = DO_FCALL
0079 INIT_METHOD_CALL 0 V15 string("getVariants")
0080 V16 = DO_FCALL
0081 T15 = INIT_ARRAY 1 V16 string("$2")
0082 SEND_VAL_EX T15 3
0083 DO_FCALL
0084 V15 = NEW 1 string("MediaWiki\\HookContainer\\HookRunner")
0085 INIT_METHOD_CALL 0 CV9($services) string("getHookContainer")
0086 V16 = DO_FCALL
0087 SEND_VAR_NO_REF_EX V16 1
0088 DO_FCALL
0089 INIT_METHOD_CALL 1 V15 string("onWebRequestPathInfoRouter")
0090 SEND_VAR_EX CV5($router) 1
0091 DO_FCALL
0092 INIT_METHOD_CALL 1 CV5($router) string("parse")
0093 SEND_VAR_EX CV3($path) 1
0094 V15 = DO_FCALL
0095 CV11($matches) = QM_ASSIGN V15
0096 RETURN CV11($matches)
0097 BIND_GLOBAL CV12($wgUsePathInfo) string("wgUsePathInfo")
0098 CV11($matches) = QM_ASSIGN array(...)
0099 JMPZ CV12($wgUsePathInfo) 0135
0100 INIT_METHOD_CALL 1 THIS string("getServerInfo")
0101 SEND_VAL string("ORIG_PATH_INFO") 1
0102 V16 = DO_FCALL
0103 T15 = COALESCE V16 0105
0104 T15 = QM_ASSIGN string("")
0105 CV13($origPathInfo) = QM_ASSIGN T15
0106 INIT_METHOD_CALL 1 THIS string("getServerInfo")
0107 SEND_VAL string("PATH_INFO") 1
0108 V16 = DO_FCALL
0109 T15 = COALESCE V16 0111
0110 T15 = QM_ASSIGN string("")
0111 CV14($pathInfo) = QM_ASSIGN T15
0112 T15 = IS_NOT_IDENTICAL CV13($origPathInfo) string("")
0113 JMPZ T15 0124
0114 JMP_FRAMELESS 344 string("mediawiki\\request\\substr") 0120
0115 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\substr")
0116 SEND_VAR_EX CV13($origPathInfo) 1
0117 SEND_VAL_EX int(1) 2
0118 V15 = DO_FCALL_BY_NAME
0119 JMP 0121
0120 V15 = FRAMELESS_ICALL_2(substr) CV13($origPathInfo) int(1)
0121 ASSIGN_DIM CV11($matches) string("title")
0122 OP_DATA V15
0123 RETURN CV11($matches)
0124 T15 = IS_NOT_IDENTICAL CV14($pathInfo) string("")
0125 JMPZ T15 0135
0126 JMP_FRAMELESS 360 string("mediawiki\\request\\substr") 0132
0127 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\substr")
0128 SEND_VAR_EX CV14($pathInfo) 1
0129 SEND_VAL_EX int(1) 2
0130 V15 = DO_FCALL_BY_NAME
0131 JMP 0133
0132 V15 = FRAMELESS_ICALL_2(substr) CV14($pathInfo) int(1)
0133 ASSIGN_DIM CV11($matches) string("title")
0134 OP_DATA V15
0135 RETURN CV11($matches)
LIVE RANGES:
15: 0034 - 0035 (new)
15: 0085 - 0089 (new)
MediaWiki\Request\WebRequest::getRequestPathSuffix:
; (lines=61, args=2, vars=4, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:259-272
0000 CV0($basePath) = RECV 1
0001 CV1($requestUrl) = RECV_INIT 2 null
0002 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\rtrim")
0003 SEND_VAR_EX CV0($basePath) 1
0004 SEND_VAL_EX string("/") 2
0005 V5 = DO_FCALL_BY_NAME
0006 T4 = CONCAT V5 string("/")
0007 ASSIGN CV0($basePath) T4
0008 T4 = COALESCE CV1($requestUrl) 0012
0009 INIT_STATIC_METHOD_CALL 0 (self) (exception) string("getGlobalRequestURL")
0010 V5 = DO_FCALL
0011 T4 = ASSIGN CV1($requestUrl) V5
0012 FREE T4
0013 JMP_FRAMELESS 32 string("mediawiki\\request\\strpos") 0019
0014 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\strpos")
0015 SEND_VAR_EX CV1($requestUrl) 1
0016 SEND_VAL_EX string("?") 2
0017 V4 = DO_FCALL_BY_NAME
0018 JMP 0020
0019 V4 = FRAMELESS_ICALL_2(strpos) CV1($requestUrl) string("?")
0020 CV2($qpos) = QM_ASSIGN V4
0021 T4 = TYPE_CHECK TYPE [null, true, long, double, string, array, object, resource] CV2($qpos)
0022 JMPZ T4 0034
0023 JMP_FRAMELESS 48 string("mediawiki\\request\\substr") 0030
0024 INIT_NS_FCALL_BY_NAME 3 string("MediaWiki\\Request\\substr")
0025 SEND_VAR_EX CV1($requestUrl) 1
0026 SEND_VAL_EX int(0) 2
0027 SEND_VAR_EX CV2($qpos) 3
0028 V4 = DO_FCALL_BY_NAME
0029 JMP 0032
0030 V4 = FRAMELESS_ICALL_3(substr) CV1($requestUrl) int(0)
0031 OP_DATA CV2($qpos)
0032 CV3($requestPath) = QM_ASSIGN V4
0033 JMP 0035
0034 CV3($requestPath) = QM_ASSIGN CV1($requestUrl)
0035 JMP_FRAMELESS 64 string("mediawiki\\request\\str_starts_with") 0041
0036 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\str_starts_with")
0037 SEND_VAR_EX CV3($requestPath) 1
0038 SEND_VAR_EX CV0($basePath) 2
0039 V4 = DO_FCALL_BY_NAME
0040 JMP 0042
0041 V4 = FRAMELESS_ICALL_2(str_starts_with) CV3($requestPath) CV0($basePath)
0042 JMPNZ V4 0044
0043 RETURN bool(false)
0044 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\rawurldecode")
0045 JMP_FRAMELESS 88 string("mediawiki\\request\\substr") 0054
0046 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\substr")
0047 SEND_VAR_EX CV3($requestPath) 1
0048 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\strlen")
0049 SEND_VAR_EX CV0($basePath) 1
0050 V4 = DO_FCALL_BY_NAME
0051 SEND_VAR_NO_REF_EX V4 2
0052 V4 = DO_FCALL_BY_NAME
0053 JMP 0058
0054 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\strlen")
0055 SEND_VAR_EX CV0($basePath) 1
0056 V5 = DO_FCALL_BY_NAME
0057 V4 = FRAMELESS_ICALL_2(substr) CV3($requestPath) V5
0058 SEND_VAR_NO_REF_EX V4 1
0059 V4 = DO_FCALL_BY_NAME
0060 RETURN V4
LIVE RANGES:
4: 0031 - 0032 (tmp/var)
MediaWiki\Request\WebRequest::detectServer:
; (lines=61, args=1, vars=7, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:285-322
0000 CV0($assumeProxiesUseDefaultProtocolPorts) = RECV_INIT 1 null
0001 T7 = COALESCE CV0($assumeProxiesUseDefaultProtocolPorts) 0004
0002 T8 = FETCH_R (global) string("wgAssumeProxiesUseDefaultProtocolPorts")
0003 T7 = ASSIGN CV0($assumeProxiesUseDefaultProtocolPorts) T8
0004 FREE T7
0005 INIT_STATIC_METHOD_CALL 0 (self) (exception) string("detectProtocol")
0006 V7 = DO_FCALL
0007 CV1($proto) = QM_ASSIGN V7
0008 T7 = IS_IDENTICAL CV1($proto) string("https")
0009 JMPZ T7 0012
0010 T7 = QM_ASSIGN int(443)
0011 JMP 0013
0012 T7 = QM_ASSIGN int(80)
0013 CV2($stdPort) = QM_ASSIGN T7
0014 CV3($host) = QM_ASSIGN string("localhost")
0015 CV4($port) = QM_ASSIGN CV2($stdPort)
0016 V7 = FE_RESET_R array(...) 0052
0017 FE_FETCH_R V7 CV5($varName) 0052
0018 T9 = FETCH_IS (global) string("_SERVER")
0019 T8 = ISSET_ISEMPTY_DIM_OBJ (isset) T9 CV5($varName)
0020 JMPZ T8 0017
0021 INIT_STATIC_METHOD_CALL 1 string("Wikimedia\\IPUtils") string("splitHostAndPort")
0022 CHECK_FUNC_ARG 1
0023 V9 = FETCH_FUNC_ARG (global) string("_SERVER")
0024 V8 = FETCH_DIM_FUNC_ARG V9 CV5($varName)
0025 SEND_FUNC_ARG V8 1
0026 V8 = DO_FCALL
0027 ASSIGN CV6($parts) V8
0028 JMPZ CV6($parts) 0017
0029 T8 = FETCH_DIM_R CV6($parts) int(0)
0030 ASSIGN CV3($host) T8
0031 JMPZ CV0($assumeProxiesUseDefaultProtocolPorts) 0037
0032 T9 = FETCH_IS (global) string("_SERVER")
0033 T8 = ISSET_ISEMPTY_DIM_OBJ (isset) T9 string("HTTP_X_FORWARDED_PROTO")
0034 JMPZ T8 0037
0035 CV4($port) = QM_ASSIGN CV2($stdPort)
0036 JMP 0052
0037 T9 = FETCH_DIM_R CV6($parts) int(1)
0038 T8 = TYPE_CHECK (false) T9
0039 JMPZ T8 0051
0040 T9 = FETCH_IS (global) string("_SERVER")
0041 T8 = ISSET_ISEMPTY_DIM_OBJ (isset) T9 string("SERVER_PORT")
0042 JMPZ T8 0052
0043 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\intval")
0044 CHECK_FUNC_ARG 1
0045 V9 = FETCH_FUNC_ARG (global) string("_SERVER")
0046 V8 = FETCH_DIM_FUNC_ARG V9 string("SERVER_PORT")
0047 SEND_FUNC_ARG V8 1
0048 V8 = DO_FCALL_BY_NAME
0049 CV4($port) = QM_ASSIGN V8
0050 JMP 0052
0051 CV4($port) = FETCH_DIM_R CV6($parts) int(1)
0052 FE_FREE V7
0053 T8 = CONCAT CV1($proto) string("://")
0054 INIT_STATIC_METHOD_CALL 3 string("Wikimedia\\IPUtils") string("combineHostAndPort")
0055 SEND_VAR_EX CV3($host) 1
0056 SEND_VAR_EX CV4($port) 2
0057 SEND_VAR_EX CV2($stdPort) 3
0058 V9 = DO_FCALL
0059 T7 = CONCAT T8 V9
0060 RETURN T7
LIVE RANGES:
7: 0017 - 0052 (loop)
8: 0054 - 0059 (tmp/var)
MediaWiki\Request\WebRequest::detectProtocol:
; (lines=16, args=0, vars=0, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:331-339
0000 T1 = FETCH_IS (global) string("_SERVER")
0001 T0 = ISSET_ISEMPTY_DIM_OBJ (empty) T1 string("HTTPS")
0002 JMPNZ T0 0007
0003 T0 = FETCH_R (global) string("_SERVER")
0004 T1 = FETCH_DIM_R T0 string("HTTPS")
0005 T0 = IS_NOT_IDENTICAL T1 string("off")
0006 JMPNZ T0 0014
0007 T2 = FETCH_IS (global) string("_SERVER")
0008 T1 = ISSET_ISEMPTY_DIM_OBJ (isset) T2 string("HTTP_X_FORWARDED_PROTO")
0009 JMPZ T1 0015
0010 T2 = FETCH_R (global) string("_SERVER")
0011 T1 = FETCH_DIM_R T2 string("HTTP_X_FORWARDED_PROTO")
0012 T0 = IS_IDENTICAL T1 string("https")
0013 JMPZ T0 0015
0014 RETURN string("https")
0015 RETURN string("http")
MediaWiki\Request\WebRequest::getElapsedTime:
; (lines=6, args=0, vars=0, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:348-350
0000 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\microtime")
0001 SEND_VAL_EX bool(true) 1
0002 V1 = DO_FCALL_BY_NAME
0003 T2 = FETCH_OBJ_R THIS string("requestTime")
0004 T0 = SUB V1 T2
0005 RETURN T0
LIVE RANGES:
1: 0003 - 0004 (tmp/var)
MediaWiki\Request\WebRequest::getRequestId:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:361-363
0000 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Http\\Telemetry") string("getInstance")
0001 V0 = DO_FCALL
0002 INIT_METHOD_CALL 0 V0 string("getRequestId")
0003 V0 = DO_FCALL
0004 RETURN V0
MediaWiki\Request\WebRequest::overrideRequestId:
; (lines=13, args=1, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:372-379
0000 CV0($newId) = RECV 1
0001 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Http\\Telemetry") string("getInstance")
0002 V2 = DO_FCALL
0003 CV1($telemetry) = QM_ASSIGN V2
0004 T2 = TYPE_CHECK (null) CV0($newId)
0005 JMPZ T2 0009
0006 INIT_METHOD_CALL 0 CV1($telemetry) string("regenerateRequestId")
0007 DO_FCALL
0008 RETURN null
0009 INIT_METHOD_CALL 1 CV1($telemetry) string("overrideRequestId")
0010 SEND_VAR_EX CV0($newId) 1
0011 DO_FCALL
0012 RETURN null
MediaWiki\Request\WebRequest::getProtocol:
; (lines=9, args=0, vars=0, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:385-388
0000 T1 = FETCH_OBJ_IS THIS string("protocol")
0001 T0 = COALESCE T1 0006
0002 INIT_STATIC_METHOD_CALL 0 (self) (exception) string("detectProtocol")
0003 V1 = DO_UCALL
0004 T0 = ASSIGN_OBJ THIS string("protocol")
0005 OP_DATA V1
0006 FREE T0
0007 T0 = FETCH_OBJ_R THIS string("protocol")
0008 RETURN T0
LIVE RANGES:
0: 0005 - 0006 (tmp/var)
MediaWiki\Request\WebRequest::interpolateTitle:
; (lines=16, args=0, vars=3, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:397-402
0000 INIT_METHOD_CALL 1 THIS string("getPathInfo")
0001 SEND_VAL string("title") 1
0002 V3 = DO_FCALL
0003 CV0($matches) = QM_ASSIGN V3
0004 V3 = FE_RESET_R CV0($matches) 0014
0005 T4 = FE_FETCH_R V3 CV1($val) 0014
0006 ASSIGN CV2($key) T4
0007 V5 = FETCH_OBJ_W (dim write) THIS string("queryAndPathParams")
0008 T4 = ASSIGN_DIM V5 CV2($key)
0009 OP_DATA CV1($val)
0010 V5 = FETCH_OBJ_W (dim write) THIS string("data")
0011 ASSIGN_DIM V5 CV2($key)
0012 OP_DATA T4
0013 JMP 0005
0014 FE_FREE V3
0015 RETURN null
LIVE RANGES:
3: 0005 - 0014 (loop)
4: 0009 - 0011 (tmp/var)
MediaWiki\Request\WebRequest::extractTitle:
; (lines=52, args=3, vars=7, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:414-430
0000 CV0($path) = RECV 1
0001 CV1($bases) = RECV 2
0002 CV2($key) = RECV_INIT 3 bool(false)
0003 T8 = CAST (array) CV1($bases)
0004 V7 = FE_RESET_R T8 0050
0005 T8 = FE_FETCH_R V7 CV3($base) 0050
0006 ASSIGN CV4($keyValue) T8
0007 JMP_FRAMELESS 8 string("mediawiki\\request\\str_replace") 0014
0008 INIT_NS_FCALL_BY_NAME 3 string("MediaWiki\\Request\\str_replace")
0009 SEND_VAL_EX string("$1") 1
0010 SEND_VAL_EX string("") 2
0011 SEND_VAR_EX CV3($base) 3
0012 V8 = DO_FCALL_BY_NAME
0013 JMP 0016
0014 V8 = FRAMELESS_ICALL_3(str_replace) string("$1") string("")
0015 OP_DATA CV3($base)
0016 ASSIGN CV3($base) V8
0017 JMP_FRAMELESS 24 string("mediawiki\\request\\str_starts_with") 0023
0018 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\str_starts_with")
0019 SEND_VAR_EX CV0($path) 1
0020 SEND_VAR_EX CV3($base) 2
0021 V8 = DO_FCALL_BY_NAME
0022 JMP 0024
0023 V8 = FRAMELESS_ICALL_2(str_starts_with) CV0($path) CV3($base)
0024 JMPZ V8 0005
0025 JMP_FRAMELESS 40 string("mediawiki\\request\\substr") 0034
0026 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\substr")
0027 SEND_VAR_EX CV0($path) 1
0028 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\strlen")
0029 SEND_VAR_EX CV3($base) 1
0030 V8 = DO_FCALL_BY_NAME
0031 SEND_VAR_NO_REF_EX V8 2
0032 V8 = DO_FCALL_BY_NAME
0033 JMP 0038
0034 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\strlen")
0035 SEND_VAR_EX CV3($base) 1
0036 V9 = DO_FCALL_BY_NAME
0037 V8 = FRAMELESS_ICALL_2(substr) CV0($path) V9
0038 ASSIGN CV5($raw) V8
0039 T8 = IS_NOT_IDENTICAL CV5($raw) string("")
0040 JMPZ T8 0005
0041 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\rawurldecode")
0042 SEND_VAR_EX CV5($raw) 1
0043 V8 = DO_FCALL_BY_NAME
0044 CV6($matches) = INIT_ARRAY 1 V8 string("title")
0045 JMPZ CV2($key) 0048
0046 ASSIGN_DIM CV6($matches) CV2($key)
0047 OP_DATA CV4($keyValue)
0048 FE_FREE V7
0049 RETURN CV6($matches)
0050 FE_FREE V7
0051 RETURN array(...)
LIVE RANGES:
7: 0005 - 0050 (loop)
8: 0015 - 0016 (tmp/var)
MediaWiki\Request\WebRequest::normalizeUnicode:
; (lines=26, args=1, vars=4, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:439-449
0000 CV0($data) = RECV 1
0001 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\is_array")
0002 SEND_VAR_EX CV0($data) 1
0003 V4 = DO_FCALL_BY_NAME
0004 JMPZ V4 0016
0005 V4 = FE_RESET_R CV0($data) 0014
0006 T5 = FE_FETCH_R V4 CV1($val) 0014
0007 ASSIGN CV2($key) T5
0008 INIT_METHOD_CALL 1 THIS string("normalizeUnicode")
0009 SEND_VAR CV1($val) 1
0010 V5 = DO_FCALL
0011 ASSIGN_DIM CV0($data) CV2($key)
0012 OP_DATA V5
0013 JMP 0006
0014 FE_FREE V4
0015 RETURN CV0($data)
0016 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("getInstance")
0017 V4 = DO_FCALL
0018 INIT_METHOD_CALL 0 V4 string("getContentLanguage")
0019 V4 = DO_FCALL
0020 CV3($contLang) = QM_ASSIGN V4
0021 INIT_METHOD_CALL 1 CV3($contLang) string("normalize")
0022 SEND_VAR_EX CV0($data) 1
0023 V4 = DO_FCALL
0024 ASSIGN CV0($data) V4
0025 RETURN CV0($data)
LIVE RANGES:
4: 0006 - 0014 (loop)
MediaWiki\Request\WebRequest::getGPCVal:
; (lines=51, args=3, vars=5, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:460-484
0000 CV0($arr) = RECV 1
0001 CV1($name) = RECV 2
0002 CV2($default) = RECV 3
0003 JMP_FRAMELESS 8 string("mediawiki\\request\\strtr") 0010
0004 INIT_NS_FCALL_BY_NAME 3 string("MediaWiki\\Request\\strtr")
0005 SEND_VAR_EX CV1($name) 1
0006 SEND_VAL_EX string(".") 2
0007 SEND_VAL_EX string("_") 3
0008 V5 = DO_FCALL_BY_NAME
0009 JMP 0012
0010 V5 = FRAMELESS_ICALL_3(strtr) CV1($name) string(".")
0011 OP_DATA string("_")
0012 ASSIGN CV1($name) V5
0013 T5 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($arr) CV1($name)
0014 JMPNZ T5 0016
0015 RETURN CV2($default)
0016 CV3($data) = FETCH_DIM_R CV0($arr) CV1($name)
0017 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\is_string")
0018 SEND_VAR_EX CV3($data) 1
0019 V6 = DO_FCALL_BY_NAME
0020 T5 = JMPZ_EX V6 0029
0021 JMP_FRAMELESS 32 string("mediawiki\\request\\preg_match") 0027
0022 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\preg_match")
0023 SEND_VAL_EX string("/[^\\x20-\\x7E]/") 1
0024 SEND_VAR_EX CV3($data) 2
0025 V6 = DO_FCALL_BY_NAME
0026 JMP 0028
0027 V6 = FRAMELESS_ICALL_2(preg_match) string("/[^\\x20-\\x7E]/") CV3($data)
0028 T5 = IS_IDENTICAL V6 int(0)
0029 CV4($isAsciiStr) = QM_ASSIGN T5
0030 JMPNZ CV4($isAsciiStr) 0050
0031 T6 = FETCH_IS (global) string("_GET")
0032 T5 = ISSET_ISEMPTY_DIM_OBJ (isset) T6 CV1($name)
0033 JMPZ T5 0046
0034 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\is_string")
0035 SEND_VAR_EX CV3($data) 1
0036 V5 = DO_FCALL_BY_NAME
0037 JMPZ V5 0046
0038 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("getInstance")
0039 V5 = DO_FCALL
0040 INIT_METHOD_CALL 0 V5 string("getContentLanguage")
0041 V5 = DO_FCALL
0042 INIT_METHOD_CALL 1 V5 string("checkTitleEncoding")
0043 SEND_VAR_EX CV3($data) 1
0044 V5 = DO_FCALL
0045 ASSIGN CV3($data) V5
0046 INIT_METHOD_CALL 1 THIS string("normalizeUnicode")
0047 SEND_VAR CV3($data) 1
0048 V5 = DO_FCALL
0049 ASSIGN CV3($data) V5
0050 RETURN CV3($data)
LIVE RANGES:
5: 0011 - 0012 (tmp/var)
MediaWiki\Request\WebRequest::getRawVal:
; (lines=31, args=2, vars=3, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:499-508
0000 CV0($name) = RECV 1
0001 CV1($default) = RECV_INIT 2 null
0002 JMP_FRAMELESS 8 string("mediawiki\\request\\strtr") 0009
0003 INIT_NS_FCALL_BY_NAME 3 string("MediaWiki\\Request\\strtr")
0004 SEND_VAR_EX CV0($name) 1
0005 SEND_VAL_EX string(".") 2
0006 SEND_VAL_EX string("_") 3
0007 V3 = DO_FCALL_BY_NAME
0008 JMP 0011
0009 V3 = FRAMELESS_ICALL_3(strtr) CV0($name) string(".")
0010 OP_DATA string("_")
0011 ASSIGN CV0($name) V3
0012 T4 = FETCH_OBJ_IS THIS string("data")
0013 T3 = ISSET_ISEMPTY_DIM_OBJ (isset) T4 CV0($name)
0014 JMPZ T3 0025
0015 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\is_array")
0016 CHECK_FUNC_ARG 1
0017 V4 = FETCH_OBJ_FUNC_ARG THIS string("data")
0018 V3 = FETCH_DIM_FUNC_ARG V4 CV0($name)
0019 SEND_FUNC_ARG V3 1
0020 V3 = DO_FCALL_BY_NAME
0021 JMPNZ V3 0025
0022 T3 = FETCH_OBJ_R THIS string("data")
0023 CV2($val) = FETCH_DIM_R T3 CV0($name)
0024 JMP 0026
0025 CV2($val) = QM_ASSIGN CV1($default)
0026 T3 = TYPE_CHECK (null) CV2($val)
0027 JMPZ T3 0029
0028 RETURN null
0029 T3 = CAST (string) CV2($val)
0030 RETURN T3
LIVE RANGES:
3: 0010 - 0011 (tmp/var)
MediaWiki\Request\WebRequest::getVal:
; (lines=19, args=2, vars=3, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:528-535
0000 CV0($name) = RECV 1
0001 CV1($default) = RECV_INIT 2 null
0002 INIT_METHOD_CALL 3 THIS string("getGPCVal")
0003 T3 = FETCH_OBJ_R THIS string("data")
0004 SEND_VAL T3 1
0005 SEND_VAR CV0($name) 2
0006 SEND_VAR CV1($default) 3
0007 V3 = DO_UCALL
0008 CV2($val) = QM_ASSIGN V3
0009 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\is_array")
0010 SEND_VAR_EX CV2($val) 1
0011 V3 = DO_FCALL_BY_NAME
0012 JMPZ V3 0014
0013 ASSIGN CV2($val) CV1($default)
0014 T3 = TYPE_CHECK (null) CV2($val)
0015 JMPZ T3 0017
0016 RETURN null
0017 T3 = CAST (string) CV2($val)
0018 RETURN T3
MediaWiki\Request\WebRequest::getText:
; (lines=17, args=2, vars=3, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:555-558
0000 CV0($name) = RECV 1
0001 CV1($default) = RECV_INIT 2 string("")
0002 INIT_METHOD_CALL 2 THIS string("getVal")
0003 SEND_VAR CV0($name) 1
0004 SEND_VAR CV1($default) 2
0005 V3 = DO_FCALL
0006 CV2($val) = QM_ASSIGN V3
0007 JMP_FRAMELESS 24 string("mediawiki\\request\\str_replace") 0014
0008 INIT_NS_FCALL_BY_NAME 3 string("MediaWiki\\Request\\str_replace")
0009 SEND_VAL_EX string("
") 1
0010 SEND_VAL_EX string("
") 2
0011 SEND_VAR_EX CV2($val) 3
0012 V3 = DO_FCALL_BY_NAME
0013 RETURN V3
0014 V3 = FRAMELESS_ICALL_3(str_replace) string("
") string("
")
0015 OP_DATA CV2($val)
0016 RETURN V3
LIVE RANGES:
3: 0015 - 0016 (tmp/var)
MediaWiki\Request\WebRequest::setVal:
; (lines=11, args=2, vars=3, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:567-571
0000 CV0($key) = RECV 1
0001 CV1($value) = RECV 2
0002 T3 = FETCH_OBJ_IS THIS string("data")
0003 T4 = FETCH_DIM_IS T3 CV0($key)
0004 T3 = COALESCE T4 0006
0005 T3 = QM_ASSIGN null
0006 CV2($ret) = QM_ASSIGN T3
0007 V3 = FETCH_OBJ_W (dim write) THIS string("data")
0008 ASSIGN_DIM V3 CV0($key)
0009 OP_DATA CV1($value)
0010 RETURN CV2($ret)
MediaWiki\Request\WebRequest::unsetVal:
; (lines=10, args=1, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:579-587
0000 CV0($key) = RECV 1
0001 T3 = FETCH_OBJ_IS THIS string("data")
0002 T2 = ISSET_ISEMPTY_DIM_OBJ (isset) T3 CV0($key)
0003 JMPNZ T2 0005
0004 RETURN null
0005 T2 = FETCH_OBJ_R THIS string("data")
0006 CV1($ret) = FETCH_DIM_R T2 CV0($key)
0007 V2 = FETCH_OBJ_UNSET THIS string("data")
0008 UNSET_DIM V2 CV0($key)
0009 RETURN CV1($ret)
MediaWiki\Request\WebRequest::getArray:
; (lines=14, args=2, vars=3, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:599-606
0000 CV0($name) = RECV 1
0001 CV1($default) = RECV_INIT 2 null
0002 INIT_METHOD_CALL 3 THIS string("getGPCVal")
0003 T3 = FETCH_OBJ_R THIS string("data")
0004 SEND_VAL T3 1
0005 SEND_VAR CV0($name) 2
0006 SEND_VAR CV1($default) 3
0007 V3 = DO_UCALL
0008 CV2($val) = QM_ASSIGN V3
0009 T3 = TYPE_CHECK (null) CV2($val)
0010 JMPZ T3 0012
0011 RETURN null
0012 T3 = CAST (array) CV2($val)
0013 RETURN T3
MediaWiki\Request\WebRequest::getIntArray:
; (lines=17, args=2, vars=3, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:620-626
0000 CV0($name) = RECV 1
0001 CV1($default) = RECV_INIT 2 null
0002 INIT_METHOD_CALL 2 THIS string("getArray")
0003 SEND_VAR CV0($name) 1
0004 SEND_VAR CV1($default) 2
0005 V3 = DO_FCALL
0006 CV2($val) = QM_ASSIGN V3
0007 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\is_array")
0008 SEND_VAR_EX CV2($val) 1
0009 V3 = DO_FCALL_BY_NAME
0010 JMPZ V3 0016
0011 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\array_map")
0012 SEND_VAL_EX string("intval") 1
0013 SEND_VAR_EX CV2($val) 2
0014 V3 = DO_FCALL_BY_NAME
0015 ASSIGN CV2($val) V3
0016 RETURN CV2($val)
MediaWiki\Request\WebRequest::getInt:
; (lines=11, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:637-640
0000 CV0($name) = RECV 1
0001 CV1($default) = RECV_INIT 2 int(0)
0002 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\intval")
0003 INIT_METHOD_CALL 2 THIS string("getRawVal")
0004 SEND_VAR CV0($name) 1
0005 SEND_VAR CV1($default) 2
0006 V2 = DO_FCALL
0007 SEND_VAR_NO_REF_EX V2 1
0008 V2 = DO_FCALL_BY_NAME
0009 VERIFY_RETURN_TYPE V2
0010 RETURN V2
LIVE RANGES:
2: 0009 - 0010 (tmp/var)
MediaWiki\Request\WebRequest::getIntOrNull:
; (lines=20, args=1, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:650-653
0000 CV0($name) = RECV 1
0001 INIT_METHOD_CALL 1 THIS string("getRawVal")
0002 SEND_VAR CV0($name) 1
0003 V2 = DO_FCALL
0004 CV1($val) = QM_ASSIGN V2
0005 JMP_FRAMELESS 24 string("mediawiki\\request\\is_numeric") 0010
0006 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\is_numeric")
0007 SEND_VAR_EX CV1($val) 1
0008 V2 = DO_FCALL_BY_NAME
0009 JMP 0011
0010 V2 = FRAMELESS_ICALL_1(is_numeric) CV1($val)
0011 JMPZ V2 0017
0012 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\intval")
0013 SEND_VAR_EX CV1($val) 1
0014 V3 = DO_FCALL_BY_NAME
0015 T2 = QM_ASSIGN V3
0016 JMP 0018
0017 T2 = QM_ASSIGN null
0018 VERIFY_RETURN_TYPE T2
0019 RETURN T2
LIVE RANGES:
2: 0018 - 0019 (tmp/var)
MediaWiki\Request\WebRequest::getFloat:
; (lines=11, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:665-668
0000 CV0($name) = RECV 1
0001 CV1($default) = RECV_INIT 2 float(0)
0002 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\floatval")
0003 INIT_METHOD_CALL 2 THIS string("getRawVal")
0004 SEND_VAR CV0($name) 1
0005 SEND_VAR CV1($default) 2
0006 V2 = DO_FCALL
0007 SEND_VAR_NO_REF_EX V2 1
0008 V2 = DO_FCALL_BY_NAME
0009 VERIFY_RETURN_TYPE V2
0010 RETURN V2
LIVE RANGES:
2: 0009 - 0010 (tmp/var)
MediaWiki\Request\WebRequest::getBool:
; (lines=8, args=2, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:679-682
0000 CV0($name) = RECV 1
0001 CV1($default) = RECV_INIT 2 bool(false)
0002 INIT_METHOD_CALL 2 THIS string("getRawVal")
0003 SEND_VAR CV0($name) 1
0004 SEND_VAR CV1($default) 2
0005 V3 = DO_FCALL
0006 T2 = BOOL V3
0007 RETURN T2
MediaWiki\Request\WebRequest::getFuzzyBool:
; (lines=17, args=2, vars=3, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:694-701
0000 CV0($name) = RECV 1
0001 CV1($default) = RECV_INIT 2 bool(false)
0002 INIT_METHOD_CALL 1 THIS string("getRawVal")
0003 SEND_VAR CV0($name) 1
0004 V3 = DO_FCALL
0005 CV2($value) = QM_ASSIGN V3
0006 T3 = TYPE_CHECK (null) CV2($value)
0007 JMPZ T3 0010
0008 T3 = BOOL CV1($default)
0009 RETURN T3
0010 T3 = JMPZ_EX CV2($value) 0016
0011 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\strcasecmp")
0012 SEND_VAR_EX CV2($value) 1
0013 SEND_VAL_EX string("false") 2
0014 V4 = DO_FCALL_BY_NAME
0015 T3 = IS_NOT_IDENTICAL V4 int(0)
0016 RETURN T3
MediaWiki\Request\WebRequest::getCheck:
; (lines=7, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:712-716
0000 CV0($name) = RECV 1
0001 INIT_METHOD_CALL 2 THIS string("getRawVal")
0002 SEND_VAR CV0($name) 1
0003 SEND_VAL null 2
0004 V2 = DO_FCALL
0005 T1 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] V2
0006 RETURN T1
MediaWiki\Request\WebRequest::getValues:
; (lines=26, args=0, vars=4, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:726-739
0000 CV0($names) = RECV_VARIADIC 1
0001 T4 = IS_IDENTICAL CV0($names) array(...)
0002 JMPZ T4 0009
0003 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\array_keys")
0004 CHECK_FUNC_ARG 1
0005 V4 = FETCH_OBJ_FUNC_ARG (ref) THIS string("data")
0006 SEND_FUNC_ARG V4 1
0007 V4 = DO_FCALL_BY_NAME
0008 ASSIGN CV0($names) V4
0009 CV1($retVal) = QM_ASSIGN array(...)
0010 V4 = FE_RESET_R CV0($names) 0024
0011 FE_FETCH_R V4 CV2($name) 0024
0012 INIT_METHOD_CALL 3 THIS string("getGPCVal")
0013 T5 = FETCH_OBJ_R THIS string("data")
0014 SEND_VAL T5 1
0015 SEND_VAR CV2($name) 2
0016 SEND_VAL null 3
0017 V5 = DO_UCALL
0018 ASSIGN CV3($value) V5
0019 T5 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] CV3($value)
0020 JMPZ T5 0011
0021 ASSIGN_DIM CV1($retVal) CV2($name)
0022 OP_DATA CV3($value)
0023 JMP 0011
0024 FE_FREE V4
0025 RETURN CV1($retVal)
LIVE RANGES:
4: 0011 - 0024 (loop)
MediaWiki\Request\WebRequest::getValueNames:
; (lines=11, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:749-751
0000 CV0($exclude) = RECV_INIT 1 array(...)
0001 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\array_diff")
0002 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\array_keys")
0003 INIT_METHOD_CALL 0 THIS string("getValues")
0004 V1 = DO_FCALL
0005 SEND_VAR_NO_REF_EX V1 1
0006 V1 = DO_FCALL_BY_NAME
0007 SEND_VAR_NO_REF_EX V1 1
0008 SEND_VAR_EX CV0($exclude) 2
0009 V1 = DO_FCALL_BY_NAME
0010 RETURN V1
MediaWiki\Request\WebRequest::getQueryValues:
; (lines=2, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:761-763
0000 T0 = FETCH_OBJ_R THIS string("queryAndPathParams")
0001 RETURN T0
MediaWiki\Request\WebRequest::getQueryValuesOnly:
; (lines=2, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:774-776
0000 T0 = FETCH_OBJ_R THIS string("queryParams")
0001 RETURN T0
MediaWiki\Request\WebRequest::getPostValues:
; (lines=2, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:786-788
0000 T0 = FETCH_R (global) string("_POST")
0001 RETURN T0
MediaWiki\Request\WebRequest::getRawQueryString:
; (lines=6, args=0, vars=0, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:798-800
0000 INIT_METHOD_CALL 1 THIS string("getServerInfo")
0001 SEND_VAL string("QUERY_STRING") 1
0002 V1 = DO_FCALL
0003 T0 = COALESCE V1 0005
0004 T0 = QM_ASSIGN string("")
0005 RETURN T0
MediaWiki\Request\WebRequest::getRawPostString:
; (lines=7, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:809-814
0000 INIT_METHOD_CALL 0 THIS string("wasPosted")
0001 V0 = DO_FCALL
0002 JMPNZ V0 0004
0003 RETURN string("")
0004 INIT_METHOD_CALL 0 THIS string("getRawInput")
0005 V0 = DO_FCALL
0006 RETURN V0
MediaWiki\Request\WebRequest::getRawInput:
; (lines=8, args=0, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:824-828
0000 BIND_STATIC (ref) CV0($input)
0001 T1 = COALESCE CV0($input) 0006
0002 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\file_get_contents")
0003 SEND_VAL_EX string("php://input") 1
0004 V2 = DO_FCALL_BY_NAME
0005 T1 = ASSIGN CV0($input) V2
0006 FREE T1
0007 RETURN CV0($input)
MediaWiki\Request\WebRequest::getMethod:
; (lines=6, args=0, vars=0, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:835-837
0000 INIT_METHOD_CALL 1 THIS string("getServerInfo")
0001 SEND_VAL string("REQUEST_METHOD") 1
0002 V1 = DO_FCALL
0003 T0 = JMP_SET V1 0005
0004 T0 = QM_ASSIGN string("GET")
0005 RETURN T0
MediaWiki\Request\WebRequest::wasPosted:
; (lines=4, args=0, vars=0, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:848-850
0000 INIT_METHOD_CALL 0 THIS string("getMethod")
0001 V1 = DO_FCALL
0002 T0 = IS_EQUAL V1 string("POST")
0003 RETURN T0
MediaWiki\Request\WebRequest::getSession:
; (lines=30, args=0, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:862-873
0000 T2 = FETCH_OBJ_R THIS string("sessionId")
0001 T1 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] T2
0002 JMPZ T1 0017
0003 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Session\\SessionManager") string("singleton")
0004 V1 = DO_FCALL
0005 INIT_METHOD_CALL 3 V1 string("getSessionById")
0006 T2 = FETCH_OBJ_R THIS string("sessionId")
0007 T1 = CAST (string) T2
0008 SEND_VAL_EX T1 1
0009 SEND_VAL_EX bool(true) 2
0010 V1 = FETCH_THIS
0011 SEND_VAR_EX V1 3
0012 V1 = DO_FCALL
0013 CV0($session) = QM_ASSIGN V1
0014 JMPZ CV0($session) 0017
0015 VERIFY_RETURN_TYPE CV0($session)
0016 RETURN CV0($session)
0017 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Session\\SessionManager") string("singleton")
0018 V1 = DO_FCALL
0019 INIT_METHOD_CALL 1 V1 string("getSessionForRequest")
0020 V1 = FETCH_THIS
0021 SEND_VAR_EX V1 1
0022 V1 = DO_FCALL
0023 ASSIGN CV0($session) V1
0024 INIT_METHOD_CALL 0 CV0($session) string("getSessionId")
0025 V1 = DO_FCALL
0026 ASSIGN_OBJ THIS string("sessionId")
0027 OP_DATA V1
0028 VERIFY_RETURN_TYPE CV0($session)
0029 RETURN CV0($session)
MediaWiki\Request\WebRequest::setSessionId:
; (lines=4, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:881-883
0000 CV0($sessionId) = RECV 1
0001 ASSIGN_OBJ THIS string("sessionId")
0002 OP_DATA CV0($sessionId)
0003 RETURN null
MediaWiki\Request\WebRequest::getSessionId:
; (lines=2, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:891-893
0000 T0 = FETCH_OBJ_R THIS string("sessionId")
0001 RETURN T0
MediaWiki\Request\WebRequest::getCookie:
; (lines=25, args=3, vars=5, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:904-917
0000 CV0($key) = RECV 1
0001 CV1($prefix) = RECV_INIT 2 null
0002 CV2($default) = RECV_INIT 3 null
0003 T5 = TYPE_CHECK (null) CV1($prefix)
0004 JMPZ T5 0007
0005 BIND_GLOBAL CV3($wgCookiePrefix) string("wgCookiePrefix")
0006 CV1($prefix) = QM_ASSIGN CV3($wgCookiePrefix)
0007 CV4($name) = CONCAT CV1($prefix) CV0($key)
0008 JMP_FRAMELESS 16 string("mediawiki\\request\\strtr") 0015
0009 INIT_NS_FCALL_BY_NAME 3 string("MediaWiki\\Request\\strtr")
0010 SEND_VAR_EX CV4($name) 1
0011 SEND_VAL_EX string(".") 2
0012 SEND_VAL_EX string("_") 3
0013 V5 = DO_FCALL_BY_NAME
0014 JMP 0017
0015 V5 = FRAMELESS_ICALL_3(strtr) CV4($name) string(".")
0016 OP_DATA string("_")
0017 ASSIGN CV4($name) V5
0018 T6 = FETCH_IS (global) string("_COOKIE")
0019 T5 = ISSET_ISEMPTY_DIM_OBJ (isset) T6 CV4($name)
0020 JMPZ T5 0024
0021 T6 = FETCH_R (global) string("_COOKIE")
0022 T5 = FETCH_DIM_R T6 CV4($name)
0023 RETURN T5
0024 RETURN CV2($default)
LIVE RANGES:
5: 0016 - 0017 (tmp/var)
MediaWiki\Request\WebRequest::getCrossSiteCookie:
; (lines=13, args=3, vars=3, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:929-932
0000 CV0($key) = RECV 1
0001 CV1($prefix) = RECV_INIT 2 string("")
0002 CV2($default) = RECV_INIT 3 null
0003 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\wfDeprecated")
0004 SEND_VAL_EX string("MediaWiki\\Request\\WebRequest::getCrossSiteCookie") 1
0005 SEND_VAL_EX string("1.42") 2
0006 DO_FCALL_BY_NAME
0007 INIT_METHOD_CALL 3 THIS string("getCookie")
0008 SEND_VAR CV0($key) 1
0009 SEND_VAR CV1($prefix) 2
0010 SEND_VAR CV2($default) 3
0011 V3 = DO_FCALL
0012 RETURN V3
MediaWiki\Request\WebRequest::getGlobalRequestURL:
; (lines=90, args=0, vars=2, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:942-981
0000 T3 = FETCH_IS (global) string("_SERVER")
0001 T2 = ISSET_ISEMPTY_DIM_OBJ (isset) T3 string("REQUEST_URI")
0002 JMPZ T2 0013
0003 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\strlen")
0004 CHECK_FUNC_ARG 1
0005 V3 = FETCH_FUNC_ARG (global) string("_SERVER")
0006 V2 = FETCH_DIM_FUNC_ARG V3 string("REQUEST_URI")
0007 SEND_FUNC_ARG V2 1
0008 V2 = DO_FCALL_BY_NAME
0009 JMPZ V2 0013
0010 T2 = FETCH_R (global) string("_SERVER")
0011 CV0($base) = FETCH_DIM_R T2 string("REQUEST_URI")
0012 JMP 0047
0013 T3 = FETCH_IS (global) string("_SERVER")
0014 T2 = ISSET_ISEMPTY_DIM_OBJ (isset) T3 string("HTTP_X_ORIGINAL_URL")
0015 JMPZ T2 0026
0016 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\strlen")
0017 CHECK_FUNC_ARG 1
0018 V3 = FETCH_FUNC_ARG (global) string("_SERVER")
0019 V2 = FETCH_DIM_FUNC_ARG V3 string("HTTP_X_ORIGINAL_URL")
0020 SEND_FUNC_ARG V2 1
0021 V2 = DO_FCALL_BY_NAME
0022 JMPZ V2 0026
0023 T2 = FETCH_R (global) string("_SERVER")
0024 CV0($base) = FETCH_DIM_R T2 string("HTTP_X_ORIGINAL_URL")
0025 JMP 0047
0026 T3 = FETCH_IS (global) string("_SERVER")
0027 T2 = ISSET_ISEMPTY_DIM_OBJ (isset) T3 string("SCRIPT_NAME")
0028 JMPZ T2 0043
0029 T2 = FETCH_R (global) string("_SERVER")
0030 CV0($base) = FETCH_DIM_R T2 string("SCRIPT_NAME")
0031 T3 = FETCH_IS (global) string("_SERVER")
0032 T2 = ISSET_ISEMPTY_DIM_OBJ (isset) T3 string("QUERY_STRING")
0033 JMPZ T2 0047
0034 T4 = FETCH_R (global) string("_SERVER")
0035 T3 = FETCH_DIM_R T4 string("QUERY_STRING")
0036 T2 = IS_NOT_EQUAL T3 string("")
0037 JMPZ T2 0047
0038 T2 = FETCH_R (global) string("_SERVER")
0039 T3 = FETCH_DIM_R T2 string("QUERY_STRING")
0040 T2 = CONCAT string("?") T3
0041 ASSIGN_OP (CONCAT) CV0($base) T2
0042 JMP 0047
0043 V2 = NEW 1 string("MWException")
0044 SEND_VAL_EX string("Web server doesn't provide either REQUEST_URI, HTTP_X_ORIGINAL_URL or SCRIPT_NAME. Report details of your web server configuration to https://phabricator.wikimedia.org/") 1
0045 DO_FCALL
0046 THROW V2
0047 JMP_FRAMELESS 24 string("mediawiki\\request\\strpos") 0053
0048 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\strpos")
0049 SEND_VAR_EX CV0($base) 1
0050 SEND_VAL_EX string("#") 2
0051 V2 = DO_FCALL_BY_NAME
0052 JMP 0054
0053 V2 = FRAMELESS_ICALL_2(strpos) CV0($base) string("#")
0054 CV1($hash) = QM_ASSIGN V2
0055 T2 = TYPE_CHECK TYPE [null, true, long, double, string, array, object, resource] CV1($hash)
0056 JMPZ T2 0067
0057 JMP_FRAMELESS 40 string("mediawiki\\request\\substr") 0064
0058 INIT_NS_FCALL_BY_NAME 3 string("MediaWiki\\Request\\substr")
0059 SEND_VAR_EX CV0($base) 1
0060 SEND_VAL_EX int(0) 2
0061 SEND_VAR_EX CV1($hash) 3
0062 V2 = DO_FCALL_BY_NAME
0063 JMP 0066
0064 V2 = FRAMELESS_ICALL_3(substr) CV0($base) int(0)
0065 OP_DATA CV1($hash)
0066 ASSIGN CV0($base) V2
0067 T3 = FETCH_DIM_R CV0($base) int(0)
0068 T2 = IS_EQUAL T3 string("/")
0069 JMPZ T2 0080
0070 JMP_FRAMELESS 56 string("mediawiki\\request\\preg_replace") 0077
0071 INIT_NS_FCALL_BY_NAME 3 string("MediaWiki\\Request\\preg_replace")
0072 SEND_VAL_EX string("!^/+!") 1
0073 SEND_VAL_EX string("/") 2
0074 SEND_VAR_EX CV0($base) 3
0075 V2 = DO_FCALL_BY_NAME
0076 RETURN V2
0077 V2 = FRAMELESS_ICALL_3(preg_replace) string("!^/+!") string("/")
0078 OP_DATA CV0($base)
0079 RETURN V2
0080 JMP_FRAMELESS 72 string("mediawiki\\request\\preg_replace") 0087
0081 INIT_NS_FCALL_BY_NAME 3 string("MediaWiki\\Request\\preg_replace")
0082 SEND_VAL_EX string("!^[^:]+://[^/]+/+!") 1
0083 SEND_VAL_EX string("/") 2
0084 SEND_VAR_EX CV0($base) 3
0085 V2 = DO_FCALL_BY_NAME
0086 RETURN V2
0087 V2 = FRAMELESS_ICALL_3(preg_replace) string("!^[^:]+://[^/]+/+!") string("/")
0088 OP_DATA CV0($base)
0089 RETURN V2
LIVE RANGES:
2: 0044 - 0046 (new)
2: 0065 - 0066 (tmp/var)
2: 0078 - 0079 (tmp/var)
2: 0088 - 0089 (tmp/var)
MediaWiki\Request\WebRequest::getRequestURL:
; (lines=3, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:991-993
0000 INIT_STATIC_METHOD_CALL 0 (self) (exception) string("getGlobalRequestURL")
0001 V0 = DO_UCALL
0002 RETURN V0
MediaWiki\Request\WebRequest::getFullRequestURL:
; (lines=20, args=0, vars=0, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:1006-1015
0000 INIT_METHOD_CALL 0 THIS string("getProtocol")
0001 V1 = DO_FCALL
0002 T0 = IS_IDENTICAL V1 string("http")
0003 JMPZ T0 0012
0004 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\wfGetServerUrl")
0005 T0 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Request\\PROTO_HTTP")
0006 SEND_VAL_EX T0 1
0007 V1 = DO_FCALL_BY_NAME
0008 INIT_METHOD_CALL 0 THIS string("getRequestURL")
0009 V2 = DO_FCALL
0010 T0 = CONCAT V1 V2
0011 RETURN T0
0012 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\wfGetServerUrl")
0013 T0 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Request\\PROTO_HTTPS")
0014 SEND_VAL_EX T0 1
0015 V1 = DO_FCALL_BY_NAME
0016 INIT_METHOD_CALL 0 THIS string("getRequestURL")
0017 V2 = DO_FCALL
0018 T0 = CONCAT V1 V2
0019 RETURN T0
LIVE RANGES:
1: 0008 - 0010 (tmp/var)
1: 0016 - 0018 (tmp/var)
MediaWiki\Request\WebRequest::appendQueryValue:
; (lines=7, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:1022-1024
0000 CV0($key) = RECV 1
0001 CV1($value) = RECV 2
0002 INIT_METHOD_CALL 1 THIS string("appendQueryArray")
0003 T2 = INIT_ARRAY 1 (packed) CV1($value) CV0($key)
0004 SEND_VAL T2 1
0005 V2 = DO_FCALL
0006 RETURN V2
MediaWiki\Request\WebRequest::appendQueryArray:
; (lines=14, args=1, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:1032-1038
0000 CV0($array) = RECV 1
0001 INIT_METHOD_CALL 0 THIS string("getQueryValues")
0002 V2 = DO_FCALL
0003 CV1($newquery) = QM_ASSIGN V2
0004 UNSET_DIM CV1($newquery) string("title")
0005 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\array_merge")
0006 SEND_VAR_EX CV1($newquery) 1
0007 SEND_VAR_EX CV0($array) 2
0008 V2 = DO_FCALL_BY_NAME
0009 ASSIGN CV1($newquery) V2
0010 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\wfArrayToCgi")
0011 SEND_VAR_EX CV1($newquery) 1
0012 V2 = DO_FCALL_BY_NAME
0013 RETURN V2
MediaWiki\Request\WebRequest::getLimitOffsetForUser:
; (lines=41, args=3, vars=5, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:1050-1073
0000 CV0($user) = RECV 1
0001 CV1($deflimit) = RECV_INIT 2 int(50)
0002 CV2($optionname) = RECV_INIT 3 string("rclimit")
0003 INIT_METHOD_CALL 2 THIS string("getInt")
0004 SEND_VAL string("limit") 1
0005 SEND_VAL int(0) 2
0006 V5 = DO_FCALL
0007 CV3($limit) = QM_ASSIGN V5
0008 T5 = IS_SMALLER CV3($limit) int(0)
0009 JMPZ T5 0011
0010 ASSIGN CV3($limit) int(0)
0011 T5 = IS_EQUAL CV3($limit) int(0)
0012 JMPZ T5 0024
0013 T5 = IS_NOT_EQUAL CV2($optionname) string("")
0014 JMPZ T5 0024
0015 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("getInstance")
0016 V5 = DO_FCALL
0017 INIT_METHOD_CALL 0 V5 string("getUserOptionsLookup")
0018 V5 = DO_FCALL
0019 INIT_METHOD_CALL 2 V5 string("getIntOption")
0020 SEND_VAR_EX CV0($user) 1
0021 SEND_VAR_EX CV2($optionname) 2
0022 V5 = DO_FCALL
0023 ASSIGN CV3($limit) V5
0024 T5 = IS_SMALLER_OR_EQUAL CV3($limit) int(0)
0025 JMPZ T5 0027
0026 ASSIGN CV3($limit) CV1($deflimit)
0027 T5 = IS_SMALLER int(5000) CV3($limit)
0028 JMPZ T5 0030
0029 ASSIGN CV3($limit) int(5000)
0030 INIT_METHOD_CALL 2 THIS string("getInt")
0031 SEND_VAL string("offset") 1
0032 SEND_VAL int(0) 2
0033 V5 = DO_FCALL
0034 CV4($offset) = QM_ASSIGN V5
0035 T5 = IS_SMALLER CV4($offset) int(0)
0036 JMPZ T5 0038
0037 ASSIGN CV4($offset) int(0)
0038 T5 = INIT_ARRAY 2 (packed) CV3($limit) NEXT
0039 T5 = ADD_ARRAY_ELEMENT CV4($offset) NEXT
0040 RETURN T5
LIVE RANGES:
5: 0039 - 0040 (tmp/var)
MediaWiki\Request\WebRequest::getFileTempname:
; (lines=7, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:1081-1083
0000 CV0($key) = RECV 1
0001 INIT_METHOD_CALL 1 THIS string("getUpload")
0002 SEND_VAR CV0($key) 1
0003 V1 = DO_FCALL
0004 INIT_METHOD_CALL 0 V1 string("getTempName")
0005 V1 = DO_FCALL
0006 RETURN V1
MediaWiki\Request\WebRequest::getUploadError:
; (lines=7, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:1091-1093
0000 CV0($key) = RECV 1
0001 INIT_METHOD_CALL 1 THIS string("getUpload")
0002 SEND_VAR CV0($key) 1
0003 V1 = DO_FCALL
0004 INIT_METHOD_CALL 0 V1 string("getError")
0005 V1 = DO_FCALL
0006 RETURN V1
MediaWiki\Request\WebRequest::getFileName:
; (lines=7, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:1106-1108
0000 CV0($key) = RECV 1
0001 INIT_METHOD_CALL 1 THIS string("getUpload")
0002 SEND_VAR CV0($key) 1
0003 V1 = DO_FCALL
0004 INIT_METHOD_CALL 0 V1 string("getName")
0005 V1 = DO_FCALL
0006 RETURN V1
MediaWiki\Request\WebRequest::getUpload:
; (lines=7, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:1116-1118
0000 CV0($key) = RECV 1
0001 V1 = NEW 2 string("MediaWiki\\Request\\WebRequestUpload")
0002 V2 = FETCH_THIS
0003 SEND_VAR_EX V2 1
0004 SEND_VAR_EX CV0($key) 2
0005 DO_FCALL
0006 RETURN V1
LIVE RANGES:
1: 0002 - 0006 (new)
MediaWiki\Request\WebRequest::response:
; (lines=9, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:1124-1130
0000 T0 = FETCH_OBJ_R THIS string("response")
0001 JMPNZ T0 0006
0002 V0 = NEW 0 string("MediaWiki\\Request\\WebResponse")
0003 DO_FCALL
0004 ASSIGN_OBJ THIS string("response")
0005 OP_DATA V0
0006 T0 = FETCH_OBJ_R THIS string("response")
0007 VERIFY_RETURN_TYPE T0
0008 RETURN T0
LIVE RANGES:
0: 0003 - 0004 (new)
0: 0007 - 0008 (tmp/var)
MediaWiki\Request\WebRequest::initHeaders:
; (lines=17, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:1135-1141
0000 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\count")
0001 CHECK_FUNC_ARG 1
0002 V0 = FETCH_OBJ_FUNC_ARG (ref) THIS string("headers")
0003 SEND_FUNC_ARG V0 1
0004 V0 = DO_FCALL_BY_NAME
0005 JMPZ V0 0007
0006 RETURN null
0007 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\array_change_key_case")
0008 INIT_NS_FCALL_BY_NAME 0 string("MediaWiki\\Request\\getallheaders")
0009 V0 = DO_FCALL_BY_NAME
0010 SEND_VAR_NO_REF_EX V0 1
0011 T0 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Request\\CASE_UPPER")
0012 SEND_VAL_EX T0 2
0013 V0 = DO_FCALL_BY_NAME
0014 ASSIGN_OBJ THIS string("headers")
0015 OP_DATA V0
0016 RETURN null
MediaWiki\Request\WebRequest::getAllHeaders:
; (lines=4, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:1149-1152
0000 INIT_METHOD_CALL 0 THIS string("initHeaders")
0001 DO_FCALL
0002 T0 = FETCH_OBJ_R THIS string("headers")
0003 RETURN T0
MediaWiki\Request\WebRequest::getHeader:
; (lines=26, args=2, vars=3, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:1167-1178
0000 CV0($name) = RECV 1
0001 CV1($flags) = RECV_INIT 2 int(0)
0002 INIT_METHOD_CALL 0 THIS string("initHeaders")
0003 DO_FCALL
0004 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\strtoupper")
0005 SEND_VAR_EX CV0($name) 1
0006 V3 = DO_FCALL_BY_NAME
0007 ASSIGN CV0($name) V3
0008 T4 = FETCH_OBJ_IS THIS string("headers")
0009 T3 = ISSET_ISEMPTY_DIM_OBJ (isset) T4 CV0($name)
0010 JMPNZ T3 0012
0011 RETURN bool(false)
0012 T3 = FETCH_OBJ_R THIS string("headers")
0013 CV2($value) = FETCH_DIM_R T3 CV0($name)
0014 T3 = BW_AND CV1($flags) int(1)
0015 JMPZ T3 0025
0016 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\array_map")
0017 SEND_VAL_EX string("trim") 1
0018 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\explode")
0019 SEND_VAL_EX string(",") 1
0020 SEND_VAR_EX CV2($value) 2
0021 V3 = DO_FCALL_BY_NAME
0022 SEND_VAR_NO_REF_EX V3 2
0023 V3 = DO_FCALL_BY_NAME
0024 ASSIGN CV2($value) V3
0025 RETURN CV2($value)
MediaWiki\Request\WebRequest::getSessionData:
; (lines=7, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:1187-1189
0000 CV0($key) = RECV 1
0001 INIT_METHOD_CALL 0 THIS string("getSession")
0002 V1 = DO_FCALL
0003 INIT_METHOD_CALL 1 V1 string("get")
0004 SEND_VAR_EX CV0($key) 1
0005 V1 = DO_FCALL
0006 RETURN V1
MediaWiki\Request\WebRequest::setSessionData:
; (lines=9, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:1196-1198
0000 CV0($key) = RECV 1
0001 CV1($data) = RECV 2
0002 INIT_METHOD_CALL 0 THIS string("getSession")
0003 V2 = DO_FCALL
0004 INIT_METHOD_CALL 2 V2 string("set")
0005 SEND_VAR_EX CV0($key) 1
0006 SEND_VAR_EX CV1($data) 2
0007 DO_FCALL
0008 RETURN null
MediaWiki\Request\WebRequest::getAcceptLang:
; (lines=39, args=0, vars=6, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:1214-1259
0000 INIT_METHOD_CALL 1 THIS string("getHeader")
0001 SEND_VAL string("Accept-Language") 1
0002 V6 = DO_FCALL
0003 CV0($acceptLang) = QM_ASSIGN V6
0004 JMPNZ CV0($acceptLang) 0006
0005 RETURN array(...)
0006 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\strtolower")
0007 SEND_VAR_EX CV0($acceptLang) 1
0008 V6 = DO_FCALL_BY_NAME
0009 ASSIGN CV0($acceptLang) V6
0010 INIT_NS_FCALL_BY_NAME 4 string("MediaWiki\\Request\\preg_match_all")
0011 SEND_VAL_EX string("/
# a language code or a star is required
([a-z]{1,8}(?:-[a-z]{1,8})*|\\*)
# from here everything is optional
\\s*
(?:
# this accepts only numbers in the range ;q=0.000 to ;q=1.000
;\\s*q\\s*=\\s*
(1(?:\\.0{0,3})?|0(?:\\.\\d{0,3})?)?
)?
/x") 1
0012 SEND_VAR_EX CV0($acceptLang) 2
0013 SEND_VAR_EX CV1($matches) 3
0014 T6 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Request\\PREG_SET_ORDER")
0015 SEND_VAL_EX T6 4
0016 V6 = DO_FCALL_BY_NAME
0017 JMPNZ V6 0019
0018 RETURN array(...)
0019 CV2($langs) = QM_ASSIGN array(...)
0020 V6 = FE_RESET_R CV1($matches) 0032
0021 FE_FETCH_R V6 CV3($match) 0032
0022 T7 = FETCH_DIM_R CV3($match) int(1)
0023 ASSIGN CV4($languageCode) T7
0024 T8 = FETCH_DIM_IS CV3($match) int(2)
0025 T7 = COALESCE T8 0027
0026 T7 = QM_ASSIGN float(1)
0027 CV5($qValue) = CAST (double) T7
0028 JMPZ CV5($qValue) 0021
0029 ASSIGN_DIM CV2($langs) CV4($languageCode)
0030 OP_DATA CV5($qValue)
0031 JMP 0021
0032 FE_FREE V6
0033 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\arsort")
0034 SEND_VAR_EX CV2($langs) 1
0035 T6 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Request\\SORT_NUMERIC")
0036 SEND_VAL_EX T6 2
0037 DO_FCALL_BY_NAME
0038 RETURN CV2($langs)
LIVE RANGES:
6: 0021 - 0032 (loop)
MediaWiki\Request\WebRequest::getRawIP:
; (lines=22, args=0, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:1267-1277
0000 INIT_METHOD_CALL 1 THIS string("getServerInfo")
0001 SEND_VAL string("REMOTE_ADDR") 1
0002 V1 = DO_FCALL
0003 CV0($remoteAddr) = QM_ASSIGN V1
0004 JMPNZ CV0($remoteAddr) 0006
0005 RETURN null
0006 JMP_FRAMELESS 24 string("mediawiki\\request\\str_contains") 0012
0007 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\str_contains")
0008 SEND_VAR_EX CV0($remoteAddr) 1
0009 SEND_VAL_EX string(",") 2
0010 V1 = DO_FCALL_BY_NAME
0011 JMP 0013
0012 V1 = FRAMELESS_ICALL_2(str_contains) CV0($remoteAddr) string(",")
0013 JMPZ V1 0018
0014 V1 = NEW 1 string("MWException")
0015 SEND_VAL_EX string("Remote IP must not contain multiple values") 1
0016 DO_FCALL
0017 THROW V1
0018 INIT_STATIC_METHOD_CALL 1 string("Wikimedia\\IPUtils") string("canonicalize")
0019 SEND_VAR_EX CV0($remoteAddr) 1
0020 V1 = DO_FCALL
0021 RETURN V1
LIVE RANGES:
1: 0015 - 0017 (new)
MediaWiki\Request\WebRequest::getIP:
; (lines=129, args=0, vars=11, tmps=5)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:1286-1366
0000 BIND_GLOBAL CV0($wgUsePrivateIPs) string("wgUsePrivateIPs")
0001 T12 = FETCH_OBJ_R THIS string("ip")
0002 T11 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] T12
0003 JMPZ T11 0007
0004 T11 = FETCH_OBJ_R THIS string("ip")
0005 VERIFY_RETURN_TYPE T11
0006 RETURN T11
0007 INIT_METHOD_CALL 0 THIS string("getRawIP")
0008 V11 = DO_FCALL
0009 CV1($ip) = QM_ASSIGN V11
0010 JMPNZ CV1($ip) 0015
0011 V11 = NEW 1 string("MWException")
0012 SEND_VAL_EX string("Unable to determine IP.") 1
0013 DO_FCALL
0014 THROW V11
0015 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("getInstance")
0016 V11 = DO_FCALL
0017 CV2($services) = QM_ASSIGN V11
0018 INIT_METHOD_CALL 1 THIS string("getHeader")
0019 SEND_VAL string("X-Forwarded-For") 1
0020 V11 = DO_FCALL
0021 CV3($forwardedFor) = QM_ASSIGN V11
0022 T11 = TYPE_CHECK TYPE [null, true, long, double, string, array, object, resource] CV3($forwardedFor)
0023 JMPZ T11 0107
0024 INIT_METHOD_CALL 0 CV2($services) string("getProxyLookup")
0025 V11 = DO_FCALL
0026 CV4($proxyLookup) = QM_ASSIGN V11
0027 INIT_METHOD_CALL 1 CV4($proxyLookup) string("isConfiguredProxy")
0028 SEND_VAR_EX CV1($ip) 1
0029 V11 = DO_FCALL
0030 CV5($isConfigured) = QM_ASSIGN V11
0031 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\array_map")
0032 SEND_VAL_EX string("trim") 1
0033 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\explode")
0034 SEND_VAL_EX string(",") 1
0035 SEND_VAR_EX CV3($forwardedFor) 2
0036 V11 = DO_FCALL_BY_NAME
0037 SEND_VAR_NO_REF_EX V11 2
0038 V11 = DO_FCALL_BY_NAME
0039 CV6($ipchain) = QM_ASSIGN V11
0040 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\array_reverse")
0041 SEND_VAR_EX CV6($ipchain) 1
0042 V11 = DO_FCALL_BY_NAME
0043 ASSIGN CV6($ipchain) V11
0044 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\array_unshift")
0045 SEND_VAR_EX CV6($ipchain) 1
0046 SEND_VAR_EX CV1($ip) 2
0047 DO_FCALL_BY_NAME
0048 V11 = FE_RESET_R CV6($ipchain) 0106
0049 T12 = FE_FETCH_R V11 CV7($curIP) 0106
0050 ASSIGN CV8($i) T12
0051 INIT_STATIC_METHOD_CALL 1 string("Wikimedia\\IPUtils") string("sanitizeIP")
0052 INIT_STATIC_METHOD_CALL 1 string("Wikimedia\\IPUtils") string("canonicalize")
0053 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("canonicalizeIPv6LoopbackAddress")
0054 SEND_VAR CV7($curIP) 1
0055 V12 = DO_FCALL
0056 SEND_VAR_NO_REF_EX V12 1
0057 V12 = DO_FCALL
0058 SEND_VAR_NO_REF_EX V12 1
0059 V12 = DO_FCALL
0060 ASSIGN CV7($curIP) V12
0061 JMPZ CV7($curIP) 0106
0062 T13 = ADD CV8($i) int(1)
0063 T12 = ISSET_ISEMPTY_DIM_OBJ (isset) CV6($ipchain) T13
0064 JMPZ T12 0106
0065 T12 = ADD CV8($i) int(1)
0066 T13 = FETCH_DIM_R CV6($ipchain) T12
0067 T12 = IS_IDENTICAL T13 string("unknown")
0068 JMPNZ T12 0106
0069 INIT_METHOD_CALL 1 CV4($proxyLookup) string("isTrustedProxy")
0070 SEND_VAR_EX CV7($curIP) 1
0071 V12 = DO_FCALL
0072 JMPZ V12 0106
0073 INIT_STATIC_METHOD_CALL 1 string("Wikimedia\\IPUtils") string("isPublic")
0074 CHECK_FUNC_ARG 1
0075 T13 = ADD CV8($i) int(1)
0076 V12 = FETCH_DIM_FUNC_ARG CV6($ipchain) T13
0077 SEND_FUNC_ARG V12 1
0078 V12 = DO_FCALL
0079 JMPNZ V12 0085
0080 JMPNZ CV0($wgUsePrivateIPs) 0085
0081 INIT_METHOD_CALL 1 CV4($proxyLookup) string("isConfiguredProxy")
0082 SEND_VAR_EX CV7($curIP) 1
0083 V12 = DO_FCALL
0084 JMPZ V12 0106
0085 T13 = ADD CV8($i) int(1)
0086 T12 = FETCH_DIM_R CV6($ipchain) T13
0087 ASSIGN CV9($nextIP) T12
0088 INIT_STATIC_METHOD_CALL 1 string("Wikimedia\\IPUtils") string("canonicalize")
0089 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("canonicalizeIPv6LoopbackAddress")
0090 SEND_VAR CV9($nextIP) 1
0091 V12 = DO_FCALL
0092 SEND_VAR_NO_REF_EX V12 1
0093 V12 = DO_FCALL
0094 ASSIGN CV9($nextIP) V12
0095 JMPNZ CV9($nextIP) 0104
0096 JMPZ CV5($isConfigured) 0104
0097 V12 = NEW 1 string("MWException")
0098 T14 = ROPE_INIT 3 string("Invalid IP given in XFF '")
0099 T14 = ROPE_ADD 1 T14 CV3($forwardedFor)
0100 T13 = ROPE_END 2 T14 string("'.")
0101 SEND_VAL_EX T13 1
0102 DO_FCALL
0103 THROW V12
0104 ASSIGN CV1($ip) CV9($nextIP)
0105 JMP 0049
0106 FE_FREE V11
0107 INIT_METHOD_CALL 0 CV2($services) string("getHookContainer")
0108 V11 = DO_FCALL
0109 CV10($hookContainer) = QM_ASSIGN V11
0110 INIT_METHOD_CALL 1 CV10($hookContainer) string("isRegistered")
0111 SEND_VAL_EX string("GetIP") 1
0112 V11 = DO_FCALL
0113 JMPZ V11 0120
0114 V11 = NEW 1 string("MediaWiki\\HookContainer\\HookRunner")
0115 SEND_VAR_EX CV10($hookContainer) 1
0116 DO_FCALL
0117 INIT_METHOD_CALL 1 V11 string("onGetIP")
0118 SEND_VAR_EX CV1($ip) 1
0119 DO_FCALL
0120 JMPNZ CV1($ip) 0125
0121 V11 = NEW 1 string("MWException")
0122 SEND_VAL_EX string("Unable to determine IP.") 1
0123 DO_FCALL
0124 THROW V11
0125 ASSIGN_OBJ THIS string("ip")
0126 OP_DATA CV1($ip)
0127 VERIFY_RETURN_TYPE CV1($ip)
0128 RETURN CV1($ip)
LIVE RANGES:
11: 0005 - 0006 (tmp/var)
11: 0012 - 0014 (new)
11: 0049 - 0106 (loop)
12: 0098 - 0103 (new)
14: 0098 - 0100 (rope)
11: 0115 - 0117 (new)
11: 0122 - 0124 (new)
MediaWiki\Request\WebRequest::canonicalizeIPv6LoopbackAddress:
; (lines=17, args=1, vars=1, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:1376-1382
0000 CV0($ip) = RECV 1
0001 JMP_FRAMELESS 8 string("mediawiki\\request\\preg_match") 0010
0002 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\preg_match")
0003 T1 = FETCH_CLASS_CONSTANT string("Wikimedia\\IPUtils") string("RE_IPV6_GAP")
0004 T2 = FAST_CONCAT string("/^0*") T1
0005 T1 = FAST_CONCAT T2 string("1$/")
0006 SEND_VAL_EX T1 1
0007 SEND_VAR_EX CV0($ip) 2
0008 V1 = DO_FCALL_BY_NAME
0009 JMP 0014
0010 T2 = FETCH_CLASS_CONSTANT string("Wikimedia\\IPUtils") string("RE_IPV6_GAP")
0011 T3 = FAST_CONCAT string("/^0*") T2
0012 T2 = FAST_CONCAT T3 string("1$/")
0013 V1 = FRAMELESS_ICALL_2(preg_match) T2 CV0($ip)
0014 JMPZ V1 0016
0015 RETURN string("127.0.0.1")
0016 RETURN CV0($ip)
MediaWiki\Request\WebRequest::setIP:
; (lines=4, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:1389-1391
0000 CV0($ip) = RECV 1
0001 ASSIGN_OBJ THIS string("ip")
0002 OP_DATA CV0($ip)
0003 RETURN null
MediaWiki\Request\WebRequest::hasSafeMethod:
; (lines=20, args=0, vars=0, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:1405-1411
0000 INIT_METHOD_CALL 1 THIS string("getServerInfo")
0001 SEND_VAL string("REQUEST_METHOD") 1
0002 V1 = DO_FCALL
0003 T0 = TYPE_CHECK (null) V1
0004 JMPZ T0 0006
0005 RETURN bool(false)
0006 JMP_FRAMELESS 24 string("mediawiki\\request\\in_array") 0015
0007 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\in_array")
0008 INIT_METHOD_CALL 1 THIS string("getServerInfo")
0009 SEND_VAL string("REQUEST_METHOD") 1
0010 V0 = DO_FCALL
0011 SEND_VAR_NO_REF_EX V0 1
0012 SEND_VAL_EX array(...) 2
0013 V0 = DO_FCALL_BY_NAME
0014 RETURN V0
0015 INIT_METHOD_CALL 1 THIS string("getServerInfo")
0016 SEND_VAL string("REQUEST_METHOD") 1
0017 V1 = DO_FCALL
0018 V0 = FRAMELESS_ICALL_2(in_array) V1 array(...)
0019 RETURN V0
MediaWiki\Request\WebRequest::isSafeRequest:
; (lines=13, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:1433-1440
0000 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\wfDeprecated")
0001 SEND_VAL_EX string("MediaWiki\\Request\\WebRequest::isSafeRequest") 1
0002 SEND_VAL_EX string("1.41") 2
0003 DO_FCALL_BY_NAME
0004 T0 = FETCH_OBJ_R THIS string("markedAsSafe")
0005 JMPZ T0 0010
0006 INIT_METHOD_CALL 0 THIS string("wasPosted")
0007 V0 = DO_FCALL
0008 JMPZ V0 0010
0009 RETURN bool(true)
0010 INIT_METHOD_CALL 0 THIS string("hasSafeMethod")
0011 V0 = DO_FCALL
0012 RETURN V0
MediaWiki\Request\WebRequest::markAsSafeRequest:
; (lines=7, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:1454-1457
0000 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\wfDeprecated")
0001 SEND_VAL_EX string("MediaWiki\\Request\\WebRequest::markAsSafeRequest") 1
0002 SEND_VAL_EX string("1.41") 2
0003 DO_FCALL_BY_NAME
0004 ASSIGN_OBJ THIS string("markedAsSafe")
0005 OP_DATA bool(true)
0006 RETURN null
MediaWiki\Request\WebRequest::matchURLForCDN:
; (lines=101, args=1, vars=11, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Request/WebRequest.php:1470-1504
0000 CV0($cdnUrls) = RECV 1
0001 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("getInstance")
0002 V11 = DO_FCALL
0003 CV1($services) = QM_ASSIGN V11
0004 INIT_METHOD_CALL 0 CV1($services) string("getUrlUtils")
0005 V11 = DO_FCALL
0006 INIT_METHOD_CALL 2 V11 string("expand")
0007 INIT_METHOD_CALL 0 THIS string("getRequestURL")
0008 V11 = DO_FCALL
0009 SEND_VAR_NO_REF_EX V11 1
0010 T11 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Request\\PROTO_INTERNAL")
0011 SEND_VAL_EX T11 2
0012 V11 = DO_FCALL
0013 CV2($reqUrl) = CAST (string) V11
0014 INIT_METHOD_CALL 0 CV1($services) string("getMainConfig")
0015 V11 = DO_FCALL
0016 CV3($config) = QM_ASSIGN V11
0017 INIT_METHOD_CALL 1 CV3($config) string("get")
0018 T11 = FETCH_CLASS_CONSTANT string("MediaWiki\\MainConfigNames") string("CdnMatchParameterOrder")
0019 SEND_VAL_EX T11 1
0020 V11 = DO_FCALL
0021 JMPZ V11 0032
0022 JMP_FRAMELESS 128 string("mediawiki\\request\\in_array") 0029
0023 INIT_NS_FCALL_BY_NAME 3 string("MediaWiki\\Request\\in_array")
0024 SEND_VAR_EX CV2($reqUrl) 1
0025 SEND_VAR_EX CV0($cdnUrls) 2
0026 SEND_VAL_EX bool(true) 3
0027 V11 = DO_FCALL_BY_NAME
0028 RETURN V11
0029 V11 = FRAMELESS_ICALL_3(in_array) CV2($reqUrl) CV0($cdnUrls)
0030 OP_DATA bool(true)
0031 RETURN V11
0032 INIT_NS_FCALL_BY_NAME 3 string("MediaWiki\\Request\\explode")
0033 SEND_VAL_EX string("?") 1
0034 SEND_VAR_EX CV2($reqUrl) 2
0035 SEND_VAL_EX int(2) 3
0036 V11 = DO_FCALL_BY_NAME
0037 CV4($reqUrlParts) = QM_ASSIGN V11
0038 CV5($reqUrlBase) = FETCH_DIM_R CV4($reqUrlParts) int(0)
0039 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\count")
0040 SEND_VAR_EX CV4($reqUrlParts) 1
0041 V12 = DO_FCALL_BY_NAME
0042 T11 = IS_IDENTICAL V12 int(2)
0043 JMPZ T11 0052
0044 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\explode")
0045 SEND_VAL_EX string("&") 1
0046 CHECK_FUNC_ARG 2
0047 V11 = FETCH_DIM_FUNC_ARG CV4($reqUrlParts) int(1)
0048 SEND_FUNC_ARG V11 2
0049 V12 = DO_FCALL_BY_NAME
0050 T11 = QM_ASSIGN V12
0051 JMP 0053
0052 T11 = QM_ASSIGN array(...)
0053 CV6($reqUrlParams) = QM_ASSIGN T11
0054 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\sort")
0055 SEND_VAR_EX CV6($reqUrlParams) 1
0056 DO_FCALL_BY_NAME
0057 V11 = FE_RESET_R CV0($cdnUrls) 0099
0058 FE_FETCH_R V11 CV7($cdnUrl) 0099
0059 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\strlen")
0060 SEND_VAR_EX CV2($reqUrl) 1
0061 V13 = DO_FCALL_BY_NAME
0062 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\strlen")
0063 SEND_VAR_EX CV7($cdnUrl) 1
0064 V14 = DO_FCALL_BY_NAME
0065 T12 = IS_NOT_IDENTICAL V13 V14
0066 JMPNZ T12 0058
0067 INIT_NS_FCALL_BY_NAME 3 string("MediaWiki\\Request\\explode")
0068 SEND_VAL_EX string("?") 1
0069 SEND_VAR_EX CV7($cdnUrl) 2
0070 SEND_VAL_EX int(2) 3
0071 V12 = DO_FCALL_BY_NAME
0072 ASSIGN CV8($cdnUrlParts) V12
0073 T12 = FETCH_DIM_R CV8($cdnUrlParts) int(0)
0074 ASSIGN CV9($cdnUrlBase) T12
0075 T12 = IS_NOT_IDENTICAL CV5($reqUrlBase) CV9($cdnUrlBase)
0076 JMPNZ T12 0058
0077 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\count")
0078 SEND_VAR_EX CV8($cdnUrlParts) 1
0079 V13 = DO_FCALL_BY_NAME
0080 T12 = IS_IDENTICAL V13 int(2)
0081 JMPZ T12 0090
0082 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Request\\explode")
0083 SEND_VAL_EX string("&") 1
0084 CHECK_FUNC_ARG 2
0085 V12 = FETCH_DIM_FUNC_ARG CV8($cdnUrlParts) int(1)
0086 SEND_FUNC_ARG V12 2
0087 V13 = DO_FCALL_BY_NAME
0088 T12 = QM_ASSIGN V13
0089 JMP 0091
0090 T12 = QM_ASSIGN array(...)
0091 ASSIGN CV10($cdnUrlParams) T12
0092 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Request\\sort")
0093 SEND_VAR_EX CV10($cdnUrlParams) 1
0094 DO_FCALL_BY_NAME
0095 T12 = IS_IDENTICAL CV6($reqUrlParams) CV10($cdnUrlParams)
0096 JMPZ T12 0058
0097 FE_FREE V11
0098 RETURN bool(true)
0099 FE_FREE V11
0100 RETURN bool(false)
LIVE RANGES:
11: 0058 - 0099 (loop)
13: 0062 - 0065 (tmp/var)
$_main:
; (lines=2, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/http/Telemetry.php:1-143
0000 DECLARE_CLASS string("mediawiki\\http\\telemetry")
0001 RETURN int(1)
MediaWiki\Http\Telemetry::__construct:
; (lines=7, args=2, vars=2, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/http/Telemetry.php:55-58
0000 CV0($server) = RECV 1
0001 CV1($allowExternalReqID) = RECV_INIT 2 null
0002 ASSIGN_OBJ THIS string("server")
0003 OP_DATA CV0($server)
0004 ASSIGN_OBJ THIS string("allowExternalReqID")
0005 OP_DATA CV1($allowExternalReqID)
0006 RETURN null
MediaWiki\Http\Telemetry::getInstance:
; (lines=13, args=0, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/http/Telemetry.php:60-67
0000 T1 = ISSET_ISEMPTY_STATIC_PROP (isset) string("instance") (self) (exception)
0001 JMPNZ T1 0010
0002 BIND_GLOBAL CV0($wgAllowExternalReqID) string("wgAllowExternalReqID")
0003 V1 = NEW 2 (self) (exception)
0004 V2 = FETCH_R (global) string("_SERVER")
0005 SEND_VAR V2 1
0006 SEND_VAR CV0($wgAllowExternalReqID) 2
0007 DO_FCALL
0008 ASSIGN_STATIC_PROP string("instance")
0009 OP_DATA V1
0010 T1 = FETCH_STATIC_PROP_R string("instance") (self) (exception)
0011 VERIFY_RETURN_TYPE T1
0012 RETURN T1
LIVE RANGES:
1: 0004 - 0008 (new)
1: 0011 - 0012 (tmp/var)
MediaWiki\Http\Telemetry::getRequestId:
; (lines=30, args=0, vars=1, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/http/Telemetry.php:77-90
0000 T1 = ISSET_ISEMPTY_PROP_OBJ (isset) THIS string("reqId")
0001 JMPNZ T1 0027
0002 T1 = FETCH_OBJ_R THIS string("allowExternalReqID")
0003 JMPZ T1 0017
0004 T1 = FETCH_OBJ_IS THIS string("server")
0005 T2 = FETCH_DIM_IS T1 string("HTTP_X_REQUEST_ID")
0006 T1 = COALESCE T2 0015
0007 T2 = FETCH_OBJ_IS THIS string("server")
0008 T3 = FETCH_DIM_IS T2 string("UNIQUE_ID")
0009 T2 = COALESCE T3 0014
0010 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Http\\wfRandomString")
0011 SEND_VAL_EX int(24) 1
0012 V3 = DO_FCALL_BY_NAME
0013 T2 = QM_ASSIGN V3
0014 T1 = QM_ASSIGN T2
0015 CV0($id) = QM_ASSIGN T1
0016 JMP 0025
0017 T1 = FETCH_OBJ_IS THIS string("server")
0018 T2 = FETCH_DIM_IS T1 string("UNIQUE_ID")
0019 T1 = COALESCE T2 0024
0020 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Http\\wfRandomString")
0021 SEND_VAL_EX int(24) 1
0022 V2 = DO_FCALL_BY_NAME
0023 T1 = QM_ASSIGN V2
0024 CV0($id) = QM_ASSIGN T1
0025 ASSIGN_OBJ THIS string("reqId")
0026 OP_DATA CV0($id)
0027 T1 = FETCH_OBJ_R THIS string("reqId")
0028 VERIFY_RETURN_TYPE T1
0029 RETURN T1
LIVE RANGES:
1: 0028 - 0029 (tmp/var)
MediaWiki\Http\Telemetry::overrideRequestId:
; (lines=4, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/http/Telemetry.php:98-100
0000 CV0($newId) = RECV 1
0001 ASSIGN_OBJ THIS string("reqId")
0002 OP_DATA CV0($newId)
0003 RETURN null
MediaWiki\Http\Telemetry::regenerateRequestId:
; (lines=3, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/http/Telemetry.php:107-109
0000 ASSIGN_OBJ THIS string("reqId")
0001 OP_DATA null
0002 RETURN null
MediaWiki\Http\Telemetry::getTracestate:
; (lines=11, args=0, vars=0, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/http/Telemetry.php:117-119
0000 T0 = FETCH_OBJ_R THIS string("allowExternalReqID")
0001 JMPZ T0 0008
0002 T1 = FETCH_OBJ_IS THIS string("server")
0003 T0 = FETCH_DIM_IS T1 string("HTTP_TRACESTATE")
0004 T1 = COALESCE T0 0006
0005 T1 = QM_ASSIGN null
0006 T0 = QM_ASSIGN T1
0007 JMP 0009
0008 T0 = QM_ASSIGN null
0009 VERIFY_RETURN_TYPE T0
0010 RETURN T0
LIVE RANGES:
0: 0009 - 0010 (tmp/var)
MediaWiki\Http\Telemetry::getTraceparent:
; (lines=11, args=0, vars=0, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/http/Telemetry.php:127-129
0000 T0 = FETCH_OBJ_R THIS string("allowExternalReqID")
0001 JMPZ T0 0008
0002 T1 = FETCH_OBJ_IS THIS string("server")
0003 T0 = FETCH_DIM_IS T1 string("HTTP_TRACEPARENT")
0004 T1 = COALESCE T0 0006
0005 T1 = QM_ASSIGN null
0006 T0 = QM_ASSIGN T1
0007 JMP 0009
0008 T0 = QM_ASSIGN null
0009 VERIFY_RETURN_TYPE T0
0010 RETURN T0
LIVE RANGES:
0: 0009 - 0010 (tmp/var)
MediaWiki\Http\Telemetry::getRequestHeaders:
; (lines=14, args=0, vars=0, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/http/Telemetry.php:135-141
0000 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Http\\array_filter")
0001 INIT_METHOD_CALL 0 THIS string("getTracestate")
0002 V1 = DO_FCALL
0003 T0 = INIT_ARRAY 3 V1 string("tracestate")
0004 INIT_METHOD_CALL 0 THIS string("getTraceparent")
0005 V1 = DO_FCALL
0006 T0 = ADD_ARRAY_ELEMENT V1 string("traceparent")
0007 INIT_METHOD_CALL 0 THIS string("getRequestId")
0008 V1 = DO_FCALL
0009 T0 = ADD_ARRAY_ELEMENT V1 string("X-Request-Id")
0010 SEND_VAL_EX T0 1
0011 V0 = DO_FCALL_BY_NAME
0012 VERIFY_RETURN_TYPE V0
0013 RETURN V0
LIVE RANGES:
0: 0004 - 0010 (tmp/var)
0: 0012 - 0013 (tmp/var)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/http/TelemetryHeadersInterface.php:1-18
0000 RETURN int(1)
$_main:
; (lines=2, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Source/ArraySource.php:1-25
0000 DECLARE_CLASS string("mediawiki\\settings\\source\\arraysource")
0001 RETURN int(1)
MediaWiki\Settings\Source\ArraySource::__construct:
; (lines=4, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Source/ArraySource.php:13-15
0000 CV0($settings) = RECV 1
0001 ASSIGN_OBJ THIS string("settings")
0002 OP_DATA CV0($settings)
0003 RETURN null
MediaWiki\Settings\Source\ArraySource::load:
; (lines=3, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Source/ArraySource.php:17-19
0000 T0 = FETCH_OBJ_R THIS string("settings")
0001 VERIFY_RETURN_TYPE T0
0002 RETURN T0
LIVE RANGES:
0: 0001 - 0002 (tmp/var)
MediaWiki\Settings\Source\ArraySource::__toString:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Source/ArraySource.php:21-23
0000 RETURN string("<array>")
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/at-ease/src/Wikimedia/AtEase/AtEase.php:1-82
0000 RETURN int(1)
Wikimedia\AtEase\AtEase::suppressWarnings:
; (lines=38, args=1, vars=1, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/at-ease/src/Wikimedia/AtEase/AtEase.php:32-55
0000 CV0($end) = RECV_INIT 1 bool(false)
0001 JMPZ CV0($end) 0013
0002 T1 = FETCH_STATIC_PROP_R string("suppressCount") (self) (exception)
0003 JMPZ T1 0037
0004 PRE_DEC_STATIC_PROP string("suppressCount")
0005 T1 = FETCH_STATIC_PROP_R string("suppressCount") (self) (exception)
0006 JMPNZ T1 0037
0007 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\AtEase\\error_reporting")
0008 CHECK_FUNC_ARG 1
0009 V1 = FETCH_STATIC_PROP_FUNC_ARG (ref) string("originalLevel") (self) (exception)
0010 SEND_FUNC_ARG V1 1
0011 DO_FCALL_BY_NAME
0012 RETURN null
0013 T1 = FETCH_STATIC_PROP_R string("suppressCount") (self) (exception)
0014 JMPNZ T1 0036
0015 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\AtEase\\error_reporting")
0016 T2 = FETCH_CONSTANT (unqualified-in-namespace) string("Wikimedia\\AtEase\\E_ALL")
0017 T1 = FETCH_CONSTANT (unqualified-in-namespace) string("Wikimedia\\AtEase\\E_WARNING")
0018 T4 = FETCH_CONSTANT (unqualified-in-namespace) string("Wikimedia\\AtEase\\E_NOTICE")
0019 T3 = BW_OR T1 T4
0020 T4 = FETCH_CONSTANT (unqualified-in-namespace) string("Wikimedia\\AtEase\\E_USER_WARNING")
0021 T1 = BW_OR T3 T4
0022 T4 = FETCH_CONSTANT (unqualified-in-namespace) string("Wikimedia\\AtEase\\E_USER_NOTICE")
0023 T3 = BW_OR T1 T4
0024 T4 = FETCH_CONSTANT (unqualified-in-namespace) string("Wikimedia\\AtEase\\E_DEPRECATED")
0025 T1 = BW_OR T3 T4
0026 T4 = FETCH_CONSTANT (unqualified-in-namespace) string("Wikimedia\\AtEase\\E_USER_DEPRECATED")
0027 T3 = BW_OR T1 T4
0028 T4 = FETCH_CONSTANT (unqualified-in-namespace) string("Wikimedia\\AtEase\\E_STRICT")
0029 T1 = BW_OR T3 T4
0030 T3 = BW_NOT T1
0031 T1 = BW_AND T2 T3
0032 SEND_VAL_EX T1 1
0033 V1 = DO_FCALL_BY_NAME
0034 ASSIGN_STATIC_PROP string("originalLevel")
0035 OP_DATA V1
0036 PRE_INC_STATIC_PROP string("suppressCount")
0037 RETURN null
LIVE RANGES:
2: 0017 - 0031 (tmp/var)
1: 0018 - 0019 (tmp/var)
3: 0020 - 0021 (tmp/var)
1: 0022 - 0023 (tmp/var)
3: 0024 - 0025 (tmp/var)
1: 0026 - 0027 (tmp/var)
3: 0028 - 0029 (tmp/var)
Wikimedia\AtEase\AtEase::restoreWarnings:
; (lines=4, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/at-ease/src/Wikimedia/AtEase/AtEase.php:60-62
0000 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("suppressWarnings")
0001 SEND_VAL bool(true) 1
0002 DO_UCALL
0003 RETURN null
Wikimedia\AtEase\AtEase::quietCall:
; (lines=15, args=1, vars=3, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/at-ease/src/Wikimedia/AtEase/AtEase.php:71-79
0000 CV0($callback) = RECV 1
0001 CV1($args) = RECV_VARIADIC 2
0002 INIT_STATIC_METHOD_CALL 0 (self) (exception) string("suppressWarnings")
0003 DO_UCALL
0004 INIT_DYNAMIC_CALL 0 CV0($callback)
0005 SEND_UNPACK CV1($args)
0006 CHECK_UNDEF_ARGS
0007 V4 = DO_FCALL
0008 ASSIGN CV2($rv) V4
0009 T3 = FAST_CALL 0011
0010 JMP 0014
0011 INIT_STATIC_METHOD_CALL 0 (self) (exception) string("restoreWarnings")
0012 DO_UCALL
0013 FAST_RET T3
0014 RETURN CV2($rv)
EXCEPTION TABLE:
0004, -, 0011, 0013
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/config-schema.php:1-3401
0000 RETURN array(...)
---- TRACE 1 start (loop) MediaWiki\Settings\Config\GlobalConfigBuilder::setMulti() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/GlobalConfigBuilder.php:48
0003 T8 = FE_FETCH_R V7 CV2($newValue) 0034 ; op1(array) op2(bool)
0004 ASSIGN CV3($key) T8 ; op1(string) op2(string)
0005 T9 = FETCH_OBJ_R THIS string("prefix") ; val(string)
0006 T8 = CONCAT T9 CV3($key) ; op1(string) op2(string)
0007 ASSIGN CV4($var) T8 ; op1(string) op2(string)
0008 T8 = ISSET_ISEMPTY_VAR (global) (isset) CV4($var) ; op1(string)
0009 ;JMPZ T8 0031
0031 V8 = FETCH_W (global) CV4($var) ; op1(string)
0032 ASSIGN V8 CV2($newValue) ; op1(*null) op2(array)
0033 JMP 0003
---- TRACE 1 stop (loop)
---- TRACE 1 TSSA start (loop) MediaWiki\Settings\Config\GlobalConfigBuilder::setMulti() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/GlobalConfigBuilder.php:48
;#2.CV2($newValue) NOVAL [undef, ref, rc1, rcn, any]
;#3.CV3($key) NOVAL [undef, rc1, rcn, long, string]
;#4.CV4($var) NOVAL [undef, rc1, rcn, string]
;#7.X7 [rc1, rcn, ![empty, hash] array of [any, ref]]
LOOP:
;#10.CV2($newValue) NOVAL [undef, ref, rc1, rcn, any] = Phi(#2.CV2($newValue) NOVAL [undef, ref, rc1, rcn, any], #21.CV2($newValue) NOVAL [ref, rc1, rcn, any])
;#11.CV3($key) NOVAL [undef, rc1, rcn, long, string] = Phi(#3.CV3($key) NOVAL [undef, rc1, rcn, long, string], #15.CV3($key) [rc1, rcn, string])
;#12.CV4($var) NOVAL [undef, rc1, rcn, string] = Phi(#4.CV4($var) NOVAL [undef, rc1, rcn, string], #18.CV4($var) [rc1, rcn, string])
0003 #14.T8 [!rcn, string] = FE_FETCH_R #7.V7 [rc1, rcn, ![empty, hash] array of [any, ref]] #10.CV2($newValue) NOVAL [undef, ref, rc1, rcn, any] -> #13.CV2($newValue) [ref, rc1, rcn, any] 0034 ; op1(array) op2(bool)
0004 ASSIGN #11.CV3($key) NOVAL [undef, rc1, rcn, long, string] -> #15.CV3($key) [rc1, rcn, string] #14.T8 [!rcn, string] ; op1(string) op2(string)
0005 #16.T9 [!rcn, string] = FETCH_OBJ_R THIS string("prefix") ; val(string)
0006 #17.T8 [rc1, rcn, string] = CONCAT #16.T9 [!rcn, string] #15.CV3($key) [rc1, rcn, string] ; op1(string) op2(string)
0007 ASSIGN #12.CV4($var) NOVAL [undef, rc1, rcn, string] -> #18.CV4($var) [rc1, rcn, string] #17.T8 [rc1, rcn, string] ; op1(string) op2(string)
0008 #19.T8 [bool] = ISSET_ISEMPTY_VAR (global) (isset) #18.CV4($var) [rc1, rcn, string] ; op1(string)
0009 ;JMPZ #19.T8 [bool] 0031
0031 #20.V8 NOVAL [ind, ref, rc1, rcn, any] = FETCH_W (global) #18.CV4($var) [rc1, rcn, string] ; op1(string)
0032 ASSIGN #20.V8 NOVAL [ind, ref, rc1, rcn, any] #13.CV2($newValue) [ref, rc1, rcn, any] -> #21.CV2($newValue) NOVAL [ref, rc1, rcn, any] ; op1(*null) op2(array)
0033 JMP 0003
---- TRACE 1 TSSA stop (loop)
TRACE-1$MediaWiki\Settings\Config\GlobalConfigBuilder::setMulti$48:
48000b90: endbr64
48000b94: subq $0x30, %rsp
48000b98: movabsq $EG(jit_trace_num), %rax
48000ba2: movl $1, (%rax)
48000ba8: movq 0xc0(%r14), %rax
48000baf: testl $4, 8(%rax)
48000bb6: je .L11
48000bbc: jmp jit$$trace_exit_0
.L1:
48000bc1: addl $1, (%rax)
48000bc4: movl $0x106, 0xd8(%r14)
48000bcf: jmp .L3
48000bd1: nop
48000bd2: nop
48000bd3: nop
48000bd4: nop
48000bd5: nop
48000bd6: nop
48000bd7: nop
48000bd8: nop
48000bd9: nop
48000bda: nop
48000bdb: nop
48000bdc: nop
48000bdd: nop
48000bde: nop
48000bdf: nop
.L2:
48000be0: movq 0x10(%rcx), %rax
48000be4: movq %rax, 0xd0(%r14)
48000beb: movl $4, 0xd8(%r14)
.L3:
48000bf6: leaq 0x70(%r14), %rax
48000bfa: cmpb $0xa, 0x78(%r14)
48000bff: jne .L4
48000c01: movq (%rax), %rdi
48000c04: cmpq $0, 0x18(%rdi)
48000c09: jne .L20
48000c0f: leaq 8(%rdi), %rax
.L4:
48000c13: cmpb $0, 9(%rax)
48000c17: jne .L17
48000c1d: cmpb $0xa, 8(%rcx)
48000c21: jne .L5
48000c23: movq (%rcx), %rcx
48000c26: leaq 8(%rcx), %rcx
.L5:
48000c2a: movq (%rcx), %rdx
48000c2d: movq %rdx, (%rax)
48000c30: movl 8(%rcx), %ecx
48000c33: movl %ecx, 8(%rax)
48000c36: testb %ch, %ch
48000c38: je .L6
48000c3a: addl $1, (%rdx)
.L6:
48000c3d: cmpb $6, 0xd8(%r14)
48000c45: jne jit$$trace_exit_2
48000c4b: cmpb $0, 0x89(%r14)
48000c53: jne .L14
48000c59: movq 0xd0(%r14), %rax
48000c60: movq %rax, 0x80(%r14)
48000c67: movl 0xd8(%r14), %eax
48000c6e: movl %eax, 0x88(%r14)
.L7:
48000c75: movq 0x20(%r14), %rax
48000c79: leaq 0x28(%rax), %rcx
48000c7d: movb 0x30(%rax), %al
48000c81: cmpb $6, %al
48000c85: jne .L16
.L8:
48000c8b: movq (%rcx), %rax
48000c8e: movq %rax, 0xe0(%r14)
48000c95: movl 8(%rcx), %ecx
48000c98: movl %ecx, 0xe8(%r14)
48000c9f: testb %ch, %ch
48000ca1: je .L9
48000ca3: addl $1, (%rax)
.L9:
48000ca6: leaq 0xd0(%r14), %rdi
48000cad: leaq 0xe0(%r14), %rsi
48000cb4: leaq 0x80(%r14), %rdx
48000cbb: movabsq $zend_jit_fast_concat_tmp_helper, %rax
48000cc5: callq *%rax
48000cc7: cmpb $0, 0x99(%r14)
48000ccf: jne .L15
48000cd5: movq 0xd0(%r14), %rax
48000cdc: movq %rax, 0x90(%r14)
48000ce3: movl 0xd8(%r14), %eax
48000cea: movl %eax, 0x98(%r14)
.L10:
48000cf1: addq $0xa0, %r15
48000cf8: movabsq $0x555556d3a0d0, %rax
48000d02: callq *%rax
48000d04: cmpl $0x409d19b8, %r15d
48000d0b: jne jit$$trace_exit_5
48000d11: movabsq $0x555556d32d50, %rax
48000d1b: callq *%rax
48000d1d: movabsq $EG(exception), %rax
48000d27: movq (%rax), %rax
48000d2a: testq %rax, %rax
48000d2d: jne JIT$$exception_handler
48000d33: movabsq $0x555556ccb2ff, %rax
48000d3d: callq *%rax
48000d3f: movabsq $EG(exception), %rax
48000d49: movq (%rax), %rax
48000d4c: testq %rax, %rax
48000d4f: jne JIT$$exception_handler
48000d55: subq $0x3c0, %r15
48000d5c: movabsq $EG(vm_interrupt), %rax
48000d66: movb (%rax), %al
48000d69: testb %al, %al
48000d6c: jne JIT$$interrupt_handler
.L11:
48000d72: movq 0xc0(%r14), %rax
48000d79: movl 0xcc(%r14), %esi
48000d80: movl %esi, %ecx
48000d82: shlq $5, %rcx
48000d86: addq 0x10(%rax), %rcx
48000d8a: jmp .L13
48000d8c: nop
48000d8d: nop
48000d8e: nop
48000d8f: nop
.L12:
48000d90: leaq 0x20(%rcx), %rcx
.L13:
48000d94: cmpl 0x18(%rax), %esi
48000d97: jae jit$$trace_exit_1
48000d9d: leal 1(%rsi), %esi
48000da0: cmpb $0, 8(%rcx)
48000da4: je .L12
48000da6: movl %esi, 0xcc(%r14)
48000dad: movq 0x18(%rcx), %rax
48000db1: testq %rax, %rax
48000db4: je .L2
48000dba: movq %rax, 0xd0(%r14)
48000dc1: testl $0x40, 4(%rax)
48000dc8: je .L1
48000dce: movl $6, 0xd8(%r14)
48000dd9: jmp .L3
.L14:
48000dde: movq 0x80(%r14), %rdi
48000de5: movq 0xd0(%r14), %rax
48000dec: movq %rax, 0x80(%r14)
48000df3: movl 0xd8(%r14), %eax
48000dfa: movl %eax, 0x88(%r14)
48000e01: subl $1, (%rdi)
48000e04: jne .L7
48000e0a: movq $0x409d1658, (%r14)
48000e11: movabsq $rc_dtor_func, %rax
48000e1b: callq *%rax
48000e1d: jmp .L7
.L15:
48000e22: movq 0x90(%r14), %rdi
48000e29: movq 0xd0(%r14), %rax
48000e30: movq %rax, 0x90(%r14)
48000e37: movl 0xd8(%r14), %eax
48000e3e: movl %eax, 0x98(%r14)
48000e45: subl $1, (%rdi)
48000e48: jne .L10
48000e4e: movq $0x409d16b8, (%r14)
48000e55: movabsq $rc_dtor_func, %rax
48000e5f: callq *%rax
48000e61: jmp .L10
.L16:
48000e66: cmpb $0xa, %al
48000e6a: jne jit$$trace_exit_3
48000e70: movq (%rcx), %rax
48000e73: leaq 8(%rax), %rcx
48000e77: cmpb $6, 0x10(%rax)
48000e7b: je .L8
48000e81: jmp jit$$trace_exit_4
.L17:
48000e86: movq (%rax), %rdi
48000e89: cmpb $0xa, 8(%rcx)
48000e8d: jne .L18
48000e8f: movq (%rcx), %rcx
48000e92: leaq 8(%rcx), %rcx
.L18:
48000e96: movq (%rcx), %rdx
48000e99: movq %rdx, (%rax)
48000e9c: movl 8(%rcx), %ecx
48000e9f: movl %ecx, 8(%rax)
48000ea2: testb %ch, %ch
48000ea4: je .L19
48000ea6: addl $1, (%rdx)
.L19:
48000ea9: subl $1, (%rdi)
48000eac: jne .L21
48000eae: movq %r15, (%r14)
48000eb1: movabsq $rc_dtor_func, %rax
48000ebb: callq *%rax
48000ebd: movabsq $EG(exception), %rax
48000ec7: movq (%rax), %rax
48000eca: testq %rax, %rax
48000ecd: je .L6
48000ed3: jmp JIT$$exception_handler
.L20:
48000ed8: movq %r15, (%r14)
48000edb: movq %rcx, %rsi
48000ede: movabsq $zend_jit_assign_cv_to_typed_ref, %rax
48000ee8: callq *%rax
48000eea: movabsq $EG(exception), %rax
48000ef4: movq (%rax), %rax
48000ef7: testq %rax, %rax
48000efa: je .L6
48000f00: jmp JIT$$exception_handler
.L21:
48000f05: testl $0xfffffc10, 4(%rdi)
48000f0c: jne .L6
48000f12: movabsq $gc_possible_root, %rax
48000f1c: callq *%rax
48000f1e: jmp .L6
---- TRACE 1 exit info
exit_0: 0003/0000/8 X7:array
exit_1: 0034/0008/8 X7:array
exit_2: 0004/0016/8 X7:array
exit_3: 0006/0024/10 CV3($key):string X7:array X8:string X9:unknown(zval_copy(rcx))
exit_4: 0006/0034/10 CV3($key):string X7:array X8:string X9:unknown(zval_copy(rcx))
exit_5: 0010/0044/10 CV3($key):string CV4($var):string X7:array X8:string X9:string
---- TRACE 1 compiled
TRACE 1 exit 1 MediaWiki\Settings\Config\GlobalConfigBuilder::setMulti() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/GlobalConfigBuilder.php:48
TRACE 1 exit 1 MediaWiki\Settings\Config\GlobalConfigBuilder::setMulti() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/GlobalConfigBuilder.php:48
---- TRACE 2 start (loop) MediaWiki\Settings\Config\ConfigSchemaAggregator::initMergeStrategies() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:378
0011 T8 = FE_FETCH_R V7 CV4($type) 0019 ; op1(array) op2(string)
0012 ASSIGN CV5($key) T8 ; op1(string) op2(string)
0013 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("getStrategyForType")
>init MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType
0014 SEND_VAR CV4($type) 1 ; op1(string)
0015 V8 = DO_FCALL
>enter MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType
0001 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Config\\is_array")
>init is_array
0002 SEND_VAR_EX CV0($type) 1 ; op1(string)
0003 V1 = DO_FCALL_BY_NAME
>call is_array
0004 JMPZ V1 0024 ; op1(bool)
0024 T1 = IS_IDENTICAL CV0($type) string("array") ; op1(string)
0025 ;JMPZ T1 0027
0027 T1 = IS_IDENTICAL CV0($type) string("object") ; op1(string)
0028 ;JMPZ T1 0030
0029 RETURN string("array_plus")
<back MediaWiki\Settings\Config\ConfigSchemaAggregator::initMergeStrategies
0016 ASSIGN_DIM CV2($strategyNamesByKey) CV5($key) ; op1(array) op2(string) op3(string) val(undef)
0017 ;OP_DATA V8
0018 JMP 0011
---- TRACE 2 stop (loop)
---- TRACE 2 TSSA start (loop) MediaWiki\Settings\Config\ConfigSchemaAggregator::initMergeStrategies() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:378
;#2.CV2($strategyNamesByKey) [!rc1, rcn, array of [any, ref]]
;#4.CV4($type) NOVAL [undef, rc1, rcn, any]
;#5.CV5($key) NOVAL [undef, rc1, rcn, any]
;#7.X7 [!rc1, rcn, ![empty, hash] array of [any, ref]]
LOOP:
;#9.CV2($strategyNamesByKey) [rc1, rcn, array of [any, ref]] = Phi(#2.CV2($strategyNamesByKey) [!rc1, rcn, array of [any, ref]], #22.CV2($strategyNamesByKey) [rc1, array of [any, ref]])
;#10.CV4($type) NOVAL [undef, rc1, rcn, any] = Phi(#4.CV4($type) NOVAL [undef, rc1, rcn, any], #15.CV4($type) NOVAL [rc1, rcn, string])
;#11.CV5($key) NOVAL [undef, rc1, rcn, any] = Phi(#5.CV5($key) NOVAL [undef, rc1, rcn, any], #14.CV5($key) [rc1, rcn, string])
0011 #13.T8 [!rcn, string] = FE_FETCH_R #7.V7 [!rc1, rcn, ![empty, hash] array of [any, ref]] #10.CV4($type) NOVAL [undef, rc1, rcn, any] -> #12.CV4($type) [!rc1, rcn, string] 0019 ; op1(array) op2(string)
0012 ASSIGN #11.CV5($key) NOVAL [undef, rc1, rcn, any] -> #14.CV5($key) [rc1, rcn, string] #13.T8 [!rcn, string] ; op1(string) op2(string)
0013 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("getStrategyForType")
>init MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType
0014 SEND_VAR #12.CV4($type) [!rc1, rcn, string] -> #15.CV4($type) NOVAL [rc1, rcn, string] 1 ; op1(string)
0015 #16.V8 [rcn, string] = DO_FCALL
>enter MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType
;#17.CV0($type) [rc1, rcn, string]
0001 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Config\\is_array")
>init is_array
0002 SEND_VAR_EX #17.CV0($type) [rc1, rcn, string] -> #18.CV0($type) [rc1, rcn, string] 1 ; op1(string)
0003 #19.V1 [!false] = DO_FCALL_BY_NAME
>call is_array
0004 JMPZ #19.V1 [!false] 0024 ; op1(bool)
0024 #20.T1 [bool] = IS_IDENTICAL #18.CV0($type) [rc1, rcn, string] string("array") ; op1(string)
0025 ;JMPZ #20.T1 [bool] 0027
0027 #21.T1 [bool] = IS_IDENTICAL #18.CV0($type) [rc1, rcn, string] string("object") ; op1(string)
0028 ;JMPZ #21.T1 [bool] 0030
0029 RETURN string("array_plus")
<back MediaWiki\Settings\Config\ConfigSchemaAggregator::initMergeStrategies
0016 ASSIGN_DIM #9.CV2($strategyNamesByKey) [rc1, rcn, array of [any, ref]] -> #22.CV2($strategyNamesByKey) [rc1, array of [any, ref]] #14.CV5($key) [rc1, rcn, string] ; op1(array) op2(string) op3(string) val(undef)
0017 ;OP_DATA #16.V8 [rcn, string]
0018 JMP 0011
---- TRACE 2 TSSA stop (loop)
TRACE-2$MediaWiki\Settings\Config\ConfigSchemaAggregator::initMergeStrategies$378:
48000f30: endbr64
48000f34: subq $0x30, %rsp
48000f38: movabsq $EG(jit_trace_num), %rax
48000f42: movl $2, (%rax)
48000f48: cmpb $7, 0x78(%r14)
48000f4d: jne jit$$trace_exit_0
48000f53: cmpb $7, 0xc8(%r14)
48000f5b: jne jit$$trace_exit_1
48000f61: movq 0xc0(%r14), %rax
48000f68: testl $4, 8(%rax)
48000f6f: je .L16
48000f75: jmp jit$$trace_exit_2
.L1:
48000f7a: addl $1, (%rax)
48000f7d: movl $0x106, 0xd8(%r14)
48000f88: jmp .L3
48000f8a: nop
48000f8b: nop
48000f8c: nop
48000f8d: nop
48000f8e: nop
48000f8f: nop
.L2:
48000f90: movq 0x10(%rdx), %rax
48000f94: movq %rax, 0xd0(%r14)
48000f9b: movl $4, 0xd8(%r14)
.L3:
48000fa6: cmpb $0, 0x99(%r14)
48000fae: jne .L22
48000fb4: cmpb $0xa, 8(%rdx)
48000fb8: jne .L4
48000fba: movq (%rdx), %rax
48000fbd: leaq 8(%rax), %rdx
.L4:
48000fc1: movq (%rdx), %rax
48000fc4: movq %rax, 0x90(%r14)
48000fcb: movl 8(%rdx), %ecx
48000fce: movl %ecx, 0x98(%r14)
48000fd5: testb %ch, %ch
48000fd7: je .L5
48000fd9: addl $1, (%rax)
.L5:
48000fdc: cmpb $6, 0xd8(%r14)
48000fe4: jne jit$$trace_exit_4
48000fea: cmpb $0, 0xa9(%r14)
48000ff2: jne .L21
48000ff8: movq 0xd0(%r14), %rax
48000fff: movq %rax, 0xa0(%r14)
48001006: movl 0xd8(%r14), %eax
4800100d: movl %eax, 0xa8(%r14)
.L6:
48001014: addq $0x40, %r15
48001018: movabsq $0x555556cdaa2f, %rax
48001022: callq *%rax
48001024: movabsq $EG(exception), %rax
4800102e: movq (%rax), %rax
48001031: testq %rax, %rax
48001034: jne JIT$$exception_handler
4800103a: movq 8(%r14), %rax
4800103e: cmpq $0x409f3d00, 0x18(%rax)
48001046: jne jit$$trace_exit_5
4800104c: cmpb $6, 0x98(%r14)
48001054: jne jit$$trace_exit_6
4800105a: movq %rax, %r15
4800105d: movq 0x90(%r14), %rax
48001064: movq %rax, 0x50(%r15)
48001068: movl 0x98(%r14), %ecx
4800106f: movl %ecx, 0x58(%r15)
48001073: testb %ch, %ch
48001075: je .L7
48001077: addl $1, (%rax)
.L7:
4800107a: movq $0x409e2d88, (%r14)
48001081: movq $0, 8(%r14)
48001089: movq %r14, 0x30(%r15)
4800108d: movq $0, 8(%r15)
48001095: leaq 0xd0(%r14), %rax
4800109c: movq %rax, 0x10(%r15)
480010a0: movabsq $CG(map_ptr_base), %rax
480010aa: movq (%rax), %rax
480010ad: movq 0x81a9(%rax), %rax
480010b4: movq %rax, 0x40(%r15)
480010b8: movabsq $EG(current_execute_data), %rax
480010c2: movq %r15, (%rax)
480010c5: movq %r15, %r14
480010c8: movq 0x40(%r14), %rax
480010cc: leaq 8(%rax), %rsi
480010d0: movq (%rsi), %rax
480010d3: testq %rax, %rax
480010d6: je .L20
.L8:
480010dc: movabsq $EG(vm_stack_top), %rcx
480010e6: movq (%rcx), %rcx
480010e9: movq %rcx, %r15
480010ec: movabsq $EG(vm_stack_end), %rcx
480010f6: movq (%rcx), %rcx
480010f9: subq %r15, %rcx
480010fc: cmpq $0x60, %rcx
48001100: jb jit$$trace_exit_8
48001106: leaq 0x60(%r15), %rcx
4800110a: movabsq $EG(vm_stack_top), %rdx
48001114: movq %rcx, (%rdx)
48001117: movl $0, 0x28(%r15)
4800111f: movq %rax, 0x18(%r15)
48001123: movq $0, 0x20(%r15)
4800112b: movl $1, 0x2c(%r15)
48001133: movq 0x50(%r14), %rax
48001137: movq %rax, 0x50(%r15)
4800113b: movl 0x58(%r14), %ecx
4800113f: movl %ecx, 0x58(%r15)
48001143: testb %ch, %ch
48001145: je .L9
48001147: addl $1, (%rax)
.L9:
4800114a: movq $0x409e3328, (%r14)
48001151: movq %r14, 0x30(%r15)
48001155: movabsq $EG(current_execute_data), %rax
4800115f: movq %r15, (%rax)
48001162: movl $1, 0x68(%r14)
4800116a: leaq 0x60(%r14), %rsi
4800116e: movq %r15, %rdi
48001171: movabsq $0x555556776ae4, %rax
4800117b: callq *%rax
4800117d: movabsq $EG(current_execute_data), %rax
48001187: movq %r14, (%rax)
4800118a: cmpb $0, 0x59(%r15)
4800118f: je .L10
48001191: movq 0x50(%r15), %rdi
48001195: subl $1, (%rdi)
48001198: jne .L10
4800119a: movq $0x409e3328, (%r14)
480011a1: movabsq $rc_dtor_func, %rax
480011ab: callq *%rax
.L10:
480011ad: movabsq $EG(vm_stack_top), %rax
480011b7: movq %r15, (%rax)
480011ba: movabsq $EG(exception), %rax
480011c4: movq (%rax), %rax
480011c7: testq %rax, %rax
480011ca: jne JIT$$icall_throw
480011d0: movabsq $EG(vm_interrupt), %rax
480011da: movb (%rax), %al
480011dd: testb %al, %al
480011e0: jne jit$$trace_exit_9
480011e6: cmpb $2, 0x68(%r14)
480011eb: jne jit$$trace_exit_10
480011f1: leaq 0x50(%r14), %rdi
480011f5: movl $0x409e3278, %esi
480011fa: movabsq $zend_is_identical, %rax
48001204: callq *%rax
48001206: testb %al, %al
48001209: jne jit$$trace_exit_11
4800120f: leaq 0x50(%r14), %rdi
48001213: movl $0x409e3288, %esi
48001218: movabsq $zend_is_identical, %rax
48001222: callq *%rax
48001224: testb %al, %al
48001227: je jit$$trace_exit_12
4800122d: movq 0x10(%r14), %rax
48001231: movq $0x4034cda8, (%rax)
48001238: movl $6, 8(%rax)
4800123f: movq 0x30(%r14), %rax
48001243: movabsq $EG(current_execute_data), %rcx
4800124d: movq %rax, (%rcx)
48001250: cmpb $0, 0x59(%r14)
48001255: je .L11
48001257: movq 0x50(%r14), %rdi
4800125b: subl $1, (%rdi)
4800125e: jne .L11
48001260: movabsq $rc_dtor_func, %rax
4800126a: callq *%rax
.L11:
4800126c: testl $0x89e0000, 0x28(%r14)
48001274: jne .L19
4800127a: movabsq $EG(vm_stack_top), %rax
48001284: movq %r14, (%rax)
48001287: movq 0x30(%r14), %r14
.L12:
4800128b: leaq 0x70(%r14), %rdi
4800128f: movq (%rdi), %rax
48001292: cmpl $1, (%rax)
48001295: je .L13
48001297: movabsq $zend_jit_zval_array_dup, %rax
480012a1: callq *%rax
.L13:
480012a3: movq 0xa0(%r14), %rsi
480012aa: movq %rax, %rdi
480012ad: movabsq $zend_jit_symtable_lookup_w, %rax
480012b7: callq *%rax
480012b9: cmpb $0xa, 8(%rax)
480012bd: jne .L14
480012bf: movq (%rax), %rdi
480012c2: cmpq $0, 0x18(%rdi)
480012c7: jne .L26
480012cd: leaq 8(%rdi), %rax
.L14:
480012d1: cmpb $0, 9(%rax)
480012d5: jne .L25
480012db: movq 0xd0(%r14), %rcx
480012e2: movq %rcx, (%rax)
480012e5: movl 0xd8(%r14), %ecx
480012ec: movl %ecx, 8(%rax)
.L15:
480012ef: movabsq $EG(exception), %rax
480012f9: movq (%rax), %rax
480012fc: testq %rax, %rax
480012ff: jne JIT$$exception_handler
48001305: movl $0x409e2d08, %r15d
4800130b: movabsq $EG(vm_interrupt), %rax
48001315: movb (%rax), %al
48001318: testb %al, %al
4800131b: jne JIT$$interrupt_handler
.L16:
48001321: movq 0xc0(%r14), %rax
48001328: movl 0xcc(%r14), %ecx
4800132f: movl %ecx, %edx
48001331: shlq $5, %rdx
48001335: addq 0x10(%rax), %rdx
48001339: jmp .L18
4800133b: nop
4800133c: nop
4800133d: nop
4800133e: nop
4800133f: nop
.L17:
48001340: leaq 0x20(%rdx), %rdx
.L18:
48001344: cmpl 0x18(%rax), %ecx
48001347: jae jit$$trace_exit_3
4800134d: leal 1(%rcx), %ecx
48001350: cmpb $0, 8(%rdx)
48001354: je .L17
48001356: movl %ecx, 0xcc(%r14)
4800135d: movq 0x18(%rdx), %rax
48001361: testq %rax, %rax
48001364: je .L2
4800136a: movq %rax, 0xd0(%r14)
48001371: testl $0x40, 4(%rax)
48001378: je .L1
4800137e: movl $6, 0xd8(%r14)
48001389: jmp .L3
.L19:
4800138e: movabsq $zend_jit_leave_func_helper, %rax
48001398: callq *%rax
4800139a: jmp .L12
.L20:
4800139f: movl $0x409e3208, %edi
480013a4: movabsq $zend_jit_find_ns_func_helper, %rax
480013ae: callq *%rax
480013b0: movabsq $0x50e0000668e0, %rcx
480013ba: cmpq %rcx, %rax
480013bd: je .L8
480013c3: jmp jit$$trace_exit_7
.L21:
480013c8: movq 0xa0(%r14), %rdi
480013cf: movq 0xd0(%r14), %rax
480013d6: movq %rax, 0xa0(%r14)
480013dd: movl 0xd8(%r14), %eax
480013e4: movl %eax, 0xa8(%r14)
480013eb: subl $1, (%rdi)
480013ee: jne .L27
480013f4: movq $0x409e2d28, (%r14)
480013fb: movabsq $rc_dtor_func, %rax
48001405: callq *%rax
48001407: movabsq $EG(exception), %rax
48001411: movq (%rax), %rax
48001414: testq %rax, %rax
48001417: je .L6
4800141d: jmp JIT$$exception_handler
.L22:
48001422: movq 0x90(%r14), %rdi
48001429: cmpb $0xa, 8(%rdx)
4800142d: jne .L23
4800142f: movq (%rdx), %rax
48001432: leaq 8(%rax), %rdx
.L23:
48001436: movq (%rdx), %rax
48001439: movq %rax, 0x90(%r14)
48001440: movl 8(%rdx), %ecx
48001443: movl %ecx, 0x98(%r14)
4800144a: testb %ch, %ch
4800144c: je .L24
4800144e: addl $1, (%rax)
.L24:
48001451: subl $1, (%rdi)
48001454: jne .L28
4800145a: movq %r15, (%r14)
4800145d: movabsq $rc_dtor_func, %rax
48001467: callq *%rax
48001469: movabsq $EG(exception), %rax
48001473: movq (%rax), %rax
48001476: testq %rax, %rax
48001479: je .L5
4800147f: jmp JIT$$exception_handler
.L25:
48001484: movq (%rax), %rdi
48001487: movq 0xd0(%r14), %rcx
4800148e: movq %rcx, (%rax)
48001491: movl 0xd8(%r14), %ecx
48001498: movl %ecx, 8(%rax)
4800149b: subl $1, (%rdi)
4800149e: jne .L29
480014a0: movq $0x409e2da8, (%r14)
480014a7: movabsq $rc_dtor_func, %rax
480014b1: callq *%rax
480014b3: jmp .L15
.L26:
480014b8: movq $0x409e2da8, (%r14)
480014bf: leaq 0xd0(%r14), %rsi
480014c6: movabsq $zend_jit_assign_var_to_typed_ref, %rax
480014d0: callq *%rax
480014d2: jmp .L15
.L27:
480014d7: testl $0xfffffc10, 4(%rdi)
480014de: jne .L6
480014e4: movabsq $gc_possible_root, %rax
480014ee: callq *%rax
480014f0: jmp .L6
.L28:
480014f5: testl $0xfffffc10, 4(%rdi)
480014fc: jne .L5
48001502: movabsq $gc_possible_root, %rax
4800150c: callq *%rax
4800150e: jmp .L5
.L29:
48001513: testl $0xfffffc10, 4(%rdi)
4800151a: jne .L15
48001520: movabsq $gc_possible_root, %rax
4800152a: callq *%rax
4800152c: jmp .L15
---- TRACE 2 exit info
exit_0: 0011/----/0
exit_1: 0011/0000/3 CV2($strategyNamesByKey):array
exit_2: 0011/0003/8 CV2($strategyNamesByKey):array X7:array
exit_3: 0019/0011/8 CV2($strategyNamesByKey):array X7:array
exit_4: 0012/0019/8 CV2($strategyNamesByKey):array X7:array
exit_5: 0014/0027/9/POLY CV2($strategyNamesByKey):array CV5($key):string X7:array X8:string
exit_6: 0014/0036/9 CV2($strategyNamesByKey):array CV5($key):string X7:array X8:string
exit_7: 0001/0045/1 CV0($type):string
exit_8: 0001/0046/1/VM CV0($type):string
exit_9: 0004/0047/1/VM CV0($type):string
exit_10: 0004/0048/1 CV0($type):string
exit_11: 0026/0049/2 CV0($type):string X1:bool
exit_12: 0030/0051/1 CV0($type):string
---- TRACE 2 compiled
TRACE 2 exit 12 MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:419
TRACE 2 exit 12 MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:419
TRACE 2 exit 11 MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:412
TRACE 2 exit 11 MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:412
TRACE 2 exit 6 MediaWiki\Settings\Config\ConfigSchemaAggregator::initMergeStrategies() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:379
TRACE 2 exit 12 MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:419
TRACE 2 exit 12 MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:419
TRACE 2 exit 6 MediaWiki\Settings\Config\ConfigSchemaAggregator::initMergeStrategies() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:379
TRACE 2 exit 6 MediaWiki\Settings\Config\ConfigSchemaAggregator::initMergeStrategies() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:379
TRACE 2 exit 6 MediaWiki\Settings\Config\ConfigSchemaAggregator::initMergeStrategies() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:379
TRACE 2 exit 12 MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:419
TRACE 2 exit 6 MediaWiki\Settings\Config\ConfigSchemaAggregator::initMergeStrategies() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:379
TRACE 2 exit 6 MediaWiki\Settings\Config\ConfigSchemaAggregator::initMergeStrategies() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:379
TRACE 2 exit 6 MediaWiki\Settings\Config\ConfigSchemaAggregator::initMergeStrategies() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:379
TRACE 2 exit 12 MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:419
TRACE 2 exit 6 MediaWiki\Settings\Config\ConfigSchemaAggregator::initMergeStrategies() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:379
---- TRACE 3 start (side trace 2/6) MediaWiki\Settings\Config\ConfigSchemaAggregator::initMergeStrategies() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:379
>fake_init MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType
0014 SEND_VAR CV4($type) 1 ; op1(packed array)
0015 V8 = DO_FCALL
>enter MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType
0001 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Config\\is_array")
>init is_array
0002 SEND_VAR_EX CV0($type) 1 ; op1(packed array)
0003 V1 = DO_FCALL_BY_NAME
>call is_array
0004 JMPZ V1 0024 ; op1(bool)
0005 JMP_FRAMELESS 16 string("mediawiki\\settings\\config\\in_array") 0011
0011 V1 = FRAMELESS_ICALL_2(in_array) string("array") CV0($type) ; op2(array)
0012 JMPZ V1 0015 ; op1(bool)
0015 JMP_FRAMELESS 32 string("mediawiki\\settings\\config\\in_array") 0021
0021 V1 = FRAMELESS_ICALL_2(in_array) string("object") CV0($type) ; op2(array)
0022 JMPZ V1 0024 ; op1(bool)
0024 T1 = IS_IDENTICAL CV0($type) string("array") ; op1(packed array)
0025 ;JMPZ T1 0027
0027 T1 = IS_IDENTICAL CV0($type) string("object") ; op1(packed array)
0028 ;JMPZ T1 0030
0030 RETURN string("replace")
<back MediaWiki\Settings\Config\ConfigSchemaAggregator::initMergeStrategies
0016 ASSIGN_DIM CV2($strategyNamesByKey) CV5($key) ; op1(array) op2(string) op3(string) val(undef)
0017 ;OP_DATA V8
0018 JMP 0011
---- TRACE 3 stop (link to 2)
---- TRACE 3 TSSA start (side trace 2/6) MediaWiki\Settings\Config\ConfigSchemaAggregator::initMergeStrategies() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:379
;#2.CV2($strategyNamesByKey) [rc1, rcn, array of [any, ref]]
;#4.CV4($type) [!rc1, rcn, array of [any, ref]]
;#5.CV5($key) [rc1, rcn, string]
>fake_init MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType
0014 SEND_VAR #4.CV4($type) [!rc1, rcn, array of [any, ref]] -> #9.CV4($type) NOVAL [rc1, rcn, array of [any, ref]] 1 ; op1(packed array)
0015 #10.V8 [rcn, string] = DO_FCALL
>enter MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType
;#11.CV0($type) [rc1, rcn, array of [any, ref]]
0001 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\Config\\is_array")
>init is_array
0002 SEND_VAR_EX #11.CV0($type) [rc1, rcn, array of [any, ref]] -> #12.CV0($type) [rc1, rcn, array of [any, ref]] 1 ; op1(packed array)
0003 #13.V1 [!true] = DO_FCALL_BY_NAME
>call is_array
0004 JMPZ #13.V1 [!true] 0024 ; op1(bool)
0005 JMP_FRAMELESS 16 string("mediawiki\\settings\\config\\in_array") 0011
0011 #15.V1 [!false] = FRAMELESS_ICALL_2(in_array) string("array") #12.CV0($type) [rc1, rcn, array of [any, ref]] -> #14.CV0($type) [rc1, rcn, array of [any, ref]] ; op2(array)
0012 JMPZ #15.V1 [!false] 0015 ; op1(bool)
0015 JMP_FRAMELESS 32 string("mediawiki\\settings\\config\\in_array") 0021
0021 #17.V1 [!false] = FRAMELESS_ICALL_2(in_array) string("object") #14.CV0($type) [rc1, rcn, array of [any, ref]] -> #16.CV0($type) [rc1, rcn, array of [any, ref]] ; op2(array)
0022 JMPZ #17.V1 [!false] 0024 ; op1(bool)
0024 #18.T1 [bool] = IS_IDENTICAL #16.CV0($type) [rc1, rcn, array of [any, ref]] string("array") ; op1(packed array)
0025 ;JMPZ #18.T1 [bool] 0027
0027 #19.T1 [bool] = IS_IDENTICAL #16.CV0($type) [rc1, rcn, array of [any, ref]] string("object") ; op1(packed array)
0028 ;JMPZ #19.T1 [bool] 0030
0030 RETURN string("replace")
<back MediaWiki\Settings\Config\ConfigSchemaAggregator::initMergeStrategies
0016 ASSIGN_DIM #2.CV2($strategyNamesByKey) [rc1, rcn, array of [any, ref]] -> #20.CV2($strategyNamesByKey) [rc1, array of [any, ref]] #5.CV5($key) [rc1, rcn, string] ; op1(array) op2(string) op3(string) val(undef)
0017 ;OP_DATA #10.V8 [rcn, string]
0018 JMP 0011
---- TRACE 3 TSSA stop (link to 2)
TRACE-3$MediaWiki\Settings\Config\ConfigSchemaAggregator::initMergeStrategies$379:
48001540: endbr64
48001544: movabsq $EG(jit_trace_num), %rax
4800154e: movl $3, (%rax)
48001554: cmpb $7, 0x98(%r14)
4800155c: jne jit$$trace_exit_0
48001562: movq 8(%r14), %r15
48001566: movq 0x90(%r14), %rax
4800156d: movq %rax, 0x50(%r15)
48001571: movl 0x98(%r14), %ecx
48001578: movl %ecx, 0x58(%r15)
4800157c: testb %ch, %ch
4800157e: je .L1
48001580: addl $1, (%rax)
.L1:
48001583: movq $0x409e2d88, (%r14)
4800158a: movq $0, 8(%r14)
48001592: movq %r14, 0x30(%r15)
48001596: movq $0, 8(%r15)
4800159e: leaq 0xd0(%r14), %rax
480015a5: movq %rax, 0x10(%r15)
480015a9: movabsq $CG(map_ptr_base), %rax
480015b3: movq (%rax), %rax
480015b6: movq 0x81a9(%rax), %rax
480015bd: movq %rax, 0x40(%r15)
480015c1: movabsq $EG(current_execute_data), %rax
480015cb: movq %r15, (%rax)
480015ce: movq %r15, %r14
480015d1: movq 0x40(%r14), %rax
480015d5: leaq 8(%rax), %rsi
480015d9: movq (%rsi), %rax
480015dc: testq %rax, %rax
480015df: je .L16
.L2:
480015e5: movabsq $EG(vm_stack_top), %rcx
480015ef: movq (%rcx), %rcx
480015f2: movq %rcx, %r15
480015f5: movabsq $EG(vm_stack_end), %rcx
480015ff: movq (%rcx), %rcx
48001602: subq %r15, %rcx
48001605: cmpq $0x60, %rcx
48001609: jb jit$$trace_exit_2
4800160f: leaq 0x60(%r15), %rcx
48001613: movabsq $EG(vm_stack_top), %rdx
4800161d: movq %rcx, (%rdx)
48001620: movl $0, 0x28(%r15)
48001628: movq %rax, 0x18(%r15)
4800162c: movq $0, 0x20(%r15)
48001634: movl $1, 0x2c(%r15)
4800163c: movq 0x50(%r14), %rax
48001640: movq %rax, 0x50(%r15)
48001644: movl 0x58(%r14), %ecx
48001648: movl %ecx, 0x58(%r15)
4800164c: testb %ch, %ch
4800164e: je .L3
48001650: addl $1, (%rax)
.L3:
48001653: movq $0x409e3328, (%r14)
4800165a: movq %r14, 0x30(%r15)
4800165e: movabsq $EG(current_execute_data), %rax
48001668: movq %r15, (%rax)
4800166b: movl $1, 0x68(%r14)
48001673: leaq 0x60(%r14), %rsi
48001677: movq %r15, %rdi
4800167a: movabsq $0x555556776ae4, %rax
48001684: callq *%rax
48001686: movabsq $EG(current_execute_data), %rax
48001690: movq %r14, (%rax)
48001693: cmpb $0, 0x59(%r15)
48001698: je .L4
4800169a: movq 0x50(%r15), %rdi
4800169e: subl $1, (%rdi)
480016a1: jne .L4
480016a3: movq $0x409e3328, (%r14)
480016aa: movabsq $rc_dtor_func, %rax
480016b4: callq *%rax
.L4:
480016b6: movabsq $EG(vm_stack_top), %rax
480016c0: movq %r15, (%rax)
480016c3: movabsq $EG(exception), %rax
480016cd: movq (%rax), %rax
480016d0: testq %rax, %rax
480016d3: jne JIT$$icall_throw
480016d9: movabsq $EG(vm_interrupt), %rax
480016e3: movb (%rax), %al
480016e6: testb %al, %al
480016e9: jne jit$$trace_exit_3
480016ef: cmpb $3, 0x68(%r14)
480016f4: jne jit$$trace_exit_4
480016fa: movq 0x40(%r14), %rax
480016fe: leaq 0x10(%rax), %rsi
48001702: movq (%rsi), %rax
48001705: testq %rax, %rax
48001708: je .L15
.L5:
4800170e: cmpq $2, %rax
48001712: jne jit$$trace_exit_5
48001718: movq $0x409e3428, (%r14)
4800171f: leaq 0x60(%r14), %rdi
48001723: leaq 0x50(%r14), %rdx
48001727: movl $1, 0x68(%r14)
4800172f: movl $0x409e3278, %esi
48001734: movabsq $0x55555659bac3, %rax
4800173e: callq *%rax
48001740: movabsq $EG(exception), %rax
4800174a: movq (%rax), %rax
4800174d: testq %rax, %rax
48001750: jne JIT$$exception_handler
48001756: cmpb $2, 0x68(%r14)
4800175b: jne jit$$trace_exit_6
48001761: movq 0x40(%r14), %rax
48001765: leaq 0x20(%rax), %rsi
48001769: movq (%rsi), %rax
4800176c: testq %rax, %rax
4800176f: je .L14
.L6:
48001775: cmpq $2, %rax
48001779: jne jit$$trace_exit_7
4800177f: movq $0x409e3568, (%r14)
48001786: leaq 0x60(%r14), %rdi
4800178a: leaq 0x50(%r14), %rdx
4800178e: movl $1, 0x68(%r14)
48001796: movl $0x409e3288, %esi
4800179b: movabsq $0x55555659bac3, %rax
480017a5: callq *%rax
480017a7: movabsq $EG(exception), %rax
480017b1: movq (%rax), %rax
480017b4: testq %rax, %rax
480017b7: jne JIT$$exception_handler
480017bd: cmpb $2, 0x68(%r14)
480017c2: jne jit$$trace_exit_8
480017c8: movq 0x10(%r14), %rax
480017cc: movq $0x4021d248, (%rax)
480017d3: movl $6, 8(%rax)
480017da: movq 0x30(%r14), %rax
480017de: movabsq $EG(current_execute_data), %rcx
480017e8: movq %rax, (%rcx)
480017eb: cmpb $0, 0x59(%r14)
480017f0: je .L7
480017f2: movq 0x50(%r14), %rdi
480017f6: subl $1, (%rdi)
480017f9: jne .L12
480017ff: movabsq $zend_array_destroy, %rax
48001809: callq *%rax
.L7:
4800180b: testl $0x89e0000, 0x28(%r14)
48001813: jne .L13
48001819: movabsq $EG(vm_stack_top), %rax
48001823: movq %r14, (%rax)
48001826: movq 0x30(%r14), %r14
.L8:
4800182a: movabsq $EG(exception), %rax
48001834: movq (%rax), %rax
48001837: testq %rax, %rax
4800183a: jne JIT$$leave_throw
48001840: leaq 0x70(%r14), %rdi
48001844: movq (%rdi), %rax
48001847: cmpl $1, (%rax)
4800184a: je .L9
4800184c: movabsq $zend_jit_zval_array_dup, %rax
48001856: callq *%rax
.L9:
48001858: movq 0xa0(%r14), %rsi
4800185f: movq %rax, %rdi
48001862: movabsq $zend_jit_symtable_lookup_w, %rax
4800186c: callq *%rax
4800186e: cmpb $0xa, 8(%rax)
48001872: jne .L10
48001874: movq (%rax), %rdi
48001877: cmpq $0, 0x18(%rdi)
4800187c: jne .L18
48001882: leaq 8(%rdi), %rax
.L10:
48001886: cmpb $0, 9(%rax)
4800188a: jne .L17
48001890: movq 0xd0(%r14), %rcx
48001897: movq %rcx, (%rax)
4800189a: movl 0xd8(%r14), %ecx
480018a1: movl %ecx, 8(%rax)
.L11:
480018a4: movabsq $EG(exception), %rax
480018ae: movq (%rax), %rax
480018b1: testq %rax, %rax
480018b4: jne JIT$$exception_handler
480018ba: movl $0x409e2d08, %r15d
480018c0: movabsq $EG(vm_interrupt), %rax
480018ca: movb (%rax), %al
480018cd: testb %al, %al
480018d0: je TRACE-2$MediaWiki\Settings\Config\ConfigSchemaAggregator::initMergeStrategies$378+0x8
480018d6: jmp JIT$$interrupt_handler
.L12:
480018db: testl $0xfffffc10, 4(%rdi)
480018e2: jne .L7
480018e8: movabsq $gc_possible_root, %rax
480018f2: callq *%rax
480018f4: jmp .L7
.L13:
480018f9: movabsq $zend_jit_leave_func_helper, %rax
48001903: callq *%rax
48001905: jmp .L8
.L14:
4800190a: movl $0x409e3268, %edi
4800190f: movabsq $zend_jit_jmp_frameless_helper, %rax
48001919: callq *%rax
4800191b: jmp .L6
.L15:
48001920: movl $0x409e3268, %edi
48001925: movabsq $zend_jit_jmp_frameless_helper, %rax
4800192f: callq *%rax
48001931: jmp .L5
.L16:
48001936: movl $0x409e3208, %edi
4800193b: movabsq $zend_jit_find_ns_func_helper, %rax
48001945: callq *%rax
48001947: movabsq $0x50e0000668e0, %rcx
48001951: cmpq %rcx, %rax
48001954: je .L2
4800195a: jmp jit$$trace_exit_1
.L17:
4800195f: movq (%rax), %rdi
48001962: movq 0xd0(%r14), %rcx
48001969: movq %rcx, (%rax)
4800196c: movl 0xd8(%r14), %ecx
48001973: movl %ecx, 8(%rax)
48001976: subl $1, (%rdi)
48001979: jne .L19
4800197b: movq $0x409e2da8, (%r14)
48001982: movabsq $rc_dtor_func, %rax
4800198c: callq *%rax
4800198e: jmp .L11
.L18:
48001993: movq $0x409e2da8, (%r14)
4800199a: leaq 0xd0(%r14), %rsi
480019a1: movabsq $zend_jit_assign_var_to_typed_ref, %rax
480019ab: callq *%rax
480019ad: jmp .L11
.L19:
480019b2: testl $0xfffffc10, 4(%rdi)
480019b9: jne .L11
480019bf: movabsq $gc_possible_root, %rax
480019c9: callq *%rax
480019cb: jmp .L11
---- TRACE 3 exit info
exit_0: 0014/0000/9 CV2($strategyNamesByKey):array CV5($key):string X7:array X8:string
exit_1: 0001/0009/1 CV0($type):array
exit_2: 0001/0010/1/VM CV0($type):array
exit_3: 0004/0011/1/VM CV0($type):array
exit_4: 0004/0012/1 CV0($type):array
exit_5: 0006/0013/2 CV0($type):array X1:bool
exit_6: 0012/0015/1 CV0($type):array
exit_7: 0016/0016/2 CV0($type):array X1:bool
exit_8: 0022/0018/1 CV0($type):array
exit_9: 0026/0019/2 CV0($type):array X1:bool
exit_10: 0029/0021/1 CV0($type):array
---- TRACE 3 compiled
TRACE 2 exit 12 MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:419
TRACE 2 exit 12 MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:419
---- TRACE 4 start (side trace 2/12) MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:419
0030 RETURN string("replace")
---- TRACE 4 stop (return)
---- TRACE 4 TSSA start (side trace 2/12) MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:419
0030 RETURN string("replace")
---- TRACE 4 TSSA stop (return)
TRACE-4$MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType$419:
480019d0: endbr64
480019d4: movabsq $EG(jit_trace_num), %rax
480019de: movl $4, (%rax)
480019e4: movq 0x10(%r14), %rax
480019e8: testq %rax, %rax
480019eb: je .L1
480019ed: movq $0x4021d248, (%rax)
480019f4: movl $6, 8(%rax)
.L1:
480019fb: movq 0x30(%r14), %rax
480019ff: movabsq $EG(current_execute_data), %rcx
48001a09: movq %rax, (%rcx)
48001a0c: cmpb $0, 0x59(%r14)
48001a11: je .L2
48001a13: movq 0x50(%r14), %rdi
48001a17: subl $1, (%rdi)
48001a1a: jne .L2
48001a1c: movabsq $rc_dtor_func, %rax
48001a26: callq *%rax
.L2:
48001a28: testl $0x89e0000, 0x28(%r14)
48001a30: jne JIT$$leave_function_handler
48001a36: movabsq $EG(vm_stack_top), %rax
48001a40: movq %r14, (%rax)
48001a43: movq 0x30(%r14), %r14
48001a47: movq (%r14), %r15
48001a4a: addq $0x20, %r15
48001a4e: addq $0x30, %rsp
48001a52: jmpq *(%r15)
---- TRACE 4 compiled
TRACE 2 exit 11 MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:412
TRACE 2 exit 11 MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:412
TRACE 2 exit 11 MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:412
TRACE 2 exit 11 MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:412
TRACE 2 exit 11 MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:412
TRACE 2 exit 11 MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:412
---- TRACE 5 start (side trace 2/11) MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:412
0026 RETURN string("array_merge")
---- TRACE 5 stop (return)
---- TRACE 5 TSSA start (side trace 2/11) MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:412
0026 RETURN string("array_merge")
---- TRACE 5 TSSA stop (return)
TRACE-5$MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType$412:
48001a60: endbr64
48001a64: movabsq $EG(jit_trace_num), %rax
48001a6e: movl $5, (%rax)
48001a74: movq 0x10(%r14), %rax
48001a78: testq %rax, %rax
48001a7b: je .L1
48001a7d: movq $0x4020b058, (%rax)
48001a84: movl $6, 8(%rax)
.L1:
48001a8b: movq 0x30(%r14), %rax
48001a8f: movabsq $EG(current_execute_data), %rcx
48001a99: movq %rax, (%rcx)
48001a9c: cmpb $0, 0x59(%r14)
48001aa1: je .L2
48001aa3: movq 0x50(%r14), %rdi
48001aa7: subl $1, (%rdi)
48001aaa: jne .L2
48001aac: movabsq $rc_dtor_func, %rax
48001ab6: callq *%rax
.L2:
48001ab8: testl $0x89e0000, 0x28(%r14)
48001ac0: jne JIT$$leave_function_handler
48001ac6: movabsq $EG(vm_stack_top), %rax
48001ad0: movq %r14, (%rax)
48001ad3: movq 0x30(%r14), %r14
48001ad7: movq (%r14), %r15
48001ada: addq $0x20, %r15
48001ade: addq $0x30, %rsp
48001ae2: jmpq *(%r15)
---- TRACE 5 compiled
TRACE 3 exit 8 MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:404
TRACE 3 exit 6 MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:402
TRACE 3 exit 6 MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:402
TRACE 3 exit 8 MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:404
TRACE 3 exit 8 MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:404
TRACE 3 exit 6 MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:402
TRACE 3 exit 8 MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:404
TRACE 3 exit 6 MediaWiki\Settings\Config\ConfigSchemaAggregator::getStrategyForType() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:402
TRACE 2 exit 3 MediaWiki\Settings\Config\ConfigSchemaAggregator::initMergeStrategies() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:378
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/MergeStrategy.php:1-118
0000 RETURN int(1)
MediaWiki\Settings\Config\MergeStrategy::newFromName:
; (lines=14, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/MergeStrategy.php:44-49
0000 CV0($name) = RECV 1
0001 T2 = FETCH_STATIC_PROP_R string("strategies") (self) (exception)
0002 T1 = ARRAY_KEY_EXISTS CV0($name) T2
0003 JMPNZ T1 0010
0004 V1 = NEW 1 string("MediaWiki\\Settings\\Config\\MergeStrategy")
0005 SEND_VAR CV0($name) 1
0006 DO_FCALL
0007 V2 = FETCH_STATIC_PROP_W (dim write) string("strategies") (self) (exception)
0008 ASSIGN_DIM V2 CV0($name)
0009 OP_DATA V1
0010 T2 = FETCH_STATIC_PROP_R string("strategies") (self) (exception)
0011 T1 = FETCH_DIM_R T2 CV0($name)
0012 VERIFY_RETURN_TYPE T1
0013 RETURN T1
LIVE RANGES:
1: 0005 - 0007 (new)
1: 0007 - 0008 (tmp/var)
1: 0012 - 0013 (tmp/var)
MediaWiki\Settings\Config\MergeStrategy::__construct:
; (lines=7, args=2, vars=2, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/MergeStrategy.php:55-58
0000 CV0($name) = RECV 1
0001 CV1($reversed) = RECV_INIT 2 bool(false)
0002 ASSIGN_OBJ THIS string("name")
0003 OP_DATA CV0($name)
0004 ASSIGN_OBJ THIS string("reversed")
0005 OP_DATA CV1($reversed)
0006 RETURN null
MediaWiki\Settings\Config\MergeStrategy::getName:
; (lines=3, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/MergeStrategy.php:63-65
0000 T0 = FETCH_OBJ_R THIS string("name")
0001 VERIFY_RETURN_TYPE T0
0002 RETURN T0
LIVE RANGES:
0: 0001 - 0002 (tmp/var)
MediaWiki\Settings\Config\MergeStrategy::merge:
; (lines=69, args=2, vars=2, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/MergeStrategy.php:78-102
0000 CV0($destination) = RECV 1
0001 CV1($source) = RECV 2
0002 T2 = FETCH_OBJ_R THIS string("reversed")
0003 JMPZ T2 0011
0004 T2 = INIT_ARRAY 2 (packed) CV1($source) NEXT
0005 T2 = ADD_ARRAY_ELEMENT CV0($destination) NEXT
0006 V3 = FETCH_LIST_R T2 int(0)
0007 ASSIGN CV0($destination) V3
0008 V3 = FETCH_LIST_R T2 int(1)
0009 ASSIGN CV1($source) V3
0010 FREE T2
0011 T2 = FETCH_OBJ_R THIS string("name")
0012 SWITCH_STRING T2 "replace": 0026, "array_merge_recursive": 0029, "array_replace_recursive": 0036, "array_plus_2d": 0043, "array_plus": 0050, "array_merge": 0054, default: 0061
0013 T3 = CASE T2 string("replace")
0014 JMPNZ T3 0026
0015 T3 = CASE T2 string("array_merge_recursive")
0016 JMPNZ T3 0029
0017 T3 = CASE T2 string("array_replace_recursive")
0018 JMPNZ T3 0036
0019 T3 = CASE T2 string("array_plus_2d")
0020 JMPNZ T3 0043
0021 T3 = CASE T2 string("array_plus")
0022 JMPNZ T3 0050
0023 T3 = CASE T2 string("array_merge")
0024 JMPNZ T3 0054
0025 JMP 0061
0026 VERIFY_RETURN_TYPE CV1($source)
0027 FREE T2
0028 RETURN CV1($source)
0029 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\Config\\array_merge_recursive")
0030 SEND_VAR_EX CV0($destination) 1
0031 SEND_VAR_EX CV1($source) 2
0032 V3 = DO_FCALL_BY_NAME
0033 VERIFY_RETURN_TYPE V3
0034 FREE T2
0035 RETURN V3
0036 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\Config\\array_replace_recursive")
0037 SEND_VAR_EX CV0($destination) 1
0038 SEND_VAR_EX CV1($source) 2
0039 V3 = DO_FCALL_BY_NAME
0040 VERIFY_RETURN_TYPE V3
0041 FREE T2
0042 RETURN V3
0043 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\Config\\wfArrayPlus2d")
0044 SEND_VAR_EX CV1($source) 1
0045 SEND_VAR_EX CV0($destination) 2
0046 V3 = DO_FCALL_BY_NAME
0047 VERIFY_RETURN_TYPE V3
0048 FREE T2
0049 RETURN V3
0050 T3 = ADD CV1($source) CV0($destination)
0051 VERIFY_RETURN_TYPE T3
0052 FREE T2
0053 RETURN T3
0054 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\Config\\array_merge")
0055 SEND_VAR_EX CV0($destination) 1
0056 SEND_VAR_EX CV1($source) 2
0057 V3 = DO_FCALL_BY_NAME
0058 VERIFY_RETURN_TYPE V3
0059 FREE T2
0060 RETURN V3
0061 V3 = NEW 2 string("MediaWiki\\Settings\\SettingsBuilderException")
0062 SEND_VAL_EX string("Unknown merge strategy {name}") 1
0063 T5 = FETCH_OBJ_R THIS string("name")
0064 T4 = INIT_ARRAY 1 T5 string("name")
0065 SEND_VAL_EX T4 2
0066 DO_FCALL
0067 THROW V3
0068 FREE T2
LIVE RANGES:
2: 0005 - 0010 (tmp/var)
2: 0012 - 0068 (tmp/var)
3: 0033 - 0035 (tmp/var)
3: 0040 - 0042 (tmp/var)
3: 0047 - 0049 (tmp/var)
3: 0051 - 0053 (tmp/var)
3: 0058 - 0060 (tmp/var)
3: 0062 - 0067 (new)
MediaWiki\Settings\Config\MergeStrategy::reverse:
; (lines=20, args=0, vars=0, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/Config/MergeStrategy.php:111-116
0000 T1 = FETCH_OBJ_R THIS string("name")
0001 T2 = FETCH_STATIC_PROP_R string("reversedStrategies") (self) (exception)
0002 T0 = ARRAY_KEY_EXISTS T1 T2
0003 JMPNZ T0 0015
0004 T2 = FETCH_OBJ_R THIS string("name")
0005 V0 = NEW 2 (self) (exception)
0006 V1 = FETCH_OBJ_R THIS string("name")
0007 SEND_VAR V1 1
0008 T3 = FETCH_OBJ_R THIS string("reversed")
0009 T1 = BOOL_NOT T3
0010 SEND_VAL T1 2
0011 DO_FCALL
0012 V1 = FETCH_STATIC_PROP_W (dim write) string("reversedStrategies") (self) (exception)
0013 ASSIGN_DIM V1 T2
0014 OP_DATA V0
0015 T2 = FETCH_OBJ_R THIS string("name")
0016 T1 = FETCH_STATIC_PROP_R string("reversedStrategies") (self) (exception)
0017 T0 = FETCH_DIM_R T1 T2
0018 VERIFY_RETURN_TYPE T0
0019 RETURN T0
LIVE RANGES:
1: 0001 - 0002 (tmp/var)
2: 0005 - 0013 (tmp/var)
0: 0006 - 0012 (new)
0: 0012 - 0013 (tmp/var)
2: 0016 - 0017 (tmp/var)
0: 0018 - 0019 (tmp/var)
---- TRACE 6 start (loop) MediaWiki\Settings\Config\ConfigSchemaAggregator::initMergeStrategies() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:383
0021 T8 = FE_FETCH_R V7 CV6($strategyName) 0034 ; op1(array) op2(string)
0022 ASSIGN CV5($key) T8 ; op1(string) op2(string)
0023 T8 = ARRAY_KEY_EXISTS CV6($strategyName) CV0($strategiesByName) ; op1(string) op2(array)
0024 ;JMPNZ T8 0030
0030 T8 = FETCH_DIM_R CV0($strategiesByName) CV6($strategyName) ; op1(array) op2(string) val(object)
0031 ASSIGN_DIM CV1($strategiesByKey) CV5($key) ; op1(array) op2(string) op3(object) val(undef)
0032 ;OP_DATA T8
0033 JMP 0021
---- TRACE 6 stop (loop)
---- TRACE 6 TSSA start (loop) MediaWiki\Settings\Config\ConfigSchemaAggregator::initMergeStrategies() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:383
;#0.CV0($strategiesByName) [rc1, rcn, array of [any]]
;#1.CV1($strategiesByKey) [rc1, rcn, array of [any]]
;#5.CV5($key) NOVAL [undef, rc1, rcn, any]
;#6.CV6($strategyName) NOVAL [undef, ref, rc1, rcn, any]
;#7.X7 [!rc1, rcn, ![empty, hash] array of [any, ref]]
LOOP:
;#9.CV1($strategiesByKey) [rc1, rcn, array of [any]] = Phi(#1.CV1($strategiesByKey) [rc1, rcn, array of [any]], #17.CV1($strategiesByKey) [rc1, array of [any]])
;#10.CV5($key) NOVAL [undef, rc1, rcn, any] = Phi(#5.CV5($key) NOVAL [undef, rc1, rcn, any], #14.CV5($key) [rc1, rcn, string])
;#11.CV6($strategyName) NOVAL [undef, ref, rc1, rcn, any] = Phi(#6.CV6($strategyName) NOVAL [undef, ref, rc1, rcn, any], #12.CV6($strategyName) [!rc1, rcn, string])
0021 #13.T8 [!rcn, string] = FE_FETCH_R #7.V7 [!rc1, rcn, ![empty, hash] array of [any, ref]] #11.CV6($strategyName) NOVAL [undef, ref, rc1, rcn, any] -> #12.CV6($strategyName) [!rc1, rcn, string] 0034 ; op1(array) op2(string)
0022 ASSIGN #10.CV5($key) NOVAL [undef, rc1, rcn, any] -> #14.CV5($key) [rc1, rcn, string] #13.T8 [!rcn, string] ; op1(string) op2(string)
0023 #15.T8 [bool] = ARRAY_KEY_EXISTS #12.CV6($strategyName) [!rc1, rcn, string] #0.CV0($strategiesByName) [rc1, rcn, array of [any]] ; op1(string) op2(array)
0024 ;JMPNZ #15.T8 [bool] 0030
0030 #16.T8 [!rc1, rcn, object] = FETCH_DIM_R #0.CV0($strategiesByName) [rc1, rcn, array of [any]] #12.CV6($strategyName) [!rc1, rcn, string] ; op1(array) op2(string) val(object)
0031 ASSIGN_DIM #9.CV1($strategiesByKey) [rc1, rcn, array of [any]] -> #17.CV1($strategiesByKey) [rc1, array of [any]] #14.CV5($key) [rc1, rcn, string] ; op1(array) op2(string) op3(object) val(undef)
0032 ;OP_DATA #16.T8 [!rc1, rcn, object]
0033 JMP 0021
---- TRACE 6 TSSA stop (loop)
TRACE-6$MediaWiki\Settings\Config\ConfigSchemaAggregator::initMergeStrategies$383:
48001af0: endbr64
48001af4: subq $0x30, %rsp
48001af8: movabsq $EG(jit_trace_num), %rax
48001b02: movl $6, (%rax)
48001b08: cmpb $7, 0xc8(%r14)
48001b10: jne jit$$trace_exit_0
48001b16: movq 0xc0(%r14), %rax
48001b1d: testl $4, 8(%rax)
48001b24: je .L11
48001b2a: jmp jit$$trace_exit_1
.L1:
48001b2f: addl $1, (%rax)
48001b32: movl $0x106, 0xd8(%r14)
48001b3d: jmp .L3
48001b3f: nop
.L2:
48001b40: movq 0x10(%rcx), %rax
48001b44: movq %rax, 0xd0(%r14)
48001b4b: movl $4, 0xd8(%r14)
.L3:
48001b56: leaq 0xb0(%r14), %rax
48001b5d: cmpb $0xa, 0xb8(%r14)
48001b65: jne .L4
48001b67: movq (%rax), %rdi
48001b6a: cmpq $0, 0x18(%rdi)
48001b6f: jne .L20
48001b75: leaq 8(%rdi), %rax
.L4:
48001b79: cmpb $0, 9(%rax)
48001b7d: jne .L17
48001b83: cmpb $0xa, 8(%rcx)
48001b87: jne .L5
48001b89: movq (%rcx), %rcx
48001b8c: leaq 8(%rcx), %rcx
.L5:
48001b90: movq (%rcx), %rdx
48001b93: movq %rdx, (%rax)
48001b96: movl 8(%rcx), %ecx
48001b99: movl %ecx, 8(%rax)
48001b9c: testb %ch, %ch
48001b9e: je .L6
48001ba0: addl $1, (%rdx)
.L6:
48001ba3: cmpb $6, 0xd8(%r14)
48001bab: jne jit$$trace_exit_3
48001bb1: cmpb $0, 0xa9(%r14)
48001bb9: jne .L16
48001bbf: movq 0xd0(%r14), %rax
48001bc6: movq %rax, 0xa0(%r14)
48001bcd: movl 0xd8(%r14), %eax
48001bd4: movl %eax, 0xa8(%r14)
.L7:
48001bdb: addq $0x40, %r15
48001bdf: movabsq $0x555556d4f29a, %rax
48001be9: callq *%rax
48001beb: movabsq $EG(exception), %rax
48001bf5: movq (%rax), %rax
48001bf8: testq %rax, %rax
48001bfb: jne JIT$$exception_handler
48001c01: cmpl $0x409e2f68, %r15d
48001c08: jne jit$$trace_exit_4
48001c0e: cmpb $6, 0xb8(%r14)
48001c16: jne jit$$trace_exit_5
48001c1c: movq 0x50(%r14), %rdi
48001c20: movq 0xb0(%r14), %rsi
48001c27: cmpb $0x39, 0x18(%rsi)
48001c2b: jbe .L15
48001c31: movabsq $zend_hash_find, %rax
48001c3b: callq *%rax
.L8:
48001c3d: testq %rax, %rax
48001c40: je jit$$trace_exit_6
48001c46: cmpb $8, 8(%rax)
48001c4a: jne jit$$trace_exit_7
48001c50: movq (%rax), %rcx
48001c53: movq %rcx, 0xd0(%r14)
48001c5a: movl 8(%rax), %eax
48001c5d: movl %eax, 0xd8(%r14)
48001c64: addl $1, (%rcx)
48001c67: leaq 0x60(%r14), %rdi
48001c6b: movq (%rdi), %rax
48001c6e: cmpl $1, (%rax)
48001c71: je .L9
48001c73: movabsq $zend_jit_zval_array_dup, %rax
48001c7d: callq *%rax
.L9:
48001c7f: movq 0xa0(%r14), %rsi
48001c86: movq %rax, %rdi
48001c89: movabsq $zend_jit_symtable_lookup_w, %rax
48001c93: callq *%rax
48001c95: cmpb $0, 9(%rax)
48001c99: jne .L14
48001c9f: movq 0xd0(%r14), %rcx
48001ca6: movq %rcx, (%rax)
48001ca9: movl 0xd8(%r14), %ecx
48001cb0: movl %ecx, 8(%rax)
.L10:
48001cb3: movabsq $EG(exception), %rax
48001cbd: movq (%rax), %rax
48001cc0: testq %rax, %rax
48001cc3: jne JIT$$exception_handler
48001cc9: subq $0x120, %r15
48001cd0: movabsq $EG(vm_interrupt), %rax
48001cda: movb (%rax), %al
48001cdd: testb %al, %al
48001ce0: jne JIT$$interrupt_handler
.L11:
48001ce6: movq 0xc0(%r14), %rax
48001ced: movl 0xcc(%r14), %esi
48001cf4: movl %esi, %ecx
48001cf6: shlq $5, %rcx
48001cfa: addq 0x10(%rax), %rcx
48001cfe: jmp .L13
.L12:
48001d00: leaq 0x20(%rcx), %rcx
.L13:
48001d04: cmpl 0x18(%rax), %esi
48001d07: jae jit$$trace_exit_2
48001d0d: leal 1(%rsi), %esi
48001d10: cmpb $0, 8(%rcx)
48001d14: je .L12
48001d16: movl %esi, 0xcc(%r14)
48001d1d: movq 0x18(%rcx), %rax
48001d21: testq %rax, %rax
48001d24: je .L2
48001d2a: movq %rax, 0xd0(%r14)
48001d31: testl $0x40, 4(%rax)
48001d38: je .L1
48001d3e: movl $6, 0xd8(%r14)
48001d49: jmp .L3
.L14:
48001d4e: movq (%rax), %rdi
48001d51: movq 0xd0(%r14), %rcx
48001d58: movq %rcx, (%rax)
48001d5b: movl 0xd8(%r14), %ecx
48001d62: movl %ecx, 8(%rax)
48001d65: subl $1, (%rdi)
48001d68: jne .L21
48001d6e: movq $0x409e2f88, (%r14)
48001d75: movabsq $rc_dtor_func, %rax
48001d7f: callq *%rax
48001d81: jmp .L10
.L15:
48001d86: movabsq $zend_jit_symtable_find, %rax
48001d90: callq *%rax
48001d92: jmp .L8
.L16:
48001d97: movq 0xa0(%r14), %rdi
48001d9e: movq 0xd0(%r14), %rax
48001da5: movq %rax, 0xa0(%r14)
48001dac: movl 0xd8(%r14), %eax
48001db3: movl %eax, 0xa8(%r14)
48001dba: subl $1, (%rdi)
48001dbd: jne .L22
48001dc3: movq $0x409e2e68, (%r14)
48001dca: movabsq $rc_dtor_func, %rax
48001dd4: callq *%rax
48001dd6: movabsq $EG(exception), %rax
48001de0: movq (%rax), %rax
48001de3: testq %rax, %rax
48001de6: je .L7
48001dec: jmp JIT$$exception_handler
.L17:
48001df1: movq (%rax), %rdi
48001df4: cmpb $0xa, 8(%rcx)
48001df8: jne .L18
48001dfa: movq (%rcx), %rcx
48001dfd: leaq 8(%rcx), %rcx
.L18:
48001e01: movq (%rcx), %rdx
48001e04: movq %rdx, (%rax)
48001e07: movl 8(%rcx), %ecx
48001e0a: movl %ecx, 8(%rax)
48001e0d: testb %ch, %ch
48001e0f: je .L19
48001e11: addl $1, (%rdx)
.L19:
48001e14: subl $1, (%rdi)
48001e17: jne .L23
48001e1d: movq %r15, (%r14)
48001e20: movabsq $rc_dtor_func, %rax
48001e2a: callq *%rax
48001e2c: movabsq $EG(exception), %rax
48001e36: movq (%rax), %rax
48001e39: testq %rax, %rax
48001e3c: je .L6
48001e42: jmp JIT$$exception_handler
.L20:
48001e47: movq %r15, (%r14)
48001e4a: movq %rcx, %rsi
48001e4d: movabsq $zend_jit_assign_cv_to_typed_ref, %rax
48001e57: callq *%rax
48001e59: movabsq $EG(exception), %rax
48001e63: movq (%rax), %rax
48001e66: testq %rax, %rax
48001e69: je .L6
48001e6f: jmp JIT$$exception_handler
.L21:
48001e74: testl $0xfffffc10, 4(%rdi)
48001e7b: jne .L10
48001e81: movabsq $gc_possible_root, %rax
48001e8b: callq *%rax
48001e8d: jmp .L10
.L22:
48001e92: testl $0xfffffc10, 4(%rdi)
48001e99: jne .L7
48001e9f: movabsq $gc_possible_root, %rax
48001ea9: callq *%rax
48001eab: jmp .L7
.L23:
48001eb0: testl $0xfffffc10, 4(%rdi)
48001eb7: jne .L6
48001ebd: movabsq $gc_possible_root, %rax
48001ec7: callq *%rax
48001ec9: jmp .L6
---- TRACE 6 exit info
exit_0: 0021/0000/2 CV0($strategiesByName):array CV1($strategiesByKey):array
exit_1: 0021/0002/8 CV0($strategiesByName):array CV1($strategiesByKey):array X7:array
exit_2: 0034/0010/8 CV0($strategiesByName):array CV1($strategiesByKey):array X7:array
exit_3: 0022/0018/8 CV0($strategiesByName):array CV1($strategiesByKey):array X7:array
exit_4: 0025/0026/9 CV0($strategiesByName):array CV1($strategiesByKey):array CV5($key):string X7:array X8:string
exit_5: 0030/0035/8 CV0($strategiesByName):array CV1($strategiesByKey):array CV5($key):string X7:array
exit_6: 0030/0043/8/VM CV0($strategiesByName):array CV1($strategiesByKey):array CV5($key):string CV6($strategyName):string X7:array
exit_7: 0031/0051/9 CV0($strategiesByName):array CV1($strategiesByKey):array CV5($key):string CV6($strategyName):string X7:array X8:unknown(zval_copy(rax))
---- TRACE 6 compiled
TRACE 6 exit 2 MediaWiki\Settings\Config\ConfigSchemaAggregator::initMergeStrategies() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/ConfigSchemaAggregator.php:383
TRACE 1 exit 5 MediaWiki\Settings\Config\GlobalConfigBuilder::setMulti() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/GlobalConfigBuilder.php:52
TRACE 1 exit 1 MediaWiki\Settings\Config\GlobalConfigBuilder::setMulti() /var/tmp/mediawiki-1.42.1/includes/Settings/Config/GlobalConfigBuilder.php:48
$_main:
; (lines=50, args=0, vars=39, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/LocalSettings.php:1-132
0000 T39 = DEFINED string("MEDIAWIKI")
0001 JMPNZ T39 0004
0002 INIT_FCALL 0 80 string("exit")
0003 DO_ICALL
0004 ASSIGN CV0($wgSitename) string("README.md")
0005 ASSIGN CV1($wgScriptPath) string("/mediawiki-1.42.1")
0006 ASSIGN CV2($wgServer) string("http://localhost")
0007 ASSIGN CV3($wgResourceBasePath) CV1($wgScriptPath)
0008 T40 = FAST_CONCAT CV3($wgResourceBasePath) string("/resources/assets/change-your-logo.svg")
0009 T39 = INIT_ARRAY 2 T40 string("1x")
0010 T40 = FAST_CONCAT CV3($wgResourceBasePath) string("/resources/assets/change-your-logo-icon.svg")
0011 T39 = ADD_ARRAY_ELEMENT T40 string("icon")
0012 ASSIGN CV4($wgLogos) T39
0013 ASSIGN CV5($wgEnableEmail) bool(true)
0014 ASSIGN CV6($wgEnableUserEmail) bool(true)
0015 ASSIGN CV7($wgEmergencyContact) string("")
0016 ASSIGN CV8($wgPasswordSender) string("")
0017 ASSIGN CV9($wgEnotifUserTalk) bool(false)
0018 ASSIGN CV10($wgEnotifWatchlist) bool(false)
0019 ASSIGN CV11($wgEmailAuthentication) bool(true)
0020 ASSIGN CV12($wgDBtype) string("mysql")
0021 ASSIGN CV13($wgDBserver) string("db1.localhost")
0022 ASSIGN CV14($wgDBname) string("mw_installtest")
0023 ASSIGN CV15($wgDBuser) string("mw")
0024 ASSIGN CV16($wgDBpassword) string("x")
0025 ASSIGN CV17($wgDBprefix) string("")
0026 ASSIGN CV18($wgDBssl) bool(false)
0027 ASSIGN CV19($wgDBTableOptions) string("ENGINE=InnoDB, DEFAULT CHARSET=binary")
0028 ASSIGN_DIM CV20($wgSharedTables) NEXT
0029 OP_DATA string("actor")
0030 T39 = FETCH_CONSTANT string("CACHE_NONE")
0031 ASSIGN CV21($wgMainCacheType) T39
0032 ASSIGN CV22($wgMemCachedServers) array(...)
0033 ASSIGN CV23($wgEnableUploads) bool(false)
0034 ASSIGN CV24($wgUseImageMagick) bool(true)
0035 ASSIGN CV25($wgImageMagickConvertCommand) string("/usr/bin/convert")
0036 ASSIGN CV26($wgUseInstantCommons) bool(false)
0037 ASSIGN CV27($wgPingback) bool(false)
0038 ASSIGN CV28($wgLanguageCode) string("en")
0039 ASSIGN CV29($wgLocaltimezone) string("UTC")
0040 ASSIGN CV30($wgSecretKey) string("a0e145f52a529c5aea158dd120412d9cc04c0d8b7f2f3197f7fcb3c2000e7922")
0041 ASSIGN CV31($wgAuthenticationTokenVersion) string("1")
0042 ASSIGN CV32($wgUpgradeKey) string("5d5b67551daf1081")
0043 ASSIGN CV33($wgRightsPage) string("")
0044 ASSIGN CV34($wgRightsUrl) string("")
0045 ASSIGN CV35($wgRightsText) string("")
0046 ASSIGN CV36($wgRightsIcon) string("")
0047 ASSIGN CV37($wgDiff3) string("/usr/bin/diff3")
0048 ASSIGN CV38($wgDefaultSkin) string("vector-2022")
0049 RETURN int(1)
LIVE RANGES:
39: 0010 - 0012 (tmp/var)
$_main:
; (lines=6, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/config/GlobalVarConfig.php:1-81
0000 DECLARE_CLASS string("mediawiki\\config\\globalvarconfig")
0001 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Config\\class_alias")
0002 SEND_VAL_EX string("MediaWiki\\Config\\GlobalVarConfig") 1
0003 SEND_VAL_EX string("GlobalVarConfig") 2
0004 DO_FCALL_BY_NAME
0005 RETURN int(1)
MediaWiki\Config\GlobalVarConfig::newInstance:
; (lines=3, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/config/GlobalVarConfig.php:43-45
0000 V0 = NEW 0 (self) (exception)
0001 DO_FCALL
0002 RETURN V0
LIVE RANGES:
0: 0001 - 0002 (new)
MediaWiki\Config\GlobalVarConfig::__construct:
; (lines=4, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/config/GlobalVarConfig.php:52-54
0000 CV0($prefix) = RECV_INIT 1 string("wg")
0001 ASSIGN_OBJ THIS string("prefix")
0002 OP_DATA CV0($prefix)
0003 RETURN null
MediaWiki\Config\GlobalVarConfig::get:
; (lines=17, args=1, vars=1, tmps=5)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/config/GlobalVarConfig.php:59-64
0000 CV0($name) = RECV 1
0001 INIT_METHOD_CALL 1 THIS string("has")
0002 SEND_VAR CV0($name) 1
0003 V1 = DO_FCALL
0004 JMPNZ V1 0013
0005 V1 = NEW 1 string("MediaWiki\\Config\\ConfigException")
0006 T4 = ROPE_INIT 3 string(": undefined option: '")
0007 T4 = ROPE_ADD 1 T4 CV0($name)
0008 T3 = ROPE_END 2 T4 string("'")
0009 T2 = FAST_CONCAT string("MediaWiki\\Config\\GlobalVarConfig::get") T3
0010 SEND_VAL_EX T2 1
0011 DO_FCALL
0012 THROW V1
0013 T1 = FETCH_OBJ_R THIS string("prefix")
0014 T2 = CONCAT T1 CV0($name)
0015 T1 = FETCH_R (global) T2
0016 RETURN T1
LIVE RANGES:
1: 0006 - 0012 (new)
4: 0006 - 0008 (rope)
MediaWiki\Config\GlobalVarConfig::has:
; (lines=12, args=1, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/config/GlobalVarConfig.php:69-76
0000 CV0($name) = RECV 1
0001 T2 = FETCH_OBJ_R THIS string("prefix")
0002 CV1($var) = CONCAT T2 CV0($name)
0003 T2 = ISSET_ISEMPTY_VAR (global) (isset) CV1($var)
0004 T2 = JMPNZ_EX T2 0011
0005 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Config\\array_key_exists")
0006 SEND_VAR_EX CV1($var) 1
0007 T3 = FETCH_GLOBALS
0008 SEND_VAL_EX T3 2
0009 V3 = DO_FCALL_BY_NAME
0010 T2 = BOOL V3
0011 RETURN T2
$_main:
; (lines=5, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/config/Config.php:1-55
0000 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Config\\class_alias")
0001 SEND_VAL_EX string("MediaWiki\\Config\\Config") 1
0002 SEND_VAL_EX string("Config") 2
0003 DO_FCALL_BY_NAME
0004 RETURN int(1)
$_main:
; (lines=5, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Output/OutputHandler.php:1-212
0000 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Output\\class_alias")
0001 SEND_VAL_EX string("MediaWiki\\Output\\OutputHandler") 1
0002 SEND_VAL_EX string("MediaWiki\\OutputHandler") 2
0003 DO_FCALL_BY_NAME
0004 RETURN int(1)
MediaWiki\Output\OutputHandler::handle:
; (lines=91, args=2, vars=6, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Output/OutputHandler.php:43-90
0000 CV0($s) = RECV 1
0001 CV1($phase) = RECV 2
0002 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("getInstance")
0003 V6 = DO_FCALL
0004 INIT_METHOD_CALL 0 V6 string("getMainConfig")
0005 V6 = DO_FCALL
0006 CV2($config) = QM_ASSIGN V6
0007 INIT_METHOD_CALL 1 CV2($config) string("get")
0008 T6 = FETCH_CLASS_CONSTANT string("MediaWiki\\MainConfigNames") string("DisableOutputCompression")
0009 SEND_VAL_EX T6 1
0010 V6 = DO_FCALL
0011 CV3($disableOutputCompression) = QM_ASSIGN V6
0012 T6 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Output\\PHP_OUTPUT_HANDLER_CLEAN")
0013 T7 = BW_AND CV1($phase) T6
0014 T8 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Output\\PHP_OUTPUT_HANDLER_CLEAN")
0015 T6 = IS_IDENTICAL T7 T8
0016 JMPZ T6 0034
0017 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\Logger\\LoggerFactory") string("getInstance")
0018 SEND_VAL_EX string("output") 1
0019 V6 = DO_FCALL
0020 CV4($logger) = QM_ASSIGN V6
0021 INIT_METHOD_CALL 2 CV4($logger) string("debug")
0022 T7 = FAST_CONCAT string(" entrypoint={entry}; size={size}; phase=") CV1($phase)
0023 T6 = FAST_CONCAT string("MediaWiki\\Output\\OutputHandler::handle") T7
0024 SEND_VAL_EX T6 1
0025 T7 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Output\\MW_ENTRY_POINT")
0026 T6 = INIT_ARRAY 2 T7 string("entry")
0027 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Output\\strlen")
0028 SEND_VAR_EX CV0($s) 1
0029 V7 = DO_FCALL_BY_NAME
0030 T6 = ADD_ARRAY_ELEMENT V7 string("size")
0031 SEND_VAL_EX T6 2
0032 DO_FCALL
0033 RETURN CV0($s)
0034 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Output\\ini_get")
0035 SEND_VAL_EX string("output_handler") 1
0036 V7 = DO_FCALL_BY_NAME
0037 T6 = IS_IDENTICAL V7 string("ob_gzhandler")
0038 T6 = JMPNZ_EX T6 0064
0039 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Output\\ini_get")
0040 SEND_VAL_EX string("zlib.output_handler") 1
0041 V7 = DO_FCALL_BY_NAME
0042 T6 = IS_IDENTICAL V7 string("ob_gzhandler")
0043 T6 = JMPNZ_EX T6 0064
0044 JMP_FRAMELESS 136 string("mediawiki\\output\\in_array") 0056
0045 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Output\\in_array")
0046 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Output\\strtolower")
0047 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Output\\ini_get")
0048 SEND_VAL_EX string("zlib.output_compression") 1
0049 V7 = DO_FCALL_BY_NAME
0050 SEND_VAR_NO_REF_EX V7 1
0051 V7 = DO_FCALL_BY_NAME
0052 SEND_VAR_NO_REF_EX V7 1
0053 SEND_VAL_EX array(...) 2
0054 V7 = DO_FCALL_BY_NAME
0055 JMP 0063
0056 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Output\\strtolower")
0057 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Output\\ini_get")
0058 SEND_VAL_EX string("zlib.output_compression") 1
0059 V8 = DO_FCALL_BY_NAME
0060 SEND_VAR_NO_REF_EX V8 1
0061 V8 = DO_FCALL_BY_NAME
0062 V7 = FRAMELESS_ICALL_2(in_array) V8 array(...)
0063 T6 = BOOL_NOT V7
0064 CV5($phpHandlesCompression) = QM_ASSIGN T6
0065 JMPNZ CV5($phpHandlesCompression) 0090
0066 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Output\\defined")
0067 SEND_VAL_EX string("MW_NO_OUTPUT_COMPRESSION") 1
0068 V6 = DO_FCALL_BY_NAME
0069 JMPNZ V6 0075
0070 JMPNZ CV3($disableOutputCompression) 0075
0071 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("handleGzip")
0072 SEND_VAR CV0($s) 1
0073 V6 = DO_FCALL
0074 ASSIGN CV0($s) V6
0075 JMPNZ CV5($phpHandlesCompression) 0090
0076 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Output\\ini_get")
0077 SEND_VAL_EX string("output_handler") 1
0078 V6 = DO_FCALL_BY_NAME
0079 JMPNZ V6 0090
0080 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Output\\ini_get")
0081 SEND_VAL_EX string("zlib.output_handler") 1
0082 V6 = DO_FCALL_BY_NAME
0083 JMPNZ V6 0090
0084 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("emitContentLength")
0085 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Output\\strlen")
0086 SEND_VAR_EX CV0($s) 1
0087 V6 = DO_FCALL_BY_NAME
0088 SEND_VAR V6 1
0089 DO_FCALL
0090 RETURN CV0($s)
LIVE RANGES:
7: 0014 - 0015 (tmp/var)
6: 0027 - 0031 (tmp/var)
MediaWiki\Output\OutputHandler::findUriExtension:
; (lines=39, args=0, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Output/OutputHandler.php:102-120
0000 T3 = FETCH_IS (global) string("_SERVER")
0001 T2 = ISSET_ISEMPTY_DIM_OBJ (isset) T3 string("REQUEST_URI")
0002 JMPZ T2 0013
0003 INIT_NS_FCALL_BY_NAME 3 string("MediaWiki\\Output\\explode")
0004 SEND_VAL_EX string("?") 1
0005 CHECK_FUNC_ARG 2
0006 V3 = FETCH_FUNC_ARG (global) string("_SERVER")
0007 V2 = FETCH_DIM_FUNC_ARG V3 string("REQUEST_URI")
0008 SEND_FUNC_ARG V2 2
0009 SEND_VAL_EX int(2) 3
0010 V2 = DO_FCALL_BY_NAME
0011 CV0($path) = FETCH_DIM_R V2 int(0)
0012 JMP 0020
0013 T3 = FETCH_IS (global) string("_SERVER")
0014 T2 = ISSET_ISEMPTY_DIM_OBJ (isset) T3 string("SCRIPT_NAME")
0015 JMPZ T2 0019
0016 T2 = FETCH_R (global) string("_SERVER")
0017 CV0($path) = FETCH_DIM_R T2 string("SCRIPT_NAME")
0018 JMP 0020
0019 RETURN string("")
0020 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Output\\strrpos")
0021 SEND_VAR_EX CV0($path) 1
0022 SEND_VAL_EX string(".") 2
0023 V2 = DO_FCALL_BY_NAME
0024 CV1($period) = QM_ASSIGN V2
0025 T2 = TYPE_CHECK TYPE [null, true, long, double, string, array, object, resource] CV1($period)
0026 JMPZ T2 0038
0027 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Output\\strtolower")
0028 JMP_FRAMELESS 32 string("mediawiki\\output\\substr") 0034
0029 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Output\\substr")
0030 SEND_VAR_EX CV0($path) 1
0031 SEND_VAR_EX CV1($period) 2
0032 V2 = DO_FCALL_BY_NAME
0033 JMP 0035
0034 V2 = FRAMELESS_ICALL_2(substr) CV0($path) CV1($period)
0035 SEND_VAR_NO_REF_EX V2 1
0036 V2 = DO_FCALL_BY_NAME
0037 RETURN V2
0038 RETURN string("")
MediaWiki\Output\OutputHandler::handleGzip:
; (lines=69, args=1, vars=6, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Output/OutputHandler.php:132-178
0000 CV0($s) = RECV 1
0001 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Output\\function_exists")
0002 SEND_VAL_EX string("gzencode") 1
0003 V6 = DO_FCALL_BY_NAME
0004 JMPNZ V6 0009
0005 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Output\\wfDebug")
0006 SEND_VAL_EX string("MediaWiki\\Output\\OutputHandler::handleGzip() skipping compression (gzencode unavailable)") 1
0007 DO_FCALL_BY_NAME
0008 RETURN CV0($s)
0009 INIT_NS_FCALL_BY_NAME 0 string("MediaWiki\\Output\\headers_sent")
0010 V6 = DO_FCALL_BY_NAME
0011 JMPZ V6 0016
0012 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Output\\wfDebug")
0013 SEND_VAL_EX string("MediaWiki\\Output\\OutputHandler::handleGzip() skipping compression (headers already sent)") 1
0014 DO_FCALL_BY_NAME
0015 RETURN CV0($s)
0016 INIT_STATIC_METHOD_CALL 0 (self) (exception) string("findUriExtension")
0017 V6 = DO_UCALL
0018 CV1($ext) = QM_ASSIGN V6
0019 T6 = IS_EQUAL CV1($ext) string(".gz")
0020 JMPNZ T6 0023
0021 T6 = IS_EQUAL CV1($ext) string(".tgz")
0022 JMPZ T6 0024
0023 RETURN CV0($s)
0024 T6 = IS_IDENTICAL CV0($s) string("")
0025 JMPZ T6 0027
0026 RETURN CV0($s)
0027 INIT_NS_FCALL_BY_NAME 0 string("MediaWiki\\Output\\wfClientAcceptsGzip")
0028 V6 = DO_FCALL_BY_NAME
0029 JMPZ V6 0041
0030 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Output\\wfDebug")
0031 SEND_VAL_EX string("MediaWiki\\Output\\OutputHandler::handleGzip() is compressing output") 1
0032 DO_FCALL_BY_NAME
0033 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Output\\header")
0034 SEND_VAL_EX string("Content-Encoding: gzip") 1
0035 DO_FCALL_BY_NAME
0036 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Output\\gzencode")
0037 SEND_VAR_EX CV0($s) 1
0038 SEND_VAL_EX int(6) 2
0039 V6 = DO_FCALL_BY_NAME
0040 ASSIGN CV0($s) V6
0041 INIT_NS_FCALL_BY_NAME 0 string("MediaWiki\\Output\\headers_list")
0042 V6 = DO_FCALL_BY_NAME
0043 CV2($headers) = QM_ASSIGN V6
0044 CV3($foundVary) = QM_ASSIGN bool(false)
0045 V6 = FE_RESET_R CV2($headers) 0063
0046 FE_FETCH_R V6 CV4($header) 0063
0047 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Output\\strtolower")
0048 JMP_FRAMELESS 88 string("mediawiki\\output\\substr") 0055
0049 INIT_NS_FCALL_BY_NAME 3 string("MediaWiki\\Output\\substr")
0050 SEND_VAR_EX CV4($header) 1
0051 SEND_VAL_EX int(0) 2
0052 SEND_VAL_EX int(5) 3
0053 V7 = DO_FCALL_BY_NAME
0054 JMP 0057
0055 V7 = FRAMELESS_ICALL_3(substr) CV4($header) int(0)
0056 OP_DATA int(5)
0057 SEND_VAR_NO_REF_EX V7 1
0058 V7 = DO_FCALL_BY_NAME
0059 ASSIGN CV5($headerName) V7
0060 T7 = IS_EQUAL CV5($headerName) string("vary:")
0061 JMPZ T7 0046
0062 CV3($foundVary) = QM_ASSIGN bool(true)
0063 FE_FREE V6
0064 JMPNZ CV3($foundVary) 0068
0065 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Output\\header")
0066 SEND_VAL_EX string("Vary: Accept-Encoding") 1
0067 DO_FCALL_BY_NAME
0068 RETURN CV0($s)
LIVE RANGES:
6: 0046 - 0063 (loop)
7: 0056 - 0057 (tmp/var)
MediaWiki\Output\OutputHandler::emitContentLength:
; (lines=33, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Output/OutputHandler.php:195-207
0000 CV0($length) = RECV 1
0001 INIT_NS_FCALL_BY_NAME 0 string("MediaWiki\\Output\\headers_sent")
0002 V1 = DO_FCALL_BY_NAME
0003 JMPZ V1 0008
0004 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Output\\wfDebug")
0005 SEND_VAL_EX string("MediaWiki\\Output\\OutputHandler::emitContentLength() headers already sent") 1
0006 DO_FCALL_BY_NAME
0007 RETURN null
0008 JMP_FRAMELESS 24 string("mediawiki\\output\\in_array") 0017
0009 INIT_NS_FCALL_BY_NAME 3 string("MediaWiki\\Output\\in_array")
0010 INIT_NS_FCALL_BY_NAME 0 string("MediaWiki\\Output\\http_response_code")
0011 V1 = DO_FCALL_BY_NAME
0012 SEND_VAR_NO_REF_EX V1 1
0013 SEND_VAL_EX array(...) 2
0014 SEND_VAL_EX bool(true) 3
0015 V1 = DO_FCALL_BY_NAME
0016 JMP 0021
0017 INIT_NS_FCALL_BY_NAME 0 string("MediaWiki\\Output\\http_response_code")
0018 V2 = DO_FCALL_BY_NAME
0019 V1 = FRAMELESS_ICALL_3(in_array) V2 array(...)
0020 OP_DATA bool(true)
0021 JMPNZ V1 0028
0022 T2 = FETCH_IS (global) string("_SERVER")
0023 T1 = FETCH_DIM_IS T2 string("SERVER_PROTOCOL")
0024 T2 = COALESCE T1 0026
0025 T2 = QM_ASSIGN null
0026 T1 = IS_IDENTICAL T2 string("HTTP/1.0")
0027 JMPZ T1 0032
0028 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Output\\header")
0029 T1 = FAST_CONCAT string("Content-Length: ") CV0($length)
0030 SEND_VAL_EX T1 1
0031 DO_FCALL_BY_NAME
0032 RETURN null
LIVE RANGES:
1: 0020 - 0021 (tmp/var)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/DynamicDefaultValues.php:1-97
0000 RETURN int(1)
MediaWiki\Settings\DynamicDefaultValues::__construct:
; (lines=9, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/DynamicDefaultValues.php:21-24
0000 CV0($configSchema) = RECV 1
0001 ASSIGN_OBJ THIS string("configSchema")
0002 OP_DATA CV0($configSchema)
0003 T1 = FETCH_OBJ_R THIS string("configSchema")
0004 INIT_METHOD_CALL 0 T1 string("getDynamicDefaults")
0005 V1 = DO_FCALL
0006 ASSIGN_OBJ THIS string("declarations")
0007 OP_DATA V1
0008 RETURN null
MediaWiki\Settings\DynamicDefaultValues::applyDynamicDefaults:
; (lines=14, args=1, vars=4, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/DynamicDefaultValues.php:33-39
0000 CV0($configBuilder) = RECV 1
0001 CV1($alreadyComputed) = QM_ASSIGN array(...)
0002 T5 = FETCH_OBJ_R THIS string("declarations")
0003 V4 = FE_RESET_R T5 0012
0004 T5 = FE_FETCH_R V4 CV2($unused) 0012
0005 ASSIGN CV3($key) T5
0006 INIT_METHOD_CALL 3 THIS string("computeDefaultFor")
0007 SEND_VAR CV3($key) 1
0008 SEND_VAR CV0($configBuilder) 2
0009 SEND_REF CV1($alreadyComputed) 3
0010 DO_FCALL
0011 JMP 0004
0012 FE_FREE V4
0013 RETURN null
LIVE RANGES:
4: 0004 - 0012 (loop)
MediaWiki\Settings\DynamicDefaultValues::computeDefaultFor:
; (lines=82, args=4, vars=8, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/Settings/DynamicDefaultValues.php:51-95
0000 CV0($key) = RECV 1
0001 CV1($configBuilder) = RECV 2
0002 CV2($alreadyComputed) = RECV_INIT 3 array(...)
0003 CV3($currentlyComputing) = RECV_INIT 4 array(...)
0004 T9 = FETCH_OBJ_IS THIS string("declarations")
0005 T8 = ISSET_ISEMPTY_DIM_OBJ (isset) T9 CV0($key)
0006 JMPZ T8 0009
0007 T8 = ISSET_ISEMPTY_DIM_OBJ (isset) CV2($alreadyComputed) CV0($key)
0008 JMPZ T8 0010
0009 RETURN null
0010 T8 = ISSET_ISEMPTY_DIM_OBJ (isset) CV3($currentlyComputing) CV0($key)
0011 JMPZ T8 0032
0012 V8 = NEW 1 string("LogicException")
0013 JMP_FRAMELESS 48 string("mediawiki\\settings\\implode") 0022
0014 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Settings\\implode")
0015 SEND_VAL_EX string(" -> ") 1
0016 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\array_keys")
0017 SEND_VAR_EX CV3($currentlyComputing) 1
0018 V9 = DO_FCALL_BY_NAME
0019 SEND_VAR_NO_REF_EX V9 2
0020 V9 = DO_FCALL_BY_NAME
0021 JMP 0026
0022 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Settings\\array_keys")
0023 SEND_VAR_EX CV3($currentlyComputing) 1
0024 V10 = DO_FCALL_BY_NAME
0025 V9 = FRAMELESS_ICALL_2(implode) string(" -> ") V10
0026 T10 = CONCAT string("Cyclic dependency when computing dynamic default: ") V9
0027 T11 = FAST_CONCAT string(" -> ") CV0($key)
0028 T9 = FAST_CONCAT T10 T11
0029 SEND_VAL_EX T9 1
0030 DO_FCALL
0031 THROW V8
0032 INIT_METHOD_CALL 1 CV1($configBuilder) string("get")
0033 SEND_VAR_EX CV0($key) 1
0034 V9 = DO_FCALL
0035 T8 = FETCH_OBJ_R THIS string("configSchema")
0036 INIT_METHOD_CALL 1 T8 string("getDefaultFor")
0037 SEND_VAR_EX CV0($key) 1
0038 V10 = DO_FCALL
0039 T8 = IS_NOT_IDENTICAL V9 V10
0040 JMPZ T8 0044
0041 ASSIGN_DIM CV2($alreadyComputed) CV0($key)
0042 OP_DATA bool(true)
0043 RETURN null
0044 ASSIGN_DIM CV3($currentlyComputing) CV0($key)
0045 OP_DATA bool(true)
0046 T9 = FETCH_OBJ_R THIS string("declarations")
0047 T8 = FETCH_DIM_R T9 CV0($key)
0048 CV4($callback) = FETCH_DIM_R T8 string("callback")
0049 T9 = FETCH_OBJ_IS THIS string("declarations")
0050 T8 = FETCH_DIM_IS T9 CV0($key)
0051 T9 = FETCH_DIM_IS T8 string("use")
0052 T8 = COALESCE T9 0054
0053 T8 = QM_ASSIGN array(...)
0054 CV5($argNames) = QM_ASSIGN T8
0055 CV6($args) = QM_ASSIGN array(...)
0056 V8 = FE_RESET_R CV5($argNames) 0070
0057 FE_FETCH_R V8 CV7($argName) 0070
0058 INIT_METHOD_CALL 4 THIS string("computeDefaultFor")
0059 SEND_VAR CV7($argName) 1
0060 SEND_VAR CV1($configBuilder) 2
0061 SEND_REF CV2($alreadyComputed) 3
0062 SEND_VAR CV3($currentlyComputing) 4
0063 DO_UCALL
0064 INIT_METHOD_CALL 1 CV1($configBuilder) string("get")
0065 SEND_VAR_EX CV7($argName) 1
0066 V9 = DO_FCALL
0067 ASSIGN_DIM CV6($args) NEXT
0068 OP_DATA V9
0069 JMP 0057
0070 FE_FREE V8
0071 INIT_METHOD_CALL 2 CV1($configBuilder) string("set")
0072 SEND_VAR_EX CV0($key) 1
0073 INIT_DYNAMIC_CALL 0 CV4($callback)
0074 SEND_UNPACK CV6($args)
0075 CHECK_UNDEF_ARGS
0076 V8 = DO_FCALL
0077 SEND_VAR_NO_REF_EX V8 2
0078 DO_FCALL
0079 ASSIGN_DIM CV2($alreadyComputed) CV0($key)
0080 OP_DATA bool(true)
0081 RETURN null
LIVE RANGES:
8: 0013 - 0031 (new)
10: 0027 - 0028 (tmp/var)
9: 0035 - 0039 (tmp/var)
8: 0057 - 0070 (loop)
$_main:
; (lines=2, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigSchema.php:1-12820
0000 DECLARE_CLASS string("mediawiki\\mainconfigschema")
0001 RETURN int(1)
MediaWiki\MainConfigSchema::listDefaultValues:
; (lines=33, args=1, vars=5, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigSchema.php:147-168
0000 CV0($prefix) = RECV_INIT 1 string("")
0001 GENERATOR_CREATE
0002 V5 = NEW 1 string("ReflectionClass")
0003 SEND_VAL_EX string("MediaWiki\\MainConfigSchema") 1
0004 DO_FCALL
0005 CV1($class) = QM_ASSIGN V5
0006 INIT_METHOD_CALL 0 CV1($class) string("getReflectionConstants")
0007 V6 = DO_FCALL
0008 V5 = FE_RESET_R V6 0031
0009 FE_FETCH_R V5 CV2($const) 0031
0010 INIT_METHOD_CALL 0 CV2($const) string("isPublic")
0011 V6 = DO_FCALL
0012 JMPZ V6 0009
0013 INIT_METHOD_CALL 0 CV2($const) string("getValue")
0014 V6 = DO_FCALL
0015 ASSIGN CV3($value) V6
0016 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\is_array")
0017 SEND_VAR_EX CV3($value) 1
0018 V6 = DO_FCALL_BY_NAME
0019 JMPZ V6 0009
0020 T6 = ISSET_ISEMPTY_DIM_OBJ (isset) CV3($value) string("obsolete")
0021 JMPNZ T6 0009
0022 INIT_METHOD_CALL 0 CV2($const) string("getName")
0023 V6 = DO_FCALL
0024 ASSIGN CV4($name) V6
0025 T7 = FAST_CONCAT CV0($prefix) CV4($name)
0026 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("getDefaultFromJsonSchema")
0027 SEND_VAR_EX CV3($value) 1
0028 V6 = DO_FCALL
0029 YIELD V6 T7
0030 JMP 0009
0031 FE_FREE V5
0032 GENERATOR_RETURN null
LIVE RANGES:
5: 0003 - 0005 (new)
5: 0009 - 0031 (loop)
7: 0026 - 0029 (tmp/var)
MediaWiki\MainConfigSchema::getDefaultValue:
; (lines=31, args=1, vars=3, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigSchema.php:182-195
0000 CV0($name) = RECV 1
0001 V3 = NEW 1 string("ReflectionClass")
0002 SEND_VAL_EX string("MediaWiki\\MainConfigSchema") 1
0003 DO_FCALL
0004 CV1($class) = QM_ASSIGN V3
0005 INIT_METHOD_CALL 1 CV1($class) string("hasConstant")
0006 SEND_VAR_EX CV0($name) 1
0007 V3 = DO_FCALL
0008 JMPNZ V3 0014
0009 V3 = NEW 1 string("InvalidArgumentException")
0010 T4 = FAST_CONCAT string("Unknown setting: ") CV0($name)
0011 SEND_VAL_EX T4 1
0012 DO_FCALL
0013 THROW V3
0014 INIT_METHOD_CALL 1 CV1($class) string("getConstant")
0015 SEND_VAR_EX CV0($name) 1
0016 V3 = DO_FCALL
0017 CV2($value) = QM_ASSIGN V3
0018 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\is_array")
0019 SEND_VAR_EX CV2($value) 1
0020 V3 = DO_FCALL_BY_NAME
0021 JMPNZ V3 0027
0022 V3 = NEW 1 string("InvalidArgumentException")
0023 T4 = FAST_CONCAT string("Unknown setting: ") CV0($name)
0024 SEND_VAL_EX T4 1
0025 DO_FCALL
0026 THROW V3
0027 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("getDefaultFromJsonSchema")
0028 SEND_VAR_EX CV2($value) 1
0029 V3 = DO_FCALL
0030 RETURN V3
LIVE RANGES:
3: 0002 - 0004 (new)
3: 0010 - 0013 (new)
3: 0023 - 0026 (new)
MediaWiki\MainConfigSchema::getDefaultUsePathInfo:
; (lines=33, args=0, vars=0, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigSchema.php:354-362
0000 JMP_FRAMELESS 8 string("mediawiki\\str_contains") 0007
0001 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\str_contains")
0002 T0 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\PHP_SAPI")
0003 SEND_VAL_EX T0 1
0004 SEND_VAL_EX string("cgi") 2
0005 V1 = DO_FCALL_BY_NAME
0006 JMP 0009
0007 T0 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\PHP_SAPI")
0008 V1 = FRAMELESS_ICALL_2(str_contains) T0 string("cgi")
0009 T0 = BOOL_NOT V1
0010 T0 = JMPZ_EX T0 0032
0011 JMP_FRAMELESS 32 string("mediawiki\\str_contains") 0018
0012 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\str_contains")
0013 T1 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\PHP_SAPI")
0014 SEND_VAL_EX T1 1
0015 SEND_VAL_EX string("apache2filter") 2
0016 V1 = DO_FCALL_BY_NAME
0017 JMP 0020
0018 T2 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\PHP_SAPI")
0019 V1 = FRAMELESS_ICALL_2(str_contains) T2 string("apache2filter")
0020 T0 = BOOL_NOT V1
0021 T0 = JMPZ_EX T0 0032
0022 JMP_FRAMELESS 40 string("mediawiki\\str_contains") 0029
0023 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\str_contains")
0024 T1 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\PHP_SAPI")
0025 SEND_VAL_EX T1 1
0026 SEND_VAL_EX string("isapi") 2
0027 V1 = DO_FCALL_BY_NAME
0028 JMP 0031
0029 T2 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\PHP_SAPI")
0030 V1 = FRAMELESS_ICALL_2(str_contains) T2 string("isapi")
0031 T0 = BOOL_NOT V1
0032 RETURN T0
MediaWiki\MainConfigSchema::getDefaultScript:
; (lines=3, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigSchema.php:378-380
0000 CV0($scriptPath) = RECV 1
0001 T1 = FAST_CONCAT CV0($scriptPath) string("/index.php")
0002 RETURN T1
MediaWiki\MainConfigSchema::getDefaultLoadScript:
; (lines=3, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigSchema.php:398-400
0000 CV0($scriptPath) = RECV 1
0001 T1 = FAST_CONCAT CV0($scriptPath) string("/load.php")
0002 RETURN T1
MediaWiki\MainConfigSchema::getDefaultRestPath:
; (lines=3, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigSchema.php:417-419
0000 CV0($scriptPath) = RECV 1
0001 T1 = FAST_CONCAT CV0($scriptPath) string("/rest.php")
0002 RETURN T1
MediaWiki\MainConfigSchema::getDefaultStylePath:
; (lines=3, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigSchema.php:437-439
0000 CV0($resourceBasePath) = RECV 1
0001 T1 = FAST_CONCAT CV0($resourceBasePath) string("/skins")
0002 RETURN T1
MediaWiki\MainConfigSchema::getDefaultLocalStylePath:
; (lines=3, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigSchema.php:457-460
0000 CV0($scriptPath) = RECV 1
0001 T1 = FAST_CONCAT CV0($scriptPath) string("/skins")
0002 RETURN T1
MediaWiki\MainConfigSchema::getDefaultExtensionAssetsPath:
; (lines=3, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigSchema.php:478-480
0000 CV0($resourceBasePath) = RECV 1
0001 T1 = FAST_CONCAT CV0($resourceBasePath) string("/extensions")
0002 RETURN T1
MediaWiki\MainConfigSchema::getDefaultArticlePath:
; (lines=7, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigSchema.php:536-541
0000 CV0($script) = RECV 1
0001 CV1($usePathInfo) = RECV 2
0002 JMPZ CV1($usePathInfo) 0005
0003 T2 = FAST_CONCAT CV0($script) string("/$1")
0004 RETURN T2
0005 T2 = FAST_CONCAT CV0($script) string("?title=$1")
0006 RETURN T2
MediaWiki\MainConfigSchema::getDefaultUploadPath:
; (lines=3, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigSchema.php:557-559
0000 CV0($scriptPath) = RECV 1
0001 T1 = FAST_CONCAT CV0($scriptPath) string("/images")
0002 RETURN T1
MediaWiki\MainConfigSchema::getDefaultUploadDirectory:
; (lines=3, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigSchema.php:599-601
0000 CV0($baseDirectory) = RECV 1
0001 T1 = FAST_CONCAT CV0($baseDirectory) string("/images")
0002 RETURN T1
MediaWiki\MainConfigSchema::getDefaultFileCacheDirectory:
; (lines=3, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigSchema.php:617-619
0000 CV0($uploadDirectory) = RECV 1
0001 T1 = FAST_CONCAT CV0($uploadDirectory) string("/cache")
0002 RETURN T1
MediaWiki\MainConfigSchema::getDefaultLogo:
; (lines=3, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigSchema.php:638-640
0000 CV0($resourceBasePath) = RECV 1
0001 T1 = FAST_CONCAT CV0($resourceBasePath) string("/resources/assets/change-your-logo.svg")
0002 RETURN T1
MediaWiki\MainConfigSchema::getDefaultDeletedDirectory:
; (lines=3, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigSchema.php:901-903
0000 CV0($uploadDirectory) = RECV 1
0001 T1 = FAST_CONCAT CV0($uploadDirectory) string("/deleted")
0002 RETURN T1
MediaWiki\MainConfigSchema::getDefaultLocalFileRepo:
; (lines=37, args=10, vars=10, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigSchema.php:1075-1095
0000 CV0($uploadDirectory) = RECV 1
0001 CV1($scriptPath) = RECV 2
0002 CV2($favicon) = RECV 3
0003 CV3($uploadBaseUrl) = RECV 4
0004 CV4($uploadPath) = RECV 5
0005 CV5($hashedUploadDirectory) = RECV 6
0006 CV6($thumbnailScriptPath) = RECV 7
0007 CV7($generateThumbnailOnParse) = RECV 8
0008 CV8($deletedDirectory) = RECV 9
0009 CV9($updateCompatibleMetadata) = RECV 10
0010 T10 = INIT_ARRAY 13 string("LocalRepo") string("class")
0011 T10 = ADD_ARRAY_ELEMENT string("local") string("name")
0012 T10 = ADD_ARRAY_ELEMENT CV0($uploadDirectory) string("directory")
0013 T10 = ADD_ARRAY_ELEMENT CV1($scriptPath) string("scriptDirUrl")
0014 T10 = ADD_ARRAY_ELEMENT CV2($favicon) string("favicon")
0015 JMPZ CV3($uploadBaseUrl) 0018
0016 T11 = CONCAT CV3($uploadBaseUrl) CV4($uploadPath)
0017 JMP 0019
0018 T11 = QM_ASSIGN CV4($uploadPath)
0019 T10 = ADD_ARRAY_ELEMENT T11 string("url")
0020 JMPZ CV5($hashedUploadDirectory) 0023
0021 T11 = QM_ASSIGN int(2)
0022 JMP 0024
0023 T11 = QM_ASSIGN int(0)
0024 T10 = ADD_ARRAY_ELEMENT T11 string("hashLevels")
0025 T10 = ADD_ARRAY_ELEMENT CV6($thumbnailScriptPath) string("thumbScriptUrl")
0026 T11 = BOOL_NOT CV7($generateThumbnailOnParse)
0027 T10 = ADD_ARRAY_ELEMENT T11 string("transformVia404")
0028 T10 = ADD_ARRAY_ELEMENT CV8($deletedDirectory) string("deletedDir")
0029 JMPZ CV5($hashedUploadDirectory) 0032
0030 T11 = QM_ASSIGN int(3)
0031 JMP 0033
0032 T11 = QM_ASSIGN int(0)
0033 T10 = ADD_ARRAY_ELEMENT T11 string("deletedHashLevels")
0034 T10 = ADD_ARRAY_ELEMENT CV9($updateCompatibleMetadata) string("updateCompatibleMetadata")
0035 T10 = ADD_ARRAY_ELEMENT CV9($updateCompatibleMetadata) string("reserializeMetadata")
0036 RETURN T10
LIVE RANGES:
10: 0011 - 0036 (tmp/var)
MediaWiki\MainConfigSchema::getDefaultShowEXIF:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigSchema.php:1390-1392
0000 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\function_exists")
0001 SEND_VAL_EX string("exif_read_data") 1
0002 V0 = DO_FCALL_BY_NAME
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MainConfigSchema::getDefaultSharedPrefix:
; (lines=2, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigSchema.php:3032-3034
0000 CV0($dbPrefix) = RECV 1
0001 RETURN CV0($dbPrefix)
MediaWiki\MainConfigSchema::getDefaultSharedSchema:
; (lines=2, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigSchema.php:3062-3064
0000 CV0($dbMwschema) = RECV 1
0001 RETURN CV0($dbMwschema)
MediaWiki\MainConfigSchema::getDefaultDBerrorLogTZ:
; (lines=6, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigSchema.php:3190-3195
0000 CV0($localtimezone) = RECV 1
0001 T1 = JMP_SET CV0($localtimezone) 0005
0002 INIT_STATIC_METHOD_CALL 0 (self) (exception) string("getDefaultLocaltimezone")
0003 V2 = DO_FCALL
0004 T1 = QM_ASSIGN V2
0005 RETURN T1
MediaWiki\MainConfigSchema::getDefaultLocaltimezone:
; (lines=7, args=0, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigSchema.php:5058-5069
0000 INIT_NS_FCALL_BY_NAME 0 string("MediaWiki\\date_default_timezone_get")
0001 V1 = DO_FCALL_BY_NAME
0002 CV0($localtimezone) = QM_ASSIGN V1
0003 JMPNZ CV0($localtimezone) 0005
0004 ASSIGN CV0($localtimezone) string("UTC")
0005 VERIFY_RETURN_TYPE CV0($localtimezone)
0006 RETURN CV0($localtimezone)
MediaWiki\MainConfigSchema::getDefaultLocalTZoffset:
; (lines=18, args=1, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigSchema.php:5084-5092
0000 CV0($localtimezone) = RECV 1
0001 T2 = JMP_SET CV0($localtimezone) 0005
0002 INIT_STATIC_METHOD_CALL 0 (self) (exception) string("getDefaultLocaltimezone")
0003 V3 = DO_UCALL
0004 T2 = QM_ASSIGN V3
0005 ASSIGN CV0($localtimezone) T2
0006 V2 = NEW 1 string("DateTimeZone")
0007 SEND_VAR_EX CV0($localtimezone) 1
0008 DO_FCALL
0009 INIT_METHOD_CALL 1 V2 string("getOffset")
0010 V2 = NEW 0 string("DateTime")
0011 DO_FCALL
0012 SEND_VAR_NO_REF_EX V2 1
0013 V2 = DO_FCALL
0014 CV1($offset) = QM_ASSIGN V2
0015 T3 = DIV CV1($offset) int(60)
0016 T2 = CAST (long) T3
0017 RETURN T2
LIVE RANGES:
2: 0007 - 0009 (new)
2: 0011 - 0012 (new)
MediaWiki\MainConfigSchema::getDefaultResourceBasePath:
; (lines=3, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigSchema.php:5877-5879
0000 CV0($scriptPath) = RECV 1
0001 VERIFY_RETURN_TYPE CV0($scriptPath)
0002 RETURN CV0($scriptPath)
MediaWiki\MainConfigSchema::getDefaultMetaNamespace:
; (lines=12, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigSchema.php:6036-6038
0000 CV0($sitename) = RECV 1
0001 JMP_FRAMELESS 8 string("mediawiki\\str_replace") 0008
0002 INIT_NS_FCALL_BY_NAME 3 string("MediaWiki\\str_replace")
0003 SEND_VAL_EX string(" ") 1
0004 SEND_VAL_EX string("_") 2
0005 SEND_VAR_EX CV0($sitename) 3
0006 V1 = DO_FCALL_BY_NAME
0007 JMP 0010
0008 V1 = FRAMELESS_ICALL_3(str_replace) string(" ") string("_")
0009 OP_DATA CV0($sitename)
0010 VERIFY_RETURN_TYPE V1
0011 RETURN V1
LIVE RANGES:
1: 0009 - 0011 (tmp/var)
MediaWiki\MainConfigSchema::getDefaultCookieSecure:
; (lines=6, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigSchema.php:9396-9398
0000 CV0($forceHTTPS) = RECV 1
0001 T1 = JMPNZ_EX CV0($forceHTTPS) 0005
0002 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Request\\WebRequest") string("detectProtocol")
0003 V2 = DO_FCALL
0004 T1 = IS_IDENTICAL V2 string("https")
0005 RETURN T1
MediaWiki\MainConfigSchema::getDefaultCookiePrefix:
; (lines=26, args=5, vars=5, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigSchema.php:9412-9419
0000 CV0($sharedDB) = RECV 1
0001 CV1($sharedPrefix) = RECV 2
0002 CV2($sharedTables) = RECV 3
0003 CV3($dbName) = RECV 4
0004 CV4($dbPrefix) = RECV 5
0005 JMPZ CV0($sharedDB) 0020
0006 JMP_FRAMELESS 8 string("mediawiki\\in_array") 0012
0007 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\in_array")
0008 SEND_VAL_EX string("user") 1
0009 SEND_VAR_EX CV2($sharedTables) 2
0010 V5 = DO_FCALL_BY_NAME
0011 JMP 0013
0012 V5 = FRAMELESS_ICALL_2(in_array) string("user") CV2($sharedTables)
0013 JMPZ V5 0020
0014 JMPZ CV1($sharedPrefix) 0017
0015 T6 = FAST_CONCAT string("_") CV1($sharedPrefix)
0016 JMP 0018
0017 T6 = QM_ASSIGN string("")
0018 T5 = CONCAT CV0($sharedDB) T6
0019 RETURN T5
0020 JMPZ CV4($dbPrefix) 0023
0021 T6 = FAST_CONCAT string("_") CV4($dbPrefix)
0022 JMP 0024
0023 T6 = QM_ASSIGN string("")
0024 T5 = CONCAT CV3($dbName) T6
0025 RETURN T5
MediaWiki\MainConfigSchema::getDefaultReadOnlyFile:
; (lines=3, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MainConfigSchema.php:10267-10269
0000 CV0($uploadDirectory) = RECV 1
0001 T1 = FAST_CONCAT CV0($uploadDirectory) string("/lock_yBgMBwiR")
0002 RETURN T1
$_main:
; (lines=368, args=0, vars=87, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/SetupDynamicConfig.php:1-361
0000 T87 = TYPE_CHECK TYPE [null, true, long, double, string, array, object, resource] CV0($wgLogos)
0001 JMPZ T87 0006
0002 T87 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($wgLogos) string("1x")
0003 JMPZ T87 0006
0004 T87 = FETCH_DIM_R CV0($wgLogos) string("1x")
0005 ASSIGN CV1($wgLogo) T87
0006 T87 = ISSET_ISEMPTY_CV (isset) CV2($wgFileBlacklist)
0007 JMPZ T87 0014
0008 INIT_FCALL 2 112 string("array_merge")
0009 SEND_VAR CV3($wgProhibitedFileExtensions) 1
0010 SEND_VAR CV2($wgFileBlacklist) 2
0011 V87 = DO_ICALL
0012 ASSIGN CV3($wgProhibitedFileExtensions) V87
0013 JMP 0015
0014 ASSIGN CV2($wgFileBlacklist) CV3($wgProhibitedFileExtensions)
0015 T87 = ISSET_ISEMPTY_CV (isset) CV4($wgMimeTypeBlacklist)
0016 JMPZ T87 0023
0017 INIT_FCALL 2 112 string("array_merge")
0018 SEND_VAR CV5($wgMimeTypeExclusions) 1
0019 SEND_VAR CV4($wgMimeTypeBlacklist) 2
0020 V87 = DO_ICALL
0021 ASSIGN CV5($wgMimeTypeExclusions) V87
0022 JMP 0024
0023 ASSIGN CV4($wgMimeTypeBlacklist) CV5($wgMimeTypeExclusions)
0024 T87 = ISSET_ISEMPTY_CV (isset) CV6($wgEnableUserEmailBlacklist)
0025 JMPZ T87 0028
0026 ASSIGN CV7($wgEnableUserEmailMuteList) CV6($wgEnableUserEmailBlacklist)
0027 JMP 0029
0028 ASSIGN CV6($wgEnableUserEmailBlacklist) CV7($wgEnableUserEmailMuteList)
0029 T87 = ISSET_ISEMPTY_CV (isset) CV8($wgShortPagesNamespaceBlacklist)
0030 JMPZ T87 0033
0031 ASSIGN CV9($wgShortPagesNamespaceExclusions) CV8($wgShortPagesNamespaceBlacklist)
0032 JMP 0034
0033 ASSIGN CV8($wgShortPagesNamespaceBlacklist) CV9($wgShortPagesNamespaceExclusions)
0034 T87 = ISSET_ISEMPTY_DIM_OBJ (isset) CV10($wgRateLimits) string("emailuser")
0035 JMPZ T87 0042
0036 INIT_METHOD_CALL 1 CV11($wgSettings) string("warning")
0037 SEND_VAL_EX string("RateLimit: The \"emailuser\" limit is deprecated, use \"sendemail\" instead.") 1
0038 DO_FCALL
0039 T87 = FETCH_DIM_R CV10($wgRateLimits) string("emailuser")
0040 ASSIGN_DIM CV10($wgRateLimits) string("sendemail")
0041 OP_DATA T87
0042 T87 = ISSET_ISEMPTY_DIM_OBJ (isset) CV10($wgRateLimits) string("changetag")
0043 JMPZ T87 0050
0044 INIT_METHOD_CALL 1 CV11($wgSettings) string("warning")
0045 SEND_VAL_EX string("RateLimit: The \"changetag\" limit is deprecated, use \"changetags\" instead.") 1
0046 DO_FCALL
0047 T87 = FETCH_DIM_R CV10($wgRateLimits) string("changetag")
0048 ASSIGN_DIM CV10($wgRateLimits) string("changetags")
0049 OP_DATA T87
0050 INIT_FCALL 1 96 string("array_values")
0051 INIT_FCALL 2 112 string("array_diff")
0052 SEND_VAR CV12($wgFileExtensions) 1
0053 SEND_VAR CV3($wgProhibitedFileExtensions) 2
0054 V87 = DO_ICALL
0055 SEND_VAR V87 1
0056 V87 = DO_ICALL
0057 ASSIGN CV12($wgFileExtensions) V87
0058 JMPZ CV13($wgRightsIcon) 0064
0059 T88 = FAST_CONCAT CV14($wgStylePath) string("/common/images/")
0060 T89 = FAST_CONCAT CV15($wgResourceBasePath) string("/resources/assets/licenses/")
0061 T87 = FRAMELESS_ICALL_3(str_replace) T88 T89
0062 OP_DATA CV13($wgRightsIcon)
0063 ASSIGN CV13($wgRightsIcon) T87
0064 T88 = FETCH_DIM_IS CV16($wgFooterIcons) string("copyright")
0065 T87 = ISSET_ISEMPTY_DIM_OBJ (isset) T88 string("copyright")
0066 JMPZ T87 0079
0067 T89 = FETCH_DIM_R CV16($wgFooterIcons) string("copyright")
0068 T88 = FETCH_DIM_R T89 string("copyright")
0069 T87 = IS_IDENTICAL T88 array(...)
0070 JMPZ T87 0079
0071 JMPNZ CV13($wgRightsIcon) 0073
0072 JMPZ CV17($wgRightsText) 0079
0073 T87 = INIT_ARRAY 3 CV18($wgRightsUrl) string("url")
0074 T87 = ADD_ARRAY_ELEMENT CV13($wgRightsIcon) string("src")
0075 T87 = ADD_ARRAY_ELEMENT CV17($wgRightsText) string("alt")
0076 V88 = FETCH_DIM_W CV16($wgFooterIcons) string("copyright")
0077 ASSIGN_DIM V88 string("copyright")
0078 OP_DATA T87
0079 T87 = ISSET_ISEMPTY_DIM_OBJ (isset) CV16($wgFooterIcons) string("poweredby")
0080 JMPZ T87 0101
0081 T88 = FETCH_DIM_IS CV16($wgFooterIcons) string("poweredby")
0082 T87 = ISSET_ISEMPTY_DIM_OBJ (isset) T88 string("mediawiki")
0083 JMPZ T87 0101
0084 T88 = FETCH_DIM_R CV16($wgFooterIcons) string("poweredby")
0085 T89 = FETCH_DIM_R T88 string("mediawiki")
0086 T88 = FETCH_DIM_R T89 string("src")
0087 T87 = TYPE_CHECK (null) T88
0088 JMPZ T87 0101
0089 T87 = FAST_CONCAT CV15($wgResourceBasePath) string("/resources/assets/poweredby_mediawiki_88x31.png")
0090 V89 = FETCH_DIM_W CV16($wgFooterIcons) string("poweredby")
0091 V88 = FETCH_DIM_W V89 string("mediawiki")
0092 ASSIGN_DIM V88 string("src")
0093 OP_DATA T87
0094 T88 = FAST_CONCAT CV15($wgResourceBasePath) string("/resources/assets/poweredby_mediawiki_132x47.png 1.5x, ")
0095 T89 = FAST_CONCAT CV15($wgResourceBasePath) string("/resources/assets/poweredby_mediawiki_176x62.png 2x")
0096 T87 = FAST_CONCAT T88 T89
0097 V89 = FETCH_DIM_W CV16($wgFooterIcons) string("poweredby")
0098 V88 = FETCH_DIM_W V89 string("mediawiki")
0099 ASSIGN_DIM V88 string("srcset")
0100 OP_DATA T87
0101 T87 = FETCH_CONSTANT string("NS_MEDIAWIKI")
0102 ASSIGN_DIM CV19($wgNamespaceProtection) T87
0103 OP_DATA string("editinterface")
0104 T87 = INIT_ARRAY 3 string("fsLockManager") string("name")
0105 T87 = ADD_ARRAY_ELEMENT string("FSLockManager") string("class")
0106 T88 = FAST_CONCAT CV21($wgUploadDirectory) string("/lockdir")
0107 T87 = ADD_ARRAY_ELEMENT T88 string("lockDirectory")
0108 ASSIGN_DIM CV20($wgLockManagers) NEXT
0109 OP_DATA T87
0110 ASSIGN_DIM CV20($wgLockManagers) NEXT
0111 OP_DATA array(...)
0112 ASSIGN_OP (ADD) CV22($wgGalleryOptions) array(...)
0113 T87 = ISSET_ISEMPTY_DIM_OBJ (isset) CV23($wgLocalFileRepo) string("name")
0114 JMPZ T87 0121
0115 T87 = ISSET_ISEMPTY_DIM_OBJ (isset) CV23($wgLocalFileRepo) string("backend")
0116 JMPNZ T87 0121
0117 T88 = FETCH_DIM_R CV23($wgLocalFileRepo) string("name")
0118 T87 = CONCAT T88 string("-backend")
0119 ASSIGN_DIM CV23($wgLocalFileRepo) string("backend")
0120 OP_DATA T87
0121 JMPZ CV24($wgUseSharedUploads) 0170
0122 JMPZ CV25($wgSharedUploadDBname) 0154
0123 T87 = INIT_ARRAY 17 string("ForeignDBRepo") string("class")
0124 T87 = ADD_ARRAY_ELEMENT string("shared") string("name")
0125 T87 = ADD_ARRAY_ELEMENT CV27($wgSharedUploadDirectory) string("directory")
0126 T87 = ADD_ARRAY_ELEMENT CV28($wgSharedUploadPath) string("url")
0127 JMPZ CV29($wgHashedSharedUploadDirectory) 0130
0128 T88 = QM_ASSIGN int(2)
0129 JMP 0131
0130 T88 = QM_ASSIGN int(0)
0131 T87 = ADD_ARRAY_ELEMENT T88 string("hashLevels")
0132 T87 = ADD_ARRAY_ELEMENT CV30($wgSharedThumbnailScriptPath) string("thumbScriptUrl")
0133 T88 = BOOL_NOT CV31($wgGenerateThumbnailOnParse)
0134 T87 = ADD_ARRAY_ELEMENT T88 string("transformVia404")
0135 T87 = ADD_ARRAY_ELEMENT CV32($wgDBtype) string("dbType")
0136 T87 = ADD_ARRAY_ELEMENT CV33($wgDBserver) string("dbServer")
0137 T87 = ADD_ARRAY_ELEMENT CV34($wgDBuser) string("dbUser")
0138 T87 = ADD_ARRAY_ELEMENT CV35($wgDBpassword) string("dbPassword")
0139 T87 = ADD_ARRAY_ELEMENT CV25($wgSharedUploadDBname) string("dbName")
0140 JMPZ CV36($wgDebugDumpSql) 0143
0141 T89 = FETCH_CONSTANT string("DBO_DEBUG")
0142 JMP 0144
0143 T89 = QM_ASSIGN int(0)
0144 T90 = FETCH_CONSTANT string("DBO_DEFAULT")
0145 T88 = BW_OR T89 T90
0146 T87 = ADD_ARRAY_ELEMENT T88 string("dbFlags")
0147 T87 = ADD_ARRAY_ELEMENT CV37($wgSharedUploadDBprefix) string("tablePrefix")
0148 T87 = ADD_ARRAY_ELEMENT CV38($wgCacheSharedUploads) string("hasSharedCache")
0149 T87 = ADD_ARRAY_ELEMENT CV39($wgRepositoryBaseUrl) string("descBaseUrl")
0150 T87 = ADD_ARRAY_ELEMENT CV40($wgFetchCommonsDescriptions) string("fetchDescription")
0151 ASSIGN_DIM CV26($wgForeignFileRepos) NEXT
0152 OP_DATA T87
0153 JMP 0170
0154 T87 = INIT_ARRAY 9 string("FileRepo") string("class")
0155 T87 = ADD_ARRAY_ELEMENT string("shared") string("name")
0156 T87 = ADD_ARRAY_ELEMENT CV27($wgSharedUploadDirectory) string("directory")
0157 T87 = ADD_ARRAY_ELEMENT CV28($wgSharedUploadPath) string("url")
0158 JMPZ CV29($wgHashedSharedUploadDirectory) 0161
0159 T88 = QM_ASSIGN int(2)
0160 JMP 0162
0161 T88 = QM_ASSIGN int(0)
0162 T87 = ADD_ARRAY_ELEMENT T88 string("hashLevels")
0163 T87 = ADD_ARRAY_ELEMENT CV30($wgSharedThumbnailScriptPath) string("thumbScriptUrl")
0164 T88 = BOOL_NOT CV31($wgGenerateThumbnailOnParse)
0165 T87 = ADD_ARRAY_ELEMENT T88 string("transformVia404")
0166 T87 = ADD_ARRAY_ELEMENT CV39($wgRepositoryBaseUrl) string("descBaseUrl")
0167 T87 = ADD_ARRAY_ELEMENT CV40($wgFetchCommonsDescriptions) string("fetchDescription")
0168 ASSIGN_DIM CV26($wgForeignFileRepos) NEXT
0169 OP_DATA T87
0170 JMPZ CV41($wgUseInstantCommons) 0173
0171 ASSIGN_DIM CV26($wgForeignFileRepos) NEXT
0172 OP_DATA array(...)
0173 V87 = FE_RESET_RW CV26($wgForeignFileRepos) 0189
0174 FE_FETCH_RW V87 CV42($repo) 0189
0175 T88 = ISSET_ISEMPTY_DIM_OBJ (isset) CV42($repo) string("directory")
0176 JMPNZ T88 0182
0177 T89 = FETCH_DIM_R CV42($repo) string("class")
0178 T88 = IS_IDENTICAL T89 string("ForeignAPIRepo")
0179 JMPZ T88 0182
0180 ASSIGN_DIM CV42($repo) string("directory")
0181 OP_DATA CV21($wgUploadDirectory)
0182 T88 = ISSET_ISEMPTY_DIM_OBJ (isset) CV42($repo) string("backend")
0183 JMPNZ T88 0174
0184 T89 = FETCH_DIM_R CV42($repo) string("name")
0185 T88 = CONCAT T89 string("-backend")
0186 ASSIGN_DIM CV42($repo) string("backend")
0187 OP_DATA T88
0188 JMP 0174
0189 FE_FREE V87
0190 UNSET_CV CV42($repo)
0191 T87 = DIV CV44($wgRCMaxAge) int(86400)
0192 ASSIGN CV43($rcMaxAgeDays) T87
0193 T88 = FETCH_DIM_R CV45($wgDefaultUserOptions) string("rcdays")
0194 INIT_FCALL 1 96 string("ceil")
0195 SEND_VAR CV43($rcMaxAgeDays) 1
0196 V89 = DO_ICALL
0197 T87 = FRAMELESS_ICALL_2(min) T88 V89
0198 ASSIGN_DIM CV45($wgDefaultUserOptions) string("rcdays")
0199 OP_DATA T87
0200 T88 = FETCH_DIM_R CV45($wgDefaultUserOptions) string("watchlistdays")
0201 INIT_FCALL 1 96 string("ceil")
0202 SEND_VAR CV43($rcMaxAgeDays) 1
0203 V89 = DO_ICALL
0204 T87 = FRAMELESS_ICALL_2(min) T88 V89
0205 ASSIGN_DIM CV45($wgDefaultUserOptions) string("watchlistdays")
0206 OP_DATA T87
0207 UNSET_CV CV43($rcMaxAgeDays)
0208 T87 = FRAMELESS_ICALL_3(strtr) CV46($wgCookiePrefix) string("=,; +.\"'\\[")
0209 OP_DATA string("__________")
0210 ASSIGN CV46($wgCookiePrefix) T87
0211 JMPNZ CV47($wgEnableEmail) 0227
0212 ASSIGN CV48($wgAllowHTMLEmail) bool(false)
0213 ASSIGN CV49($wgEmailAuthentication) bool(false)
0214 ASSIGN CV50($wgEnableUserEmail) bool(false)
0215 ASSIGN CV51($wgEnotifFromEditor) bool(false)
0216 ASSIGN CV52($wgEnotifImpersonal) bool(false)
0217 ASSIGN CV53($wgEnotifMaxRecips) int(0)
0218 ASSIGN CV54($wgEnotifMinorEdits) bool(false)
0219 ASSIGN CV55($wgEnotifRevealEditorAddress) bool(false)
0220 ASSIGN CV56($wgEnotifUseRealName) bool(false)
0221 ASSIGN CV57($wgEnotifUserTalk) bool(false)
0222 ASSIGN CV58($wgEnotifWatchlist) bool(false)
0223 V87 = FETCH_DIM_UNSET CV59($wgGroupPermissions) string("user")
0224 UNSET_DIM V87 string("sendemail")
0225 ASSIGN CV60($wgUserEmailUseReplyTo) bool(false)
0226 ASSIGN CV61($wgUsersNotifiedOnAllChanges) array(...)
0227 JMPNZ CV62($wgLocaltimezone) 0234
0228 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MainConfigSchema") string("getDefaultLocaltimezone")
0229 V87 = DO_FCALL
0230 ASSIGN CV62($wgLocaltimezone) V87
0231 INIT_METHOD_CALL 1 CV11($wgSettings) string("warning")
0232 SEND_VAL_EX string("The Localtimezone setting must a valid timezone string or null. It must not be an empty string or false.") 1
0233 DO_FCALL
0234 T87 = FAST_CONCAT string("System|") CV63($wgLocalTZoffset)
0235 ASSIGN_DIM CV45($wgDefaultUserOptions) string("timecorrection")
0236 OP_DATA T87
0237 T87 = FETCH_CLASS_CONSTANT string("MediaWiki\\Title\\NamespaceInfo") string("CANONICAL_NAMES")
0238 ASSIGN CV64($wgCanonicalNamespaceNames) T87
0239 T88 = COUNT CV65($wgDummyLanguageCodes)
0240 T87 = IS_NOT_IDENTICAL T88 int(0)
0241 JMPZ T87 0245
0242 INIT_METHOD_CALL 1 CV11($wgSettings) string("warning")
0243 SEND_VAL_EX string("Do not add to DummyLanguageCodes directly, add to ExtraLanguageCodes instead.") 1
0244 DO_FCALL
0245 T88 = ADD array(...) CV66($wgExtraLanguageCodes)
0246 INIT_STATIC_METHOD_CALL 0 string("LanguageCode") string("getDeprecatedCodeMapping")
0247 V89 = DO_FCALL
0248 T87 = ADD T88 V89
0249 ASSIGN_OP (ADD) CV65($wgDummyLanguageCodes) T87
0250 INIT_STATIC_METHOD_CALL 0 string("LanguageCode") string("getNonstandardLanguageCodeMapping")
0251 V88 = DO_FCALL
0252 V87 = FE_RESET_R V88 0267
0253 T88 = FE_FETCH_R V87 CV67($bcp47) 0267
0254 ASSIGN CV68($code) T88
0255 INIT_FCALL 1 96 string("strtolower")
0256 SEND_VAR CV67($bcp47) 1
0257 V88 = DO_ICALL
0258 ASSIGN CV67($bcp47) V88
0259 T88 = ISSET_ISEMPTY_DIM_OBJ (isset) CV65($wgDummyLanguageCodes) CV67($bcp47)
0260 JMPNZ T88 0253
0261 T89 = FETCH_DIM_IS CV65($wgDummyLanguageCodes) CV68($code)
0262 T88 = COALESCE T89 0264
0263 T88 = QM_ASSIGN CV68($code)
0264 ASSIGN_DIM CV65($wgDummyLanguageCodes) CV67($bcp47)
0265 OP_DATA T88
0266 JMP 0253
0267 FE_FREE V87
0268 UNSET_CV CV68($code)
0269 UNSET_CV CV67($bcp47)
0270 JMPZ CV69($wgUseXssLanguage) 0273
0271 ASSIGN_DIM CV65($wgDummyLanguageCodes) string("x-xss")
0272 OP_DATA string("x-xss")
0273 T87 = ISSET_ISEMPTY_CV (isset) CV70($wgSlaveLagWarning)
0274 JMPZ T87 0284
0275 T87 = IS_IDENTICAL CV71($wgDatabaseReplicaLagWarning) int(10)
0276 JMPZ T87 0285
0277 T87 = IS_NOT_IDENTICAL CV70($wgSlaveLagWarning) int(10)
0278 JMPZ T87 0285
0279 ASSIGN CV71($wgDatabaseReplicaLagWarning) CV70($wgSlaveLagWarning)
0280 INIT_METHOD_CALL 1 CV11($wgSettings) string("warning")
0281 SEND_VAL_EX string("SlaveLagWarning is no longer supported, use DatabaseReplicaLagWarning instead!") 1
0282 DO_FCALL
0283 JMP 0285
0284 ASSIGN CV70($wgSlaveLagWarning) CV71($wgDatabaseReplicaLagWarning)
0285 T87 = ISSET_ISEMPTY_CV (isset) CV72($wgSlaveLagCritical)
0286 JMPZ T87 0296
0287 T87 = IS_IDENTICAL CV73($wgDatabaseReplicaLagCritical) int(30)
0288 JMPZ T87 0297
0289 T87 = IS_NOT_IDENTICAL CV72($wgSlaveLagCritical) int(30)
0290 JMPZ T87 0297
0291 ASSIGN CV73($wgDatabaseReplicaLagCritical) CV72($wgSlaveLagCritical)
0292 INIT_METHOD_CALL 1 CV11($wgSettings) string("warning")
0293 SEND_VAL_EX string("SlaveLagCritical is no longer supported, use DatabaseReplicaLagCritical instead!") 1
0294 DO_FCALL
0295 JMP 0297
0296 ASSIGN CV72($wgSlaveLagCritical) CV73($wgDatabaseReplicaLagCritical)
0297 JMPZ CV74($wgInvalidateCacheOnLocalSettingsChange) 0314
0298 T87 = DEFINED string("MW_CONFIG_FILE")
0299 JMPZ T87 0314
0300 INIT_STATIC_METHOD_CALL 0 string("Wikimedia\\AtEase\\AtEase") string("suppressWarnings")
0301 DO_FCALL
0302 INIT_FCALL 2 112 string("gmdate")
0303 SEND_VAL string("YmdHis") 1
0304 INIT_FCALL 1 96 string("filemtime")
0305 T87 = FETCH_CONSTANT string("MW_CONFIG_FILE")
0306 SEND_VAL T87 1
0307 V87 = DO_ICALL
0308 SEND_VAR V87 2
0309 V88 = DO_ICALL
0310 T87 = FRAMELESS_ICALL_2(max) CV75($wgCacheEpoch) V88
0311 ASSIGN CV75($wgCacheEpoch) T87
0312 INIT_STATIC_METHOD_CALL 0 string("Wikimedia\\AtEase\\AtEase") string("restoreWarnings")
0313 DO_FCALL
0314 JMPZ CV76($wgNewUserLog) 0331
0315 ASSIGN_DIM CV77($wgLogTypes) NEXT
0316 OP_DATA string("newusers")
0317 ASSIGN_DIM CV78($wgLogNames) string("newusers")
0318 OP_DATA string("newuserlogpage")
0319 ASSIGN_DIM CV79($wgLogHeaders) string("newusers")
0320 OP_DATA string("newuserlogpagetext")
0321 ASSIGN_DIM CV80($wgLogActionsHandlers) string("newusers/newusers")
0322 OP_DATA string("NewUsersLogFormatter")
0323 ASSIGN_DIM CV80($wgLogActionsHandlers) string("newusers/create")
0324 OP_DATA string("NewUsersLogFormatter")
0325 ASSIGN_DIM CV80($wgLogActionsHandlers) string("newusers/create2")
0326 OP_DATA string("NewUsersLogFormatter")
0327 ASSIGN_DIM CV80($wgLogActionsHandlers) string("newusers/byemail")
0328 OP_DATA string("NewUsersLogFormatter")
0329 ASSIGN_DIM CV80($wgLogActionsHandlers) string("newusers/autocreate")
0330 OP_DATA string("NewUsersLogFormatter")
0331 JMPZ CV81($wgPageCreationLog) 0336
0332 ASSIGN_DIM CV77($wgLogTypes) NEXT
0333 OP_DATA string("create")
0334 ASSIGN_DIM CV80($wgLogActionsHandlers) string("create/create")
0335 OP_DATA string("LogFormatter")
0336 JMPZ CV82($wgPageLanguageUseDB) 0341
0337 ASSIGN_DIM CV77($wgLogTypes) NEXT
0338 OP_DATA string("pagelang")
0339 ASSIGN_DIM CV80($wgLogActionsHandlers) string("pagelang/pagelang")
0340 OP_DATA array(...)
0341 T87 = IS_NOT_IDENTICAL CV83($wgPHPSessionHandling) string("enable")
0342 JMPZ T87 0348
0343 T87 = IS_NOT_IDENTICAL CV83($wgPHPSessionHandling) string("warn")
0344 JMPZ T87 0348
0345 T87 = IS_NOT_IDENTICAL CV83($wgPHPSessionHandling) string("disable")
0346 JMPZ T87 0348
0347 ASSIGN CV83($wgPHPSessionHandling) string("warn")
0348 T87 = DEFINED string("MW_NO_SESSION")
0349 JMPZ T87 0357
0350 T88 = FETCH_CONSTANT string("MW_NO_SESSION")
0351 T87 = IS_IDENTICAL T88 string("warn")
0352 JMPZ T87 0355
0353 T87 = QM_ASSIGN string("warn")
0354 JMP 0356
0355 T87 = QM_ASSIGN string("disable")
0356 ASSIGN CV83($wgPHPSessionHandling) T87
0357 JMPNZ CV84($wgVirtualDomainsMapping) 0359
0358 ASSIGN CV84($wgVirtualDomainsMapping) array(...)
0359 JMPZ CV85($wgBotPasswordsCluster) 0363
0360 V87 = FETCH_DIM_W CV84($wgVirtualDomainsMapping) string("virtual-botpasswords")
0361 ASSIGN_DIM V87 string("cluster")
0362 OP_DATA CV85($wgBotPasswordsCluster)
0363 JMPZ CV86($wgBotPasswordsDatabase) 0367
0364 V87 = FETCH_DIM_W CV84($wgVirtualDomainsMapping) string("virtual-botpasswords")
0365 ASSIGN_DIM V87 string("db")
0366 OP_DATA CV86($wgBotPasswordsDatabase)
0367 RETURN int(1)
LIVE RANGES:
88: 0060 - 0061 (tmp/var)
87: 0062 - 0063 (tmp/var)
87: 0074 - 0077 (tmp/var)
87: 0090 - 0092 (tmp/var)
88: 0095 - 0096 (tmp/var)
87: 0097 - 0099 (tmp/var)
87: 0105 - 0108 (tmp/var)
87: 0124 - 0151 (tmp/var)
89: 0144 - 0145 (tmp/var)
87: 0155 - 0168 (tmp/var)
87: 0174 - 0189 (loop)
88: 0194 - 0197 (tmp/var)
88: 0201 - 0204 (tmp/var)
87: 0209 - 0210 (tmp/var)
88: 0246 - 0248 (tmp/var)
87: 0253 - 0267 (loop)
$_main:
; (lines=5, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:1-647
0000 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Title\\class_alias")
0001 SEND_VAL_EX string("MediaWiki\\Title\\NamespaceInfo") 1
0002 SEND_VAL_EX string("NamespaceInfo") 2
0003 DO_FCALL_BY_NAME
0004 RETURN int(1)
MediaWiki\Title\NamespaceInfo::__construct:
; (lines=20, args=4, vars=4, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:114-125
0000 CV0($options) = RECV 1
0001 CV1($hookContainer) = RECV 2
0002 CV2($extensionNamespaces) = RECV 3
0003 CV3($extensionImmovableNamespaces) = RECV 4
0004 INIT_METHOD_CALL 1 CV0($options) string("assertRequiredOptions")
0005 T4 = FETCH_CLASS_CONSTANT (self) (exception) string("CONSTRUCTOR_OPTIONS")
0006 SEND_VAL_EX T4 1
0007 DO_FCALL
0008 ASSIGN_OBJ THIS string("options")
0009 OP_DATA CV0($options)
0010 V4 = NEW 1 string("MediaWiki\\HookContainer\\HookRunner")
0011 SEND_VAR_EX CV1($hookContainer) 1
0012 DO_FCALL
0013 ASSIGN_OBJ THIS string("hookRunner")
0014 OP_DATA V4
0015 ASSIGN_OBJ THIS string("extensionNamespaces")
0016 OP_DATA CV2($extensionNamespaces)
0017 ASSIGN_OBJ THIS string("extensionImmovableNamespaces")
0018 OP_DATA CV3($extensionImmovableNamespaces)
0019 RETURN null
LIVE RANGES:
4: 0011 - 0013 (new)
MediaWiki\Title\NamespaceInfo::isMethodValidFor:
; (lines=13, args=2, vars=2, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:139-144
0000 CV0($index) = RECV 1
0001 CV1($method) = RECV 2
0002 T3 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Title\\NS_MAIN")
0003 T2 = IS_SMALLER CV0($index) T3
0004 JMPZ T2 0012
0005 V2 = NEW 1 string("MWException")
0006 T4 = ROPE_INIT 3 CV1($method)
0007 T4 = ROPE_ADD 1 T4 string(" does not make any sense for given namespace ")
0008 T3 = ROPE_END 2 T4 CV0($index)
0009 SEND_VAL_EX T3 1
0010 DO_FCALL
0011 THROW V2
0012 RETURN bool(true)
LIVE RANGES:
2: 0006 - 0011 (new)
4: 0006 - 0008 (rope)
MediaWiki\Title\NamespaceInfo::makeValidNamespace:
; (lines=41, args=2, vars=2, tmps=6)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:155-169
0000 CV0($index) = RECV 1
0001 CV1($method) = RECV 2
0002 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Title\\is_int")
0003 SEND_VAR_EX CV0($index) 1
0004 V2 = DO_FCALL_BY_NAME
0005 JMPNZ V2 0037
0006 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Title\\ctype_digit")
0007 SEND_VAR_EX CV0($index) 1
0008 V2 = DO_FCALL_BY_NAME
0009 JMPNZ V2 0037
0010 T3 = FETCH_DIM_R CV0($index) int(0)
0011 T2 = IS_IDENTICAL T3 string("-")
0012 JMPZ T2 0024
0013 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Title\\ctype_digit")
0014 JMP_FRAMELESS 24 string("mediawiki\\title\\substr") 0020
0015 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Title\\substr")
0016 SEND_VAR_EX CV0($index) 1
0017 SEND_VAL_EX int(1) 2
0018 V2 = DO_FCALL_BY_NAME
0019 JMP 0021
0020 V2 = FRAMELESS_ICALL_2(substr) CV0($index) int(1)
0021 SEND_VAR_NO_REF_EX V2 1
0022 V2 = DO_FCALL_BY_NAME
0023 JMPNZ V2 0037
0024 V2 = NEW 1 string("InvalidArgumentException")
0025 T3 = FAST_CONCAT CV1($method) string(" called with non-integer (")
0026 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Title\\gettype")
0027 SEND_VAR_EX CV0($index) 1
0028 V5 = DO_FCALL_BY_NAME
0029 T4 = CONCAT T3 V5
0030 T6 = ROPE_INIT 3 string(") namespace '")
0031 T6 = ROPE_ADD 1 T6 CV0($index)
0032 T5 = ROPE_END 2 T6 string("'")
0033 T3 = FAST_CONCAT T4 T5
0034 SEND_VAL_EX T3 1
0035 DO_FCALL
0036 THROW V2
0037 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Title\\intval")
0038 SEND_VAR_EX CV0($index) 1
0039 V2 = DO_FCALL_BY_NAME
0040 RETURN V2
LIVE RANGES:
2: 0025 - 0036 (new)
3: 0026 - 0029 (tmp/var)
4: 0030 - 0033 (tmp/var)
6: 0030 - 0032 (rope)
MediaWiki\Title\NamespaceInfo::isMovable:
; (lines=22, args=1, vars=2, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:177-186
0000 CV0($index) = RECV 1
0001 T3 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Title\\NS_MAIN")
0002 T2 = IS_SMALLER_OR_EQUAL T3 CV0($index)
0003 T2 = JMPZ_EX T2 0015
0004 JMP_FRAMELESS 16 string("mediawiki\\title\\in_array") 0012
0005 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Title\\in_array")
0006 SEND_VAR_EX CV0($index) 1
0007 CHECK_FUNC_ARG 2
0008 V3 = FETCH_OBJ_FUNC_ARG (ref) THIS string("extensionImmovableNamespaces")
0009 SEND_FUNC_ARG V3 2
0010 V3 = DO_FCALL_BY_NAME
0011 JMP 0014
0012 T4 = FETCH_OBJ_R THIS string("extensionImmovableNamespaces")
0013 V3 = FRAMELESS_ICALL_2(in_array) CV0($index) T4
0014 T2 = BOOL_NOT V3
0015 CV1($result) = QM_ASSIGN T2
0016 T2 = FETCH_OBJ_R THIS string("hookRunner")
0017 INIT_METHOD_CALL 2 T2 string("onNamespaceIsMovable")
0018 SEND_VAR_EX CV0($index) 1
0019 SEND_VAR_EX CV1($result) 2
0020 DO_FCALL
0021 RETURN CV1($result)
MediaWiki\Title\NamespaceInfo::isSubject:
; (lines=6, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:194-196
0000 CV0($index) = RECV 1
0001 INIT_METHOD_CALL 1 THIS string("isTalk")
0002 SEND_VAR CV0($index) 1
0003 V2 = DO_FCALL
0004 T1 = BOOL_NOT V2
0005 RETURN T1
MediaWiki\Title\NamespaceInfo::isTalk:
; (lines=12, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:204-209
0000 CV0($index) = RECV 1
0001 INIT_METHOD_CALL 2 THIS string("makeValidNamespace")
0002 SEND_VAR CV0($index) 1
0003 SEND_VAL string("MediaWiki\\Title\\NamespaceInfo::isTalk") 2
0004 V1 = DO_UCALL
0005 ASSIGN CV0($index) V1
0006 T2 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Title\\NS_MAIN")
0007 T1 = IS_SMALLER T2 CV0($index)
0008 T1 = JMPZ_EX T1 0011
0009 T2 = MOD CV0($index) int(2)
0010 T1 = IS_IDENTICAL T2 int(1)
0011 RETURN T1
MediaWiki\Title\NamespaceInfo::getTalk:
; (lines=17, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:219-226
0000 CV0($index) = RECV 1
0001 INIT_METHOD_CALL 2 THIS string("makeValidNamespace")
0002 SEND_VAR CV0($index) 1
0003 SEND_VAL string("MediaWiki\\Title\\NamespaceInfo::getTalk") 2
0004 V1 = DO_UCALL
0005 ASSIGN CV0($index) V1
0006 INIT_METHOD_CALL 2 THIS string("isMethodValidFor")
0007 SEND_VAR CV0($index) 1
0008 SEND_VAL string("MediaWiki\\Title\\NamespaceInfo::getTalk") 2
0009 DO_UCALL
0010 INIT_METHOD_CALL 1 THIS string("isTalk")
0011 SEND_VAR CV0($index) 1
0012 V1 = DO_FCALL
0013 JMPZ V1 0015
0014 RETURN CV0($index)
0015 T1 = ADD CV0($index) int(1)
0016 RETURN T1
MediaWiki\Title\NamespaceInfo::getTalkPage:
; (lines=38, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:237-252
0000 CV0($target) = RECV 1
0001 INIT_METHOD_CALL 0 CV0($target) string("getText")
0002 V2 = DO_FCALL
0003 T1 = IS_IDENTICAL V2 string("")
0004 JMPZ T1 0009
0005 V1 = NEW 1 string("MWException")
0006 SEND_VAL_EX string("Can't determine talk page associated with relative section link") 1
0007 DO_FCALL
0008 THROW V1
0009 INIT_METHOD_CALL 0 CV0($target) string("getInterwiki")
0010 V2 = DO_FCALL
0011 T1 = IS_NOT_IDENTICAL V2 string("")
0012 JMPZ T1 0017
0013 V1 = NEW 1 string("MWException")
0014 SEND_VAL_EX string("Can't determine talk page associated with interwiki link") 1
0015 DO_FCALL
0016 THROW V1
0017 INIT_METHOD_CALL 1 THIS string("isTalk")
0018 INIT_METHOD_CALL 0 CV0($target) string("getNamespace")
0019 V1 = DO_FCALL
0020 SEND_VAR V1 1
0021 V1 = DO_FCALL
0022 JMPZ V1 0025
0023 VERIFY_RETURN_TYPE CV0($target)
0024 RETURN CV0($target)
0025 V1 = NEW 2 string("MediaWiki\\Title\\TitleValue")
0026 INIT_METHOD_CALL 1 THIS string("getTalk")
0027 INIT_METHOD_CALL 0 CV0($target) string("getNamespace")
0028 V2 = DO_FCALL
0029 SEND_VAR V2 1
0030 V2 = DO_FCALL
0031 SEND_VAR_NO_REF_EX V2 1
0032 INIT_METHOD_CALL 0 CV0($target) string("getDBkey")
0033 V2 = DO_FCALL
0034 SEND_VAR_NO_REF_EX V2 2
0035 DO_FCALL
0036 VERIFY_RETURN_TYPE V1
0037 RETURN V1
LIVE RANGES:
1: 0006 - 0008 (new)
1: 0014 - 0016 (new)
1: 0026 - 0036 (new)
1: 0036 - 0037 (tmp/var)
MediaWiki\Title\NamespaceInfo::canHaveTalkPage:
; (lines=14, args=1, vars=1, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:265-269
0000 CV0($target) = RECV 1
0001 INIT_METHOD_CALL 0 CV0($target) string("getNamespace")
0002 V3 = DO_FCALL
0003 T2 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Title\\NS_MAIN")
0004 T1 = IS_SMALLER_OR_EQUAL T2 V3
0005 T1 = JMPZ_EX T1 0013
0006 INIT_METHOD_CALL 0 CV0($target) string("isExternal")
0007 V2 = DO_FCALL
0008 T1 = BOOL_NOT V2
0009 T1 = JMPZ_EX T1 0013
0010 INIT_METHOD_CALL 0 CV0($target) string("getText")
0011 V2 = DO_FCALL
0012 T1 = IS_NOT_IDENTICAL V2 string("")
0013 RETURN T1
LIVE RANGES:
3: 0003 - 0004 (tmp/var)
MediaWiki\Title\NamespaceInfo::getSubject:
; (lines=17, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:278-289
0000 CV0($index) = RECV 1
0001 INIT_METHOD_CALL 2 THIS string("makeValidNamespace")
0002 SEND_VAR CV0($index) 1
0003 SEND_VAL string("MediaWiki\\Title\\NamespaceInfo::getSubject") 2
0004 V1 = DO_UCALL
0005 ASSIGN CV0($index) V1
0006 T2 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Title\\NS_MAIN")
0007 T1 = IS_SMALLER CV0($index) T2
0008 JMPZ T1 0010
0009 RETURN CV0($index)
0010 INIT_METHOD_CALL 1 THIS string("isTalk")
0011 SEND_VAR CV0($index) 1
0012 V1 = DO_FCALL
0013 JMPZ V1 0016
0014 T1 = SUB CV0($index) int(1)
0015 RETURN T1
0016 RETURN CV0($index)
MediaWiki\Title\NamespaceInfo::getSubjectPage:
; (lines=22, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:295-300
0000 CV0($target) = RECV 1
0001 INIT_METHOD_CALL 1 THIS string("isSubject")
0002 INIT_METHOD_CALL 0 CV0($target) string("getNamespace")
0003 V1 = DO_FCALL
0004 SEND_VAR V1 1
0005 V1 = DO_FCALL
0006 JMPZ V1 0009
0007 VERIFY_RETURN_TYPE CV0($target)
0008 RETURN CV0($target)
0009 V1 = NEW 2 string("MediaWiki\\Title\\TitleValue")
0010 INIT_METHOD_CALL 1 THIS string("getSubject")
0011 INIT_METHOD_CALL 0 CV0($target) string("getNamespace")
0012 V2 = DO_FCALL
0013 SEND_VAR V2 1
0014 V2 = DO_FCALL
0015 SEND_VAR_NO_REF_EX V2 1
0016 INIT_METHOD_CALL 0 CV0($target) string("getDBkey")
0017 V2 = DO_FCALL
0018 SEND_VAR_NO_REF_EX V2 2
0019 DO_FCALL
0020 VERIFY_RETURN_TYPE V1
0021 RETURN V1
LIVE RANGES:
1: 0010 - 0020 (new)
1: 0020 - 0021 (tmp/var)
MediaWiki\Title\NamespaceInfo::getAssociated:
; (lines=17, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:311-318
0000 CV0($index) = RECV 1
0001 INIT_METHOD_CALL 2 THIS string("isMethodValidFor")
0002 SEND_VAR CV0($index) 1
0003 SEND_VAL string("MediaWiki\\Title\\NamespaceInfo::getAssociated") 2
0004 DO_UCALL
0005 INIT_METHOD_CALL 1 THIS string("isSubject")
0006 SEND_VAR CV0($index) 1
0007 V1 = DO_FCALL
0008 JMPZ V1 0013
0009 INIT_METHOD_CALL 1 THIS string("getTalk")
0010 SEND_VAR CV0($index) 1
0011 V1 = DO_FCALL
0012 RETURN V1
0013 INIT_METHOD_CALL 1 THIS string("getSubject")
0014 SEND_VAR CV0($index) 1
0015 V1 = DO_FCALL
0016 RETURN V1
MediaWiki\Title\NamespaceInfo::getAssociatedPage:
; (lines=30, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:326-337
0000 CV0($target) = RECV 1
0001 INIT_METHOD_CALL 0 CV0($target) string("getText")
0002 V2 = DO_FCALL
0003 T1 = IS_IDENTICAL V2 string("")
0004 JMPZ T1 0009
0005 V1 = NEW 1 string("MWException")
0006 SEND_VAL_EX string("Can't determine talk page associated with relative section link") 1
0007 DO_FCALL
0008 THROW V1
0009 INIT_METHOD_CALL 0 CV0($target) string("getInterwiki")
0010 V2 = DO_FCALL
0011 T1 = IS_NOT_IDENTICAL V2 string("")
0012 JMPZ T1 0017
0013 V1 = NEW 1 string("MWException")
0014 SEND_VAL_EX string("Can't determine talk page associated with interwiki link") 1
0015 DO_FCALL
0016 THROW V1
0017 V1 = NEW 2 string("MediaWiki\\Title\\TitleValue")
0018 INIT_METHOD_CALL 1 THIS string("getAssociated")
0019 INIT_METHOD_CALL 0 CV0($target) string("getNamespace")
0020 V2 = DO_FCALL
0021 SEND_VAR V2 1
0022 V2 = DO_FCALL
0023 SEND_VAR_NO_REF_EX V2 1
0024 INIT_METHOD_CALL 0 CV0($target) string("getDBkey")
0025 V2 = DO_FCALL
0026 SEND_VAR_NO_REF_EX V2 2
0027 DO_FCALL
0028 VERIFY_RETURN_TYPE V1
0029 RETURN V1
LIVE RANGES:
1: 0006 - 0008 (new)
1: 0014 - 0016 (new)
1: 0018 - 0028 (new)
1: 0028 - 0029 (tmp/var)
MediaWiki\Title\NamespaceInfo::exists:
; (lines=6, args=1, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:346-349
0000 CV0($index) = RECV 1
0001 INIT_METHOD_CALL 0 THIS string("getCanonicalNamespaces")
0002 V2 = DO_FCALL
0003 CV1($nslist) = QM_ASSIGN V2
0004 T2 = ISSET_ISEMPTY_DIM_OBJ (isset) CV1($nslist) CV0($index)
0005 RETURN T2
MediaWiki\Title\NamespaceInfo::equals:
; (lines=4, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:364-366
0000 CV0($ns1) = RECV 1
0001 CV1($ns2) = RECV 2
0002 T2 = IS_EQUAL CV0($ns1) CV1($ns2)
0003 RETURN T2
MediaWiki\Title\NamespaceInfo::subjectEquals:
; (lines=10, args=2, vars=2, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:378-380
0000 CV0($ns1) = RECV 1
0001 CV1($ns2) = RECV 2
0002 INIT_METHOD_CALL 1 THIS string("getSubject")
0003 SEND_VAR CV0($ns1) 1
0004 V3 = DO_FCALL
0005 INIT_METHOD_CALL 1 THIS string("getSubject")
0006 SEND_VAR CV1($ns2) 1
0007 V4 = DO_FCALL
0008 T2 = IS_EQUAL V3 V4
0009 RETURN T2
LIVE RANGES:
3: 0005 - 0008 (tmp/var)
MediaWiki\Title\NamespaceInfo::getCanonicalNamespaces:
; (lines=40, args=0, vars=0, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:388-399
0000 T1 = FETCH_OBJ_R THIS string("canonicalNamespaces")
0001 T0 = TYPE_CHECK (null) T1
0002 JMPZ T0 0038
0003 T0 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Title\\NS_MAIN")
0004 T1 = INIT_ARRAY 1 (packed) string("") T0
0005 T0 = FETCH_OBJ_R THIS string("options")
0006 INIT_METHOD_CALL 1 T0 string("get")
0007 T0 = FETCH_CLASS_CONSTANT string("MediaWiki\\MainConfigNames") string("CanonicalNamespaceNames")
0008 SEND_VAL_EX T0 1
0009 V2 = DO_FCALL
0010 T0 = ADD T1 V2
0011 ASSIGN_OBJ THIS string("canonicalNamespaces")
0012 OP_DATA T0
0013 T0 = FETCH_OBJ_R THIS string("extensionNamespaces")
0014 ASSIGN_OBJ_OP (ADD) THIS string("canonicalNamespaces")
0015 OP_DATA T0
0016 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Title\\is_array")
0017 T0 = FETCH_OBJ_R THIS string("options")
0018 INIT_METHOD_CALL 1 T0 string("get")
0019 T0 = FETCH_CLASS_CONSTANT string("MediaWiki\\MainConfigNames") string("ExtraNamespaces")
0020 SEND_VAL_EX T0 1
0021 V0 = DO_FCALL
0022 SEND_VAR_NO_REF_EX V0 1
0023 V0 = DO_FCALL_BY_NAME
0024 JMPZ V0 0032
0025 T0 = FETCH_OBJ_R THIS string("options")
0026 INIT_METHOD_CALL 1 T0 string("get")
0027 T0 = FETCH_CLASS_CONSTANT string("MediaWiki\\MainConfigNames") string("ExtraNamespaces")
0028 SEND_VAL_EX T0 1
0029 V0 = DO_FCALL
0030 ASSIGN_OBJ_OP (ADD) THIS string("canonicalNamespaces")
0031 OP_DATA V0
0032 T0 = FETCH_OBJ_R THIS string("hookRunner")
0033 INIT_METHOD_CALL 1 T0 string("onCanonicalNamespaces")
0034 CHECK_FUNC_ARG 1
0035 V0 = FETCH_OBJ_FUNC_ARG (ref) THIS string("canonicalNamespaces")
0036 SEND_FUNC_ARG V0 1
0037 DO_FCALL
0038 T0 = FETCH_OBJ_R THIS string("canonicalNamespaces")
0039 RETURN T0
LIVE RANGES:
1: 0005 - 0010 (tmp/var)
MediaWiki\Title\NamespaceInfo::getCanonicalName:
; (lines=8, args=1, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:407-410
0000 CV0($index) = RECV 1
0001 INIT_METHOD_CALL 0 THIS string("getCanonicalNamespaces")
0002 V2 = DO_FCALL
0003 CV1($nslist) = QM_ASSIGN V2
0004 T3 = FETCH_DIM_IS CV1($nslist) CV0($index)
0005 T2 = COALESCE T3 0007
0006 T2 = QM_ASSIGN bool(false)
0007 RETURN T2
MediaWiki\Title\NamespaceInfo::getCanonicalIndex:
; (lines=30, args=1, vars=3, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:419-431
0000 CV0($name) = RECV 1
0001 T4 = FETCH_OBJ_R THIS string("namespaceIndexes")
0002 T3 = TYPE_CHECK (false) T4
0003 JMPZ T3 0019
0004 ASSIGN_OBJ THIS string("namespaceIndexes")
0005 OP_DATA array(...)
0006 INIT_METHOD_CALL 0 THIS string("getCanonicalNamespaces")
0007 V4 = DO_FCALL
0008 V3 = FE_RESET_R V4 0018
0009 T4 = FE_FETCH_R V3 CV1($text) 0018
0010 ASSIGN CV2($i) T4
0011 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Title\\strtolower")
0012 SEND_VAR_EX CV1($text) 1
0013 V5 = DO_FCALL_BY_NAME
0014 V4 = FETCH_OBJ_W (dim write) THIS string("namespaceIndexes")
0015 ASSIGN_DIM V4 V5
0016 OP_DATA CV2($i)
0017 JMP 0009
0018 FE_FREE V3
0019 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Title\\array_key_exists")
0020 SEND_VAR_EX CV0($name) 1
0021 CHECK_FUNC_ARG 2
0022 V3 = FETCH_OBJ_FUNC_ARG (ref) THIS string("namespaceIndexes")
0023 SEND_FUNC_ARG V3 2
0024 V3 = DO_FCALL_BY_NAME
0025 JMPZ V3 0029
0026 T4 = FETCH_OBJ_R THIS string("namespaceIndexes")
0027 T3 = FETCH_DIM_R T4 CV0($name)
0028 RETURN T3
0029 RETURN null
LIVE RANGES:
3: 0009 - 0018 (loop)
5: 0014 - 0015 (tmp/var)
MediaWiki\Title\NamespaceInfo::getValidNamespaces:
; (lines=26, args=0, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:438-451
0000 T3 = FETCH_OBJ_R THIS string("validNamespaces")
0001 T2 = TYPE_CHECK (null) T3
0002 JMPZ T2 0024
0003 ASSIGN_OBJ THIS string("validNamespaces")
0004 OP_DATA array(...)
0005 INIT_METHOD_CALL 0 THIS string("getCanonicalNamespaces")
0006 V3 = DO_FCALL
0007 V2 = FE_RESET_R V3 0016
0008 T3 = FE_FETCH_R V2 CV0($_) 0016
0009 ASSIGN CV1($ns) T3
0010 T3 = IS_SMALLER_OR_EQUAL int(0) CV1($ns)
0011 JMPZ T3 0008
0012 V3 = FETCH_OBJ_W (dim write) THIS string("validNamespaces")
0013 ASSIGN_DIM V3 NEXT
0014 OP_DATA CV1($ns)
0015 JMP 0008
0016 FE_FREE V2
0017 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Title\\sort")
0018 CHECK_FUNC_ARG 1
0019 V2 = FETCH_OBJ_FUNC_ARG (ref) THIS string("validNamespaces")
0020 SEND_FUNC_ARG V2 1
0021 T2 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Title\\SORT_NUMERIC")
0022 SEND_VAL_EX T2 2
0023 DO_FCALL_BY_NAME
0024 T2 = FETCH_OBJ_R THIS string("validNamespaces")
0025 RETURN T2
LIVE RANGES:
2: 0008 - 0016 (loop)
MediaWiki\Title\NamespaceInfo::hasTalkNamespace:
; (lines=4, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:459-461
0000 CV0($index) = RECV 1
0001 T2 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Title\\NS_MAIN")
0002 T1 = IS_SMALLER_OR_EQUAL T2 CV0($index)
0003 RETURN T1
MediaWiki\Title\NamespaceInfo::isContent:
; (lines=23, args=1, vars=1, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:470-473
0000 CV0($index) = RECV 1
0001 T2 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Title\\NS_MAIN")
0002 T1 = IS_EQUAL CV0($index) T2
0003 T1 = JMPNZ_EX T1 0022
0004 JMP_FRAMELESS 16 string("mediawiki\\title\\in_array") 0015
0005 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Title\\in_array")
0006 SEND_VAR_EX CV0($index) 1
0007 T2 = FETCH_OBJ_R THIS string("options")
0008 INIT_METHOD_CALL 1 T2 string("get")
0009 T2 = FETCH_CLASS_CONSTANT string("MediaWiki\\MainConfigNames") string("ContentNamespaces")
0010 SEND_VAL_EX T2 1
0011 V2 = DO_FCALL
0012 SEND_VAR_NO_REF_EX V2 2
0013 V2 = DO_FCALL_BY_NAME
0014 JMP 0021
0015 T3 = FETCH_OBJ_R THIS string("options")
0016 INIT_METHOD_CALL 1 T3 string("get")
0017 T3 = FETCH_CLASS_CONSTANT string("MediaWiki\\MainConfigNames") string("ContentNamespaces")
0018 SEND_VAL_EX T3 1
0019 V3 = DO_FCALL
0020 V2 = FRAMELESS_ICALL_2(in_array) CV0($index) V3
0021 T1 = BOOL V2
0022 RETURN T1
MediaWiki\Title\NamespaceInfo::wantSignatures:
; (lines=24, args=1, vars=1, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:482-485
0000 CV0($index) = RECV 1
0001 INIT_METHOD_CALL 1 THIS string("isTalk")
0002 SEND_VAR CV0($index) 1
0003 V2 = DO_FCALL
0004 T1 = JMPNZ_EX V2 0023
0005 JMP_FRAMELESS 24 string("mediawiki\\title\\in_array") 0016
0006 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Title\\in_array")
0007 SEND_VAR_EX CV0($index) 1
0008 T2 = FETCH_OBJ_R THIS string("options")
0009 INIT_METHOD_CALL 1 T2 string("get")
0010 T2 = FETCH_CLASS_CONSTANT string("MediaWiki\\MainConfigNames") string("ExtraSignatureNamespaces")
0011 SEND_VAL_EX T2 1
0012 V2 = DO_FCALL
0013 SEND_VAR_NO_REF_EX V2 2
0014 V2 = DO_FCALL_BY_NAME
0015 JMP 0022
0016 T3 = FETCH_OBJ_R THIS string("options")
0017 INIT_METHOD_CALL 1 T3 string("get")
0018 T3 = FETCH_CLASS_CONSTANT string("MediaWiki\\MainConfigNames") string("ExtraSignatureNamespaces")
0019 SEND_VAL_EX T3 1
0020 V3 = DO_FCALL
0021 V2 = FRAMELESS_ICALL_2(in_array) CV0($index) V3
0022 T1 = BOOL V2
0023 RETURN T1
MediaWiki\Title\NamespaceInfo::isWatchable:
; (lines=4, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:493-495
0000 CV0($index) = RECV 1
0001 T2 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Title\\NS_MAIN")
0002 T1 = IS_SMALLER_OR_EQUAL T2 CV0($index)
0003 RETURN T1
MediaWiki\Title\NamespaceInfo::hasSubpages:
; (lines=9, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:504-506
0000 CV0($index) = RECV 1
0001 T1 = FETCH_OBJ_R THIS string("options")
0002 INIT_METHOD_CALL 1 T1 string("get")
0003 T1 = FETCH_CLASS_CONSTANT string("MediaWiki\\MainConfigNames") string("NamespacesWithSubpages")
0004 SEND_VAL_EX T1 1
0005 V1 = DO_FCALL
0006 T2 = ISSET_ISEMPTY_DIM_OBJ (empty) V1 CV0($index)
0007 T1 = BOOL_NOT T2
0008 RETURN T1
MediaWiki\Title\NamespaceInfo::getContentNamespaces:
; (lines=33, args=0, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:512-522
0000 T1 = FETCH_OBJ_R THIS string("options")
0001 INIT_METHOD_CALL 1 T1 string("get")
0002 T1 = FETCH_CLASS_CONSTANT string("MediaWiki\\MainConfigNames") string("ContentNamespaces")
0003 SEND_VAL_EX T1 1
0004 V1 = DO_FCALL
0005 CV0($contentNamespaces) = QM_ASSIGN V1
0006 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Title\\is_array")
0007 SEND_VAR_EX CV0($contentNamespaces) 1
0008 V1 = DO_FCALL_BY_NAME
0009 JMPZ V1 0012
0010 T1 = IS_IDENTICAL CV0($contentNamespaces) array(...)
0011 JMPZ T1 0015
0012 T2 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Title\\NS_MAIN")
0013 T1 = INIT_ARRAY 1 (packed) T2 NEXT
0014 RETURN T1
0015 JMP_FRAMELESS 80 string("mediawiki\\title\\in_array") 0022
0016 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Title\\in_array")
0017 T1 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Title\\NS_MAIN")
0018 SEND_VAL_EX T1 1
0019 SEND_VAR_EX CV0($contentNamespaces) 2
0020 V1 = DO_FCALL_BY_NAME
0021 JMP 0024
0022 T2 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Title\\NS_MAIN")
0023 V1 = FRAMELESS_ICALL_2(in_array) T2 CV0($contentNamespaces)
0024 JMPNZ V1 0032
0025 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Title\\array_merge")
0026 T2 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Title\\NS_MAIN")
0027 T1 = INIT_ARRAY 1 (packed) T2 NEXT
0028 SEND_VAL_EX T1 1
0029 SEND_VAR_EX CV0($contentNamespaces) 2
0030 V1 = DO_FCALL_BY_NAME
0031 RETURN V1
0032 RETURN CV0($contentNamespaces)
MediaWiki\Title\NamespaceInfo::getSubjectNamespaces:
; (lines=10, args=0, vars=0, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:530-535
0000 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Title\\array_filter")
0001 INIT_METHOD_CALL 0 THIS string("getValidNamespaces")
0002 V0 = DO_FCALL
0003 SEND_VAR_NO_REF_EX V0 1
0004 T1 = FETCH_THIS
0005 T0 = INIT_ARRAY 2 (packed) T1 NEXT
0006 T0 = ADD_ARRAY_ELEMENT string("isSubject") NEXT
0007 SEND_VAL_EX T0 2
0008 V0 = DO_FCALL_BY_NAME
0009 RETURN V0
LIVE RANGES:
0: 0006 - 0007 (tmp/var)
MediaWiki\Title\NamespaceInfo::getTalkNamespaces:
; (lines=10, args=0, vars=0, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:543-548
0000 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Title\\array_filter")
0001 INIT_METHOD_CALL 0 THIS string("getValidNamespaces")
0002 V0 = DO_FCALL
0003 SEND_VAR_NO_REF_EX V0 1
0004 T1 = FETCH_THIS
0005 T0 = INIT_ARRAY 2 (packed) T1 NEXT
0006 T0 = ADD_ARRAY_ELEMENT string("isTalk") NEXT
0007 SEND_VAL_EX T0 2
0008 V0 = DO_FCALL_BY_NAME
0009 RETURN V0
LIVE RANGES:
0: 0006 - 0007 (tmp/var)
MediaWiki\Title\NamespaceInfo::isCapitalized:
; (lines=40, args=1, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:556-574
0000 CV0($index) = RECV 1
0001 T3 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Title\\NS_MEDIA")
0002 T2 = IS_IDENTICAL CV0($index) T3
0003 JMPZ T2 0006
0004 T2 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Title\\NS_FILE")
0005 JMP 0007
0006 T2 = QM_ASSIGN CV0($index)
0007 ASSIGN CV0($index) T2
0008 INIT_METHOD_CALL 1 THIS string("getSubject")
0009 SEND_VAR CV0($index) 1
0010 V2 = DO_FCALL
0011 ASSIGN CV0($index) V2
0012 JMP_FRAMELESS 40 string("mediawiki\\title\\in_array") 0020
0013 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Title\\in_array")
0014 SEND_VAR_EX CV0($index) 1
0015 CHECK_FUNC_ARG 2
0016 V2 = FETCH_OBJ_FUNC_ARG (ref) THIS string("alwaysCapitalizedNamespaces")
0017 SEND_FUNC_ARG V2 2
0018 V2 = DO_FCALL_BY_NAME
0019 JMP 0022
0020 T3 = FETCH_OBJ_R THIS string("alwaysCapitalizedNamespaces")
0021 V2 = FRAMELESS_ICALL_2(in_array) CV0($index) T3
0022 JMPZ V2 0024
0023 RETURN bool(true)
0024 T2 = FETCH_OBJ_R THIS string("options")
0025 INIT_METHOD_CALL 1 T2 string("get")
0026 T2 = FETCH_CLASS_CONSTANT string("MediaWiki\\MainConfigNames") string("CapitalLinkOverrides")
0027 SEND_VAL_EX T2 1
0028 V2 = DO_FCALL
0029 CV1($overrides) = QM_ASSIGN V2
0030 T2 = ISSET_ISEMPTY_DIM_OBJ (isset) CV1($overrides) CV0($index)
0031 JMPZ T2 0034
0032 T2 = FETCH_DIM_R CV1($overrides) CV0($index)
0033 RETURN T2
0034 T2 = FETCH_OBJ_R THIS string("options")
0035 INIT_METHOD_CALL 1 T2 string("get")
0036 T2 = FETCH_CLASS_CONSTANT string("MediaWiki\\MainConfigNames") string("CapitalLinks")
0037 SEND_VAL_EX T2 1
0038 V2 = DO_FCALL
0039 RETURN V2
MediaWiki\Title\NamespaceInfo::hasGenderDistinction:
; (lines=7, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:583-585
0000 CV0($index) = RECV 1
0001 T2 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Title\\NS_USER")
0002 T1 = IS_EQUAL CV0($index) T2
0003 T1 = JMPNZ_EX T1 0006
0004 T2 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Title\\NS_USER_TALK")
0005 T1 = IS_EQUAL CV0($index) T2
0006 RETURN T1
MediaWiki\Title\NamespaceInfo::isNonincludable:
; (lines=17, args=1, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:593-596
0000 CV0($index) = RECV 1
0001 T2 = FETCH_OBJ_R THIS string("options")
0002 INIT_METHOD_CALL 1 T2 string("get")
0003 T2 = FETCH_CLASS_CONSTANT string("MediaWiki\\MainConfigNames") string("NonincludableNamespaces")
0004 SEND_VAL_EX T2 1
0005 V2 = DO_FCALL
0006 CV1($namespaces) = QM_ASSIGN V2
0007 T2 = JMPZ_EX CV1($namespaces) 0016
0008 JMP_FRAMELESS 64 string("mediawiki\\title\\in_array") 0014
0009 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Title\\in_array")
0010 SEND_VAR_EX CV0($index) 1
0011 SEND_VAR_EX CV1($namespaces) 2
0012 V3 = DO_FCALL_BY_NAME
0013 JMP 0015
0014 V3 = FRAMELESS_ICALL_2(in_array) CV0($index) CV1($namespaces)
0015 T2 = BOOL V3
0016 RETURN T2
MediaWiki\Title\NamespaceInfo::getNamespaceContentModel:
; (lines=10, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:608-610
0000 CV0($index) = RECV 1
0001 T1 = FETCH_OBJ_R THIS string("options")
0002 INIT_METHOD_CALL 1 T1 string("get")
0003 T1 = FETCH_CLASS_CONSTANT string("MediaWiki\\MainConfigNames") string("NamespaceContentModels")
0004 SEND_VAL_EX T1 1
0005 V1 = DO_FCALL
0006 T2 = FETCH_DIM_IS V1 CV0($index)
0007 T1 = COALESCE T2 0009
0008 T1 = QM_ASSIGN null
0009 RETURN T1
MediaWiki\Title\NamespaceInfo::getCategoryLinkType:
; (lines=14, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:621-631
0000 CV0($index) = RECV 1
0001 INIT_METHOD_CALL 2 THIS string("isMethodValidFor")
0002 SEND_VAR CV0($index) 1
0003 SEND_VAL string("MediaWiki\\Title\\NamespaceInfo::getCategoryLinkType") 2
0004 DO_UCALL
0005 T2 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Title\\NS_CATEGORY")
0006 T1 = IS_EQUAL CV0($index) T2
0007 JMPZ T1 0009
0008 RETURN string("subcat")
0009 T2 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Title\\NS_FILE")
0010 T1 = IS_EQUAL CV0($index) T2
0011 JMPZ T1 0013
0012 RETURN string("file")
0013 RETURN string("page")
MediaWiki\Title\NamespaceInfo::getCommonNamespaces:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/title/NamespaceInfo.php:640-642
0000 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Title\\array_keys")
0001 T0 = FETCH_CLASS_CONSTANT (self) (exception) string("CANONICAL_NAMES")
0002 SEND_VAL_EX T0 1
0003 V0 = DO_FCALL_BY_NAME
0004 RETURN V0
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/language/LanguageCode.php:1-356
0000 RETURN int(1)
LanguageCode::getDeprecatedCodeMapping:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/language/LanguageCode.php:134-136
0000 RETURN array(...)
LanguageCode::getNonstandardLanguageCodeMapping:
; (lines=24, args=0, vars=3, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/language/LanguageCode.php:150-162
0000 BIND_STATIC (ref) CV0($result)
0001 JMPZ CV0($result) 0003
0002 RETURN CV0($result)
0003 V3 = FE_RESET_R array(...) 0012
0004 T4 = FE_FETCH_R V3 CV1($ignore) 0012
0005 ASSIGN CV2($code) T4
0006 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("bcp47")
0007 SEND_VAR CV2($code) 1
0008 V4 = DO_FCALL
0009 ASSIGN_DIM CV0($result) CV2($code)
0010 OP_DATA V4
0011 JMP 0004
0012 FE_FREE V3
0013 V3 = FE_RESET_R array(...) 0022
0014 T4 = FE_FETCH_R V3 CV1($ignore) 0022
0015 ASSIGN CV2($code) T4
0016 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("bcp47")
0017 SEND_VAR CV2($code) 1
0018 V4 = DO_FCALL
0019 ASSIGN_DIM CV0($result) CV2($code)
0020 OP_DATA V4
0021 JMP 0014
0022 FE_FREE V3
0023 RETURN CV0($result)
LIVE RANGES:
3: 0004 - 0012 (loop)
3: 0014 - 0022 (loop)
LanguageCode::replaceDeprecatedCodes:
; (lines=5, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/language/LanguageCode.php:174-176
0000 CV0($code) = RECV 1
0001 T2 = FETCH_DIM_IS array(...) CV0($code)
0002 T1 = COALESCE T2 0004
0003 T1 = QM_ASSIGN CV0($code)
0004 RETURN T1
LanguageCode::bcp47:
; (lines=69, args=1, vars=5, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/language/LanguageCode.php:188-211
0000 CV0($code) = RECV 1
0001 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("replaceDeprecatedCodes")
0002 INIT_FCALL 1 96 string("strtolower")
0003 SEND_VAR CV0($code) 1
0004 V5 = DO_ICALL
0005 SEND_VAR V5 1
0006 V5 = DO_UCALL
0007 ASSIGN CV0($code) V5
0008 T5 = ISSET_ISEMPTY_DIM_OBJ (isset) array(...) CV0($code)
0009 JMPZ T5 0012
0010 T5 = FETCH_DIM_R array(...) CV0($code)
0011 ASSIGN CV0($code) T5
0012 INIT_FCALL 2 112 string("explode")
0013 SEND_VAL string("-") 1
0014 SEND_VAR CV0($code) 2
0015 V5 = DO_ICALL
0016 CV1($codeSegment) = QM_ASSIGN V5
0017 CV2($codeBCP) = QM_ASSIGN array(...)
0018 V5 = FE_RESET_R CV1($codeSegment) 0066
0019 CV4($segNo) = FE_FETCH_R V5 CV3($seg) 0066
0020 T6 = IS_SMALLER int(0) CV4($segNo)
0021 JMPZ T6 0035
0022 INIT_FCALL 1 96 string("strtolower")
0023 T8 = SUB CV4($segNo) int(1)
0024 T7 = FETCH_DIM_R CV1($codeSegment) T8
0025 SEND_VAL T7 1
0026 V7 = DO_ICALL
0027 T6 = IS_EQUAL V7 string("x")
0028 JMPZ T6 0035
0029 INIT_FCALL 1 96 string("strtolower")
0030 SEND_VAR CV3($seg) 1
0031 V6 = DO_ICALL
0032 ASSIGN_DIM CV2($codeBCP) CV4($segNo)
0033 OP_DATA V6
0034 JMP 0019
0035 T7 = STRLEN CV3($seg)
0036 T6 = IS_EQUAL T7 int(2)
0037 JMPZ T6 0046
0038 T6 = IS_SMALLER int(0) CV4($segNo)
0039 JMPZ T6 0046
0040 INIT_FCALL 1 96 string("strtoupper")
0041 SEND_VAR CV3($seg) 1
0042 V6 = DO_ICALL
0043 ASSIGN_DIM CV2($codeBCP) CV4($segNo)
0044 OP_DATA V6
0045 JMP 0019
0046 T7 = STRLEN CV3($seg)
0047 T6 = IS_EQUAL T7 int(4)
0048 JMPZ T6 0060
0049 T6 = IS_SMALLER int(0) CV4($segNo)
0050 JMPZ T6 0060
0051 INIT_FCALL 1 96 string("ucfirst")
0052 INIT_FCALL 1 96 string("strtolower")
0053 SEND_VAR CV3($seg) 1
0054 V6 = DO_ICALL
0055 SEND_VAR V6 1
0056 V6 = DO_ICALL
0057 ASSIGN_DIM CV2($codeBCP) CV4($segNo)
0058 OP_DATA V6
0059 JMP 0019
0060 INIT_FCALL 1 96 string("strtolower")
0061 SEND_VAR CV3($seg) 1
0062 V6 = DO_ICALL
0063 ASSIGN_DIM CV2($codeBCP) CV4($segNo)
0064 OP_DATA V6
0065 JMP 0019
0066 FE_FREE V5
0067 T5 = FRAMELESS_ICALL_2(implode) string("-") CV2($codeBCP)
0068 RETURN T5
LIVE RANGES:
5: 0019 - 0066 (loop)
LanguageCode::bcp47ToInternal:
; (lines=33, args=1, vars=4, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/language/LanguageCode.php:231-268
0000 CV0($code) = RECV 1
0001 T4 = INSTANCEOF CV0($code) string("Language")
0002 JMPZ T4 0007
0003 INIT_METHOD_CALL 0 CV0($code) string("getCode")
0004 V4 = DO_FCALL
0005 VERIFY_RETURN_TYPE V4
0006 RETURN V4
0007 T4 = INSTANCEOF CV0($code) string("Wikimedia\\Bcp47Code\\Bcp47Code")
0008 JMPZ T4 0012
0009 INIT_METHOD_CALL 0 CV0($code) string("toBcp47Code")
0010 V4 = DO_FCALL
0011 ASSIGN CV0($code) V4
0012 BIND_STATIC (ref) CV1($invertedLookup)
0013 JMPNZ CV1($invertedLookup) 0024
0014 V4 = FE_RESET_R array(...) 0023
0015 T5 = FE_FETCH_R V4 CV2($bcp47) 0023
0016 ASSIGN CV3($internal) T5
0017 INIT_FCALL 1 96 string("strtolower")
0018 SEND_VAR CV2($bcp47) 1
0019 V5 = DO_ICALL
0020 ASSIGN_DIM CV1($invertedLookup) V5
0021 OP_DATA CV3($internal)
0022 JMP 0015
0023 FE_FREE V4
0024 INIT_FCALL 1 96 string("strtolower")
0025 SEND_VAR CV0($code) 1
0026 V4 = DO_ICALL
0027 ASSIGN CV0($code) V4
0028 T5 = FETCH_DIM_IS CV1($invertedLookup) CV0($code)
0029 T4 = COALESCE T5 0031
0030 T4 = QM_ASSIGN CV0($code)
0031 VERIFY_RETURN_TYPE T4
0032 RETURN T4
LIVE RANGES:
4: 0005 - 0006 (tmp/var)
4: 0015 - 0023 (loop)
4: 0031 - 0032 (tmp/var)
LanguageCode::normalizeNonstandardCodeAndWarn:
; (lines=19, args=1, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/language/LanguageCode.php:283-293
0000 CV0($code) = RECV 1
0001 INIT_STATIC_METHOD_CALL 0 (self) (exception) string("getNonstandardLanguageCodeMapping")
0002 V2 = DO_UCALL
0003 CV1($compatMap) = QM_ASSIGN V2
0004 INIT_FCALL 1 96 string("strtolower")
0005 SEND_VAR CV0($code) 1
0006 V3 = DO_ICALL
0007 T2 = ISSET_ISEMPTY_DIM_OBJ (isset) CV1($compatMap) V3
0008 JMPZ T2 0014
0009 INIT_FCALL 1 96 string("strtolower")
0010 SEND_VAR CV0($code) 1
0011 V3 = DO_ICALL
0012 T2 = FETCH_DIM_R CV1($compatMap) V3
0013 ASSIGN CV0($code) T2
0014 V2 = NEW 1 string("Wikimedia\\Bcp47Code\\Bcp47CodeValue")
0015 SEND_VAR_EX CV0($code) 1
0016 DO_FCALL
0017 VERIFY_RETURN_TYPE V2
0018 RETURN V2
LIVE RANGES:
2: 0015 - 0017 (new)
2: 0017 - 0018 (tmp/var)
LanguageCode::isWellFormedLanguageTag:
; (lines=102, args=2, vars=11, tmps=7)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/language/LanguageCode.php:310-354
0000 CV0($code) = RECV 1
0001 CV1($lenient) = RECV_INIT 2 bool(false)
0002 JMPZ CV1($lenient) 0005
0003 T11 = QM_ASSIGN string("[-_]")
0004 JMP 0006
0005 T11 = QM_ASSIGN string("-")
0006 CV2($s) = QM_ASSIGN T11
0007 T11 = ROPE_INIT 7 string("[a-z]")
0008 T11 = ROPE_ADD 1 T11 string("{2,8}|")
0009 T11 = ROPE_ADD 2 T11 string("[a-z]")
0010 T11 = ROPE_ADD 3 T11 string("{2,3}")
0011 T11 = ROPE_ADD 4 T11 CV2($s)
0012 T11 = ROPE_ADD 5 T11 string("[a-z]")
0013 CV3($language) = ROPE_END 6 T11 string("{3}")
0014 T11 = ROPE_INIT 5 string("[a-wy-z]")
0015 T11 = ROPE_ADD 1 T11 string("(?:")
0016 T11 = ROPE_ADD 2 T11 CV2($s)
0017 T11 = ROPE_ADD 3 T11 string("[a-z0-9]")
0018 CV4($extension) = ROPE_END 4 T11 string("{2,8})+")
0019 T11 = ROPE_INIT 5 string("x")
0020 T11 = ROPE_ADD 1 T11 string("(?:")
0021 T11 = ROPE_ADD 2 T11 CV2($s)
0022 T11 = ROPE_ADD 3 T11 string("[a-z0-9]")
0023 CV5($privateUse) = ROPE_END 4 T11 string("{1,8})+")
0024 T13 = ROPE_INIT 5 string("en")
0025 T13 = ROPE_ADD 1 T13 CV2($s)
0026 T13 = ROPE_ADD 2 T13 string("gb")
0027 T13 = ROPE_ADD 3 T13 CV2($s)
0028 T12 = ROPE_END 4 T13 string("oed")
0029 T14 = ROPE_INIT 3 string("|i")
0030 T14 = ROPE_ADD 1 T14 CV2($s)
0031 T13 = ROPE_END 2 T14 string("(?:ami|bnn|default|enochian|hak|klingon|lux|mingo|navajo|pwn|tao|tay|tsu)")
0032 T11 = FAST_CONCAT T12 T13
0033 T14 = ROPE_INIT 3 string("|no")
0034 T14 = ROPE_ADD 1 T14 CV2($s)
0035 T13 = ROPE_END 2 T14 string("(?:bok|nyn)")
0036 T12 = FAST_CONCAT T11 T13
0037 T14 = ROPE_INIT 7 string("|sgn")
0038 T14 = ROPE_ADD 1 T14 CV2($s)
0039 T14 = ROPE_ADD 2 T14 string("(?:be")
0040 T14 = ROPE_ADD 3 T14 CV2($s)
0041 T14 = ROPE_ADD 4 T14 string("(?:fr|nl)|ch")
0042 T14 = ROPE_ADD 5 T14 CV2($s)
0043 T13 = ROPE_END 6 T14 string("de)")
0044 T11 = FAST_CONCAT T12 T13
0045 T13 = ROPE_INIT 5 string("|zh")
0046 T13 = ROPE_ADD 1 T13 CV2($s)
0047 T13 = ROPE_ADD 2 T13 string("min")
0048 T13 = ROPE_ADD 3 T13 CV2($s)
0049 T12 = ROPE_END 4 T13 string("nan")
0050 CV6($legacy) = FAST_CONCAT T11 T12
0051 T11 = ROPE_INIT 5 string("(?:[a-z0-9]{5,8}|[0-9][a-z0-9]{3})")
0052 T11 = ROPE_ADD 1 T11 string("(?:")
0053 T11 = ROPE_ADD 2 T11 CV2($s)
0054 T11 = ROPE_ADD 3 T11 string("(?:[a-z0-9]{5,8}|[0-9][a-z0-9]{3})")
0055 CV7($variantList) = ROPE_END 4 T11 string(")*")
0056 T11 = ROPE_INIT 5 CV4($extension)
0057 T11 = ROPE_ADD 1 T11 string("(?:")
0058 T11 = ROPE_ADD 2 T11 CV2($s)
0059 T11 = ROPE_ADD 3 T11 CV4($extension)
0060 CV8($extensionList) = ROPE_END 4 T11 string(")*")
0061 T12 = ROPE_INIT 3 string("(?:(")
0062 T12 = ROPE_ADD 1 T12 CV3($language)
0063 T11 = ROPE_END 2 T12 string(")")
0064 T14 = ROPE_INIT 4 string("(?:")
0065 T14 = ROPE_ADD 1 T14 CV2($s)
0066 T14 = ROPE_ADD 2 T14 string("[a-z]{4}")
0067 T13 = ROPE_END 3 T14 string(")?")
0068 T12 = FAST_CONCAT T11 T13
0069 T14 = ROPE_INIT 4 string("(?:")
0070 T14 = ROPE_ADD 1 T14 CV2($s)
0071 T14 = ROPE_ADD 2 T14 string("(?:[a-z]{2}|[0-9]{3})")
0072 T13 = ROPE_END 3 T14 string(")?")
0073 T11 = FAST_CONCAT T12 T13
0074 T14 = ROPE_INIT 4 string("(?:")
0075 T14 = ROPE_ADD 1 T14 CV2($s)
0076 T14 = ROPE_ADD 2 T14 CV7($variantList)
0077 T13 = ROPE_END 3 T14 string(")?")
0078 T12 = FAST_CONCAT T11 T13
0079 T14 = ROPE_INIT 4 string("(?:")
0080 T14 = ROPE_ADD 1 T14 CV2($s)
0081 T14 = ROPE_ADD 2 T14 CV8($extensionList)
0082 T13 = ROPE_END 3 T14 string(")?")
0083 T11 = FAST_CONCAT T12 T13
0084 T13 = ROPE_INIT 4 string("(?:")
0085 T13 = ROPE_ADD 1 T13 CV2($s)
0086 T13 = ROPE_ADD 2 T13 CV5($privateUse)
0087 T12 = ROPE_END 3 T13 string(")?)")
0088 CV9($langtag) = FAST_CONCAT T11 T12
0089 T11 = ROPE_INIT 7 string("^(?:")
0090 T11 = ROPE_ADD 1 T11 CV9($langtag)
0091 T11 = ROPE_ADD 2 T11 string("|")
0092 T11 = ROPE_ADD 3 T11 CV5($privateUse)
0093 T11 = ROPE_ADD 4 T11 string("|")
0094 T11 = ROPE_ADD 5 T11 CV6($legacy)
0095 CV10($root) = ROPE_END 6 T11 string(")$")
0096 T13 = ROPE_INIT 3 string("/")
0097 T13 = ROPE_ADD 1 T13 CV10($root)
0098 T12 = ROPE_END 2 T13 string("/i")
0099 T11 = FRAMELESS_ICALL_2(preg_match) T12 CV0($code)
0100 VERIFY_RETURN_TYPE T11
0101 RETURN T11
LIVE RANGES:
11: 0007 - 0013 (rope)
11: 0014 - 0018 (rope)
11: 0019 - 0023 (rope)
13: 0024 - 0028 (rope)
12: 0029 - 0032 (tmp/var)
14: 0029 - 0031 (rope)
11: 0033 - 0036 (tmp/var)
14: 0033 - 0035 (rope)
12: 0037 - 0044 (tmp/var)
14: 0037 - 0043 (rope)
11: 0045 - 0050 (tmp/var)
13: 0045 - 0049 (rope)
11: 0051 - 0055 (rope)
11: 0056 - 0060 (rope)
12: 0061 - 0063 (rope)
11: 0064 - 0068 (tmp/var)
14: 0064 - 0067 (rope)
12: 0069 - 0073 (tmp/var)
14: 0069 - 0072 (rope)
11: 0074 - 0078 (tmp/var)
14: 0074 - 0077 (rope)
12: 0079 - 0083 (tmp/var)
14: 0079 - 0082 (rope)
11: 0084 - 0088 (tmp/var)
13: 0084 - 0087 (rope)
11: 0089 - 0095 (rope)
13: 0096 - 0098 (rope)
---- TRACE 7 start (loop) LanguageCode::bcp47() /var/tmp/mediawiki-1.42.1/includes/language/LanguageCode.php:195
0019 CV4($segNo) = FE_FETCH_R V5 CV3($seg) 0066 ; op1(packed array) op2(string)
0066 FE_FREE V5 ; op1(packed array)
0067 T5 = FRAMELESS_ICALL_2(implode) string("-") CV2($codeBCP) ; op2(array)
0068 RETURN T5 ; op1(string)
---- TRACE 7 abort (exit from loop)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/MWDebug.php:1-777
0000 RETURN int(1)
MWDebug::setup:
; (lines=13, args=0, vars=3, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/MWDebug.php:87-106
0000 BIND_GLOBAL CV0($wgDebugToolbar) string("wgDebugToolbar")
0001 BIND_GLOBAL CV1($wgUseCdn) string("wgUseCdn")
0002 BIND_GLOBAL CV2($wgUseFileCache) string("wgUseFileCache")
0003 JMPNZ CV1($wgUseCdn) 0008
0004 JMPNZ CV2($wgUseFileCache) 0008
0005 T4 = FETCH_CONSTANT string("MW_ENTRY_POINT")
0006 T3 = IS_IDENTICAL T4 string("cli")
0007 JMPZ T3 0009
0008 RETURN null
0009 JMPZ CV0($wgDebugToolbar) 0012
0010 INIT_STATIC_METHOD_CALL 0 (self) (exception) string("init")
0011 DO_FCALL
0012 RETURN null
MWDebug::init:
; (lines=3, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/MWDebug.php:114-116
0000 ASSIGN_STATIC_PROP string("enabled")
0001 OP_DATA bool(true)
0002 RETURN null
MWDebug::deinit:
; (lines=3, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/MWDebug.php:123-125
0000 ASSIGN_STATIC_PROP string("enabled")
0001 OP_DATA bool(false)
0002 RETURN null
MWDebug::addModules:
; (lines=7, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/MWDebug.php:134-138
0000 CV0($out) = RECV 1
0001 T1 = FETCH_STATIC_PROP_R string("enabled") (self) (exception)
0002 JMPZ T1 0006
0003 INIT_METHOD_CALL 1 CV0($out) string("addModules")
0004 SEND_VAL_EX string("mediawiki.debug") 1
0005 DO_FCALL
0006 RETURN null
MWDebug::log:
; (lines=23, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/MWDebug.php:146-158
0000 CV0($str) = RECV 1
0001 T1 = FETCH_STATIC_PROP_R string("enabled") (self) (exception)
0002 JMPNZ T1 0004
0003 RETURN null
0004 T1 = TYPE_CHECK (string) CV0($str)
0005 JMPNZ T1 0011
0006 INIT_FCALL 2 112 string("print_r")
0007 SEND_VAR CV0($str) 1
0008 SEND_VAL bool(true) 2
0009 V1 = DO_ICALL
0010 ASSIGN CV0($str) V1
0011 INIT_FCALL 1 96 string("htmlspecialchars")
0012 SEND_VAR CV0($str) 1
0013 V2 = DO_ICALL
0014 T1 = INIT_ARRAY 3 V2 string("msg")
0015 T1 = ADD_ARRAY_ELEMENT string("log") string("type")
0016 INIT_FCALL_BY_NAME 0 string("wfGetCaller")
0017 V2 = DO_FCALL_BY_NAME
0018 T1 = ADD_ARRAY_ELEMENT V2 string("caller")
0019 V2 = FETCH_STATIC_PROP_W (dim write) string("log") (self) (exception)
0020 ASSIGN_DIM V2 NEXT
0021 OP_DATA T1
0022 RETURN null
LIVE RANGES:
1: 0015 - 0020 (tmp/var)
MWDebug::getLog:
; (lines=2, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/MWDebug.php:165-167
0000 T0 = FETCH_STATIC_PROP_R string("log") (self) (exception)
0001 RETURN T0
MWDebug::clearLog:
; (lines=5, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/MWDebug.php:173-176
0000 ASSIGN_STATIC_PROP string("log")
0001 OP_DATA array(...)
0002 ASSIGN_STATIC_PROP string("deprecationWarnings")
0003 OP_DATA array(...)
0004 RETURN null
MWDebug::warning:
; (lines=26, args=4, vars=6, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/MWDebug.php:189-206
0000 CV0($msg) = RECV 1
0001 CV1($callerOffset) = RECV_INIT 2 int(1)
0002 CV2($level) = RECV_INIT 3 zval(type=11)
0003 CV3($log) = RECV_INIT 4 string("auto")
0004 BIND_GLOBAL CV4($wgDevelopmentWarnings) string("wgDevelopmentWarnings")
0005 T6 = IS_IDENTICAL CV3($log) string("auto")
0006 JMPZ T6 0009
0007 JMPNZ CV4($wgDevelopmentWarnings) 0009
0008 ASSIGN CV3($log) string("debug")
0009 T6 = IS_IDENTICAL CV3($log) string("debug")
0010 JMPZ T6 0012
0011 ASSIGN CV2($level) bool(false)
0012 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("getCallerDescription")
0013 SEND_VAR CV1($callerOffset) 1
0014 V6 = DO_FCALL
0015 CV5($callerDescription) = QM_ASSIGN V6
0016 INIT_STATIC_METHOD_CALL 3 (self) (exception) string("sendMessage")
0017 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("formatCallerDescription")
0018 SEND_VAR CV0($msg) 1
0019 SEND_VAR CV5($callerDescription) 2
0020 V6 = DO_FCALL
0021 SEND_VAR V6 1
0022 SEND_VAL string("warning") 2
0023 SEND_VAR CV2($level) 3
0024 DO_FCALL
0025 RETURN null
MWDebug::deprecated:
; (lines=27, args=4, vars=5, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/MWDebug.php:222-232
0000 CV0($function) = RECV 1
0001 CV1($version) = RECV_INIT 2 bool(false)
0002 CV2($component) = RECV_INIT 3 bool(false)
0003 CV3($callerOffset) = RECV_INIT 4 int(2)
0004 JMPZ CV1($version) 0016
0005 T5 = JMP_SET CV2($component) 0007
0006 T5 = QM_ASSIGN string("MediaWiki")
0007 ASSIGN CV2($component) T5
0008 T5 = ROPE_INIT 7 string("Use of ")
0009 T5 = ROPE_ADD 1 T5 CV0($function)
0010 T5 = ROPE_ADD 2 T5 string(" was deprecated in ")
0011 T5 = ROPE_ADD 3 T5 CV2($component)
0012 T5 = ROPE_ADD 4 T5 string(" ")
0013 T5 = ROPE_ADD 5 T5 CV1($version)
0014 CV4($msg) = ROPE_END 6 T5 string(".")
0015 JMP 0019
0016 T5 = ROPE_INIT 3 string("Use of ")
0017 T5 = ROPE_ADD 1 T5 CV0($function)
0018 CV4($msg) = ROPE_END 2 T5 string(" is deprecated.")
0019 INIT_STATIC_METHOD_CALL 4 (self) (exception) string("deprecatedMsg")
0020 SEND_VAR CV4($msg) 1
0021 SEND_VAR CV1($version) 2
0022 SEND_VAR CV2($component) 3
0023 T5 = ADD CV3($callerOffset) int(1)
0024 SEND_VAL T5 4
0025 DO_FCALL
0026 RETURN null
LIVE RANGES:
5: 0008 - 0014 (rope)
5: 0016 - 0018 (rope)
MWDebug::detectDeprecatedOverride:
; (lines=39, args=6, vars=9, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/MWDebug.php:256-274
0000 CV0($instance) = RECV 1
0001 CV1($class) = RECV 2
0002 CV2($method) = RECV 3
0003 CV3($version) = RECV_INIT 4 bool(false)
0004 CV4($component) = RECV_INIT 5 bool(false)
0005 CV5($callerOffset) = RECV_INIT 6 int(2)
0006 V9 = NEW 2 string("ReflectionMethod")
0007 SEND_VAR_EX CV0($instance) 1
0008 SEND_VAR_EX CV2($method) 2
0009 DO_FCALL
0010 CV6($reflectionMethod) = QM_ASSIGN V9
0011 INIT_METHOD_CALL 0 CV6($reflectionMethod) string("getDeclaringClass")
0012 V9 = DO_FCALL
0013 INIT_METHOD_CALL 0 V9 string("getName")
0014 V9 = DO_FCALL
0015 CV7($declaringClass) = QM_ASSIGN V9
0016 T9 = IS_IDENTICAL CV7($declaringClass) CV1($class)
0017 JMPZ T9 0019
0018 RETURN bool(false)
0019 JMPZ CV3($version) 0038
0020 T9 = JMP_SET CV4($component) 0022
0021 T9 = QM_ASSIGN string("MediaWiki")
0022 ASSIGN CV4($component) T9
0023 T9 = ROPE_INIT 8 CV7($declaringClass)
0024 T9 = ROPE_ADD 1 T9 string(" overrides ")
0025 T9 = ROPE_ADD 2 T9 CV2($method)
0026 T9 = ROPE_ADD 3 T9 string(" which was deprecated in ")
0027 T9 = ROPE_ADD 4 T9 CV4($component)
0028 T9 = ROPE_ADD 5 T9 string(" ")
0029 T9 = ROPE_ADD 6 T9 CV3($version)
0030 CV8($msg) = ROPE_END 7 T9 string(".")
0031 INIT_STATIC_METHOD_CALL 4 (self) (exception) string("deprecatedMsg")
0032 SEND_VAR CV8($msg) 1
0033 SEND_VAR CV3($version) 2
0034 SEND_VAR CV4($component) 3
0035 T9 = ADD CV5($callerOffset) int(1)
0036 SEND_VAL T9 4
0037 DO_FCALL
0038 RETURN bool(true)
LIVE RANGES:
9: 0007 - 0010 (new)
9: 0023 - 0030 (rope)
MWDebug::deprecatedMsg:
; (lines=60, args=4, vars=10, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/MWDebug.php:304-354
0000 CV0($msg) = RECV 1
0001 CV1($version) = RECV_INIT 2 bool(false)
0002 CV2($component) = RECV_INIT 3 bool(false)
0003 CV3($callerOffset) = RECV_INIT 4 int(2)
0004 T10 = TYPE_CHECK (false) CV3($callerOffset)
0005 JMPZ T10 0009
0006 CV4($callerFunc) = QM_ASSIGN string("")
0007 CV5($rawMsg) = QM_ASSIGN CV0($msg)
0008 JMP 0019
0009 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("getCallerDescription")
0010 SEND_VAR CV3($callerOffset) 1
0011 V10 = DO_FCALL
0012 CV6($callerDescription) = QM_ASSIGN V10
0013 CV4($callerFunc) = FETCH_DIM_R CV6($callerDescription) string("func")
0014 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("formatCallerDescription")
0015 SEND_VAR CV0($msg) 1
0016 SEND_VAR CV6($callerDescription) 2
0017 V10 = DO_FCALL
0018 CV5($rawMsg) = QM_ASSIGN V10
0019 CV7($sendToLog) = QM_ASSIGN bool(true)
0020 T10 = FETCH_STATIC_PROP_IS string("deprecationWarnings") (self) (exception)
0021 T11 = FETCH_DIM_IS T10 CV0($msg)
0022 T10 = ISSET_ISEMPTY_DIM_OBJ (isset) T11 CV4($callerFunc)
0023 JMPZ T10 0025
0024 RETURN null
0025 T11 = FETCH_STATIC_PROP_IS string("deprecationWarnings") (self) (exception)
0026 T10 = ISSET_ISEMPTY_DIM_OBJ (isset) T11 CV0($msg)
0027 JMPZ T10 0033
0028 T10 = FETCH_STATIC_PROP_R string("enabled") (self) (exception)
0029 JMPZ T10 0032
0030 CV7($sendToLog) = QM_ASSIGN bool(false)
0031 JMP 0033
0032 RETURN null
0033 V11 = FETCH_STATIC_PROP_W (dim write) string("deprecationWarnings") (self) (exception)
0034 V10 = FETCH_DIM_W V11 CV0($msg)
0035 ASSIGN_DIM V10 CV4($callerFunc)
0036 OP_DATA bool(true)
0037 JMPZ CV1($version) 0054
0038 BIND_GLOBAL CV8($wgDeprecationReleaseLimit) string("wgDeprecationReleaseLimit")
0039 T10 = JMP_SET CV2($component) 0041
0040 T10 = QM_ASSIGN string("MediaWiki")
0041 ASSIGN CV2($component) T10
0042 JMPZ CV8($wgDeprecationReleaseLimit) 0054
0043 T10 = IS_IDENTICAL CV2($component) string("MediaWiki")
0044 JMPZ T10 0054
0045 CV9($comparableVersion) = FRAMELESS_ICALL_3(preg_replace) string("/-.*$/") string("")
0046 OP_DATA CV1($version)
0047 INIT_FCALL 3 128 string("version_compare")
0048 SEND_VAR CV8($wgDeprecationReleaseLimit) 1
0049 SEND_VAR CV9($comparableVersion) 2
0050 SEND_VAL string("<") 3
0051 V10 = DO_ICALL
0052 JMPZ V10 0054
0053 CV7($sendToLog) = QM_ASSIGN bool(false)
0054 INIT_STATIC_METHOD_CALL 3 (self) (exception) string("sendRawDeprecated")
0055 SEND_VAR CV5($rawMsg) 1
0056 SEND_VAR CV7($sendToLog) 2
0057 SEND_VAR CV4($callerFunc) 3
0058 DO_FCALL
0059 RETURN null
MWDebug::sendRawDeprecated:
; (lines=24, args=3, vars=5, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/MWDebug.php:368-381
0000 CV0($msg) = RECV 1
0001 CV1($sendToLog) = RECV_INIT 2 bool(true)
0002 CV2($callerFunc) = RECV_INIT 3 string("")
0003 T6 = FETCH_STATIC_PROP_R string("deprecationFilters") (self) (exception)
0004 V5 = FE_RESET_R T6 0017
0005 T6 = FE_FETCH_R V5 CV3($callback) 0017
0006 ASSIGN CV4($filter) T6
0007 T6 = FRAMELESS_ICALL_2(preg_match) CV4($filter) CV0($msg)
0008 JMPZ T6 0005
0009 INIT_FCALL 1 96 string("is_callable")
0010 SEND_VAR CV3($callback) 1
0011 V6 = DO_ICALL
0012 JMPZ V6 0015
0013 INIT_DYNAMIC_CALL 0 CV3($callback)
0014 DO_FCALL
0015 FE_FREE V5
0016 RETURN null
0017 FE_FREE V5
0018 JMPZ CV1($sendToLog) 0023
0019 INIT_FCALL 2 112 string("trigger_error")
0020 SEND_VAR CV0($msg) 1
0021 SEND_VAL int(16384) 2
0022 DO_ICALL
0023 RETURN null
LIVE RANGES:
5: 0005 - 0017 (loop)
MWDebug::filterDeprecationForTest:
; (lines=14, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/MWDebug.php:390-397
0000 CV0($regex) = RECV 1
0001 CV1($callback) = RECV_INIT 2 null
0002 T2 = DEFINED string("MW_PHPUNIT_TEST")
0003 JMPNZ T2 0010
0004 T2 = DEFINED string("MW_PARSER_TEST")
0005 JMPNZ T2 0010
0006 V2 = NEW 1 string("LogicException")
0007 SEND_VAL_EX string("MWDebug::filterDeprecationForTest can only be used in tests") 1
0008 DO_FCALL
0009 THROW V2
0010 V2 = FETCH_STATIC_PROP_W (dim write) string("deprecationFilters") (self) (exception)
0011 ASSIGN_DIM V2 CV0($regex)
0012 OP_DATA CV1($callback)
0013 RETURN null
LIVE RANGES:
2: 0007 - 0009 (new)
MWDebug::clearDeprecationFilters:
; (lines=3, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/MWDebug.php:402-404
0000 ASSIGN_STATIC_PROP string("deprecationFilters")
0001 OP_DATA array(...)
0002 RETURN null
MWDebug::getCallerDescription:
; (lines=39, args=1, vars=6, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/MWDebug.php:413-441
0000 CV0($callerOffset) = RECV 1
0001 INIT_FCALL_BY_NAME 0 string("wfDebugBacktrace")
0002 V6 = DO_FCALL_BY_NAME
0003 CV1($callers) = QM_ASSIGN V6
0004 T6 = ISSET_ISEMPTY_DIM_OBJ (isset) CV1($callers) CV0($callerOffset)
0005 JMPZ T6 0018
0006 CV2($callerfile) = FETCH_DIM_R CV1($callers) CV0($callerOffset)
0007 T6 = ISSET_ISEMPTY_DIM_OBJ (isset) CV2($callerfile) string("file")
0008 JMPZ T6 0016
0009 T6 = ISSET_ISEMPTY_DIM_OBJ (isset) CV2($callerfile) string("line")
0010 JMPZ T6 0016
0011 T7 = FETCH_DIM_R CV2($callerfile) string("file")
0012 T6 = CONCAT T7 string(" at line ")
0013 T7 = FETCH_DIM_R CV2($callerfile) string("line")
0014 CV3($file) = CONCAT T6 T7
0015 JMP 0019
0016 CV3($file) = QM_ASSIGN string("(internal function)")
0017 JMP 0019
0018 CV3($file) = QM_ASSIGN string("(unknown location)")
0019 T7 = ADD CV0($callerOffset) int(1)
0020 T6 = ISSET_ISEMPTY_DIM_OBJ (isset) CV1($callers) T7
0021 JMPZ T6 0035
0022 T6 = ADD CV0($callerOffset) int(1)
0023 CV4($callerfunc) = FETCH_DIM_R CV1($callers) T6
0024 CV5($func) = QM_ASSIGN string("")
0025 T6 = ISSET_ISEMPTY_DIM_OBJ (isset) CV4($callerfunc) string("class")
0026 JMPZ T6 0030
0027 T7 = FETCH_DIM_R CV4($callerfunc) string("class")
0028 T6 = CONCAT T7 string("::")
0029 ASSIGN_OP (CONCAT) CV5($func) T6
0030 T6 = ISSET_ISEMPTY_DIM_OBJ (isset) CV4($callerfunc) string("function")
0031 JMPZ T6 0036
0032 T6 = FETCH_DIM_R CV4($callerfunc) string("function")
0033 ASSIGN_OP (CONCAT) CV5($func) T6
0034 JMP 0036
0035 CV5($func) = QM_ASSIGN string("unknown")
0036 T6 = INIT_ARRAY 2 CV3($file) string("file")
0037 T6 = ADD_ARRAY_ELEMENT CV5($func) string("func")
0038 RETURN T6
LIVE RANGES:
6: 0013 - 0014 (tmp/var)
6: 0037 - 0038 (tmp/var)
MWDebug::formatCallerDescription:
; (lines=10, args=2, vars=2, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/MWDebug.php:450-453
0000 CV0($msg) = RECV 1
0001 CV1($caller) = RECV 2
0002 T2 = CONCAT CV0($msg) string(" [Called from ")
0003 T4 = FETCH_DIM_R CV1($caller) string("func")
0004 T3 = CONCAT T2 T4
0005 T2 = FAST_CONCAT T3 string(" in ")
0006 T4 = FETCH_DIM_R CV1($caller) string("file")
0007 T3 = CONCAT T2 T4
0008 T2 = FAST_CONCAT T3 string("]")
0009 RETURN T2
LIVE RANGES:
2: 0003 - 0004 (tmp/var)
2: 0006 - 0007 (tmp/var)
MWDebug::parseCallerDescription:
; (lines=23, args=1, vars=2, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/MWDebug.php:467-480
0000 CV0($msg) = RECV 1
0001 CV1($match) = QM_ASSIGN null
0002 INIT_FCALL 3 128 string("preg_match")
0003 SEND_VAL string("/(.*) \\[Called from ([^ ]+) in ([^ ]+) at line (\\d+)\\]$/") 1
0004 SEND_VAR CV0($msg) 2
0005 SEND_REF CV1($match) 3
0006 DO_ICALL
0007 JMPZ CV1($match) 0022
0008 T2 = FETCH_DIM_R CV1($match) int(1)
0009 T4 = ROPE_INIT 4 T2
0010 T4 = ROPE_ADD 1 T4 string(" [Called from ")
0011 T2 = FETCH_DIM_R CV1($match) int(2)
0012 T4 = ROPE_ADD 2 T4 T2
0013 T3 = ROPE_END 3 T4 string("]")
0014 T2 = INIT_ARRAY 4 T3 string("message")
0015 T3 = FETCH_DIM_R CV1($match) int(2)
0016 T2 = ADD_ARRAY_ELEMENT T3 string("func")
0017 T3 = FETCH_DIM_R CV1($match) int(3)
0018 T2 = ADD_ARRAY_ELEMENT T3 string("file")
0019 T3 = FETCH_DIM_R CV1($match) int(4)
0020 T2 = ADD_ARRAY_ELEMENT T3 string("line")
0021 RETURN T2
0022 RETURN null
LIVE RANGES:
4: 0009 - 0013 (rope)
2: 0015 - 0021 (tmp/var)
MWDebug::sendMessage:
; (lines=14, args=3, vars=3, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/MWDebug.php:490-496
0000 CV0($msg) = RECV 1
0001 CV1($group) = RECV 2
0002 CV2($level) = RECV 3
0003 T3 = TYPE_CHECK TYPE [null, true, long, double, string, array, object, resource] CV2($level)
0004 JMPZ T3 0009
0005 INIT_FCALL 2 112 string("trigger_error")
0006 SEND_VAR CV0($msg) 1
0007 SEND_VAR CV2($level) 2
0008 DO_ICALL
0009 INIT_FCALL_BY_NAME 2 string("wfDebugLog")
0010 SEND_VAR_EX CV1($group) 1
0011 SEND_VAR_EX CV0($msg) 2
0012 DO_FCALL_BY_NAME
0013 RETURN null
MWDebug::debugMsg:
; (lines=124, args=2, vars=11, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/MWDebug.php:508-560
0000 CV0($str) = RECV 1
0001 CV1($context) = RECV_INIT 2 array(...)
0002 BIND_GLOBAL CV2($wgDebugComments) string("wgDebugComments")
0003 BIND_GLOBAL CV3($wgShowDebug) string("wgShowDebug")
0004 T11 = FETCH_STATIC_PROP_R string("enabled") (self) (exception)
0005 JMPNZ T11 0008
0006 JMPNZ CV2($wgDebugComments) 0008
0007 JMPZ CV3($wgShowDebug) 0123
0008 JMPZ CV1($context) 0043
0009 CV4($prefix) = QM_ASSIGN string("")
0010 T11 = ISSET_ISEMPTY_DIM_OBJ (isset) CV1($context) string("prefix")
0011 JMPZ T11 0015
0012 T11 = FETCH_DIM_R CV1($context) string("prefix")
0013 ASSIGN CV4($prefix) T11
0014 JMP 0025
0015 T11 = ISSET_ISEMPTY_DIM_OBJ (isset) CV1($context) string("channel")
0016 JMPZ T11 0025
0017 T12 = FETCH_DIM_R CV1($context) string("channel")
0018 T11 = IS_NOT_IDENTICAL T12 string("wfDebug")
0019 JMPZ T11 0025
0020 T12 = ROPE_INIT 3 string("[")
0021 T11 = FETCH_DIM_R CV1($context) string("channel")
0022 T12 = ROPE_ADD 1 T12 T11
0023 T11 = ROPE_END 2 T12 string("] ")
0024 ASSIGN CV4($prefix) T11
0025 T11 = ISSET_ISEMPTY_DIM_OBJ (isset) CV1($context) string("seconds_elapsed")
0026 JMPZ T11 0036
0027 T11 = ISSET_ISEMPTY_DIM_OBJ (isset) CV1($context) string("memory_used")
0028 JMPZ T11 0036
0029 T11 = FETCH_DIM_R CV1($context) string("seconds_elapsed")
0030 T12 = ROPE_INIT 4 T11
0031 T12 = ROPE_ADD 1 T12 string(" ")
0032 T11 = FETCH_DIM_R CV1($context) string("memory_used")
0033 T12 = ROPE_ADD 2 T12 T11
0034 T11 = ROPE_END 3 T12 string(" ")
0035 ASSIGN_OP (CONCAT) CV4($prefix) T11
0036 INIT_STATIC_METHOD_CALL 2 string("MediaWiki\\Logger\\LegacyLogger") string("interpolate")
0037 SEND_VAR_EX CV0($str) 1
0038 SEND_VAR_EX CV1($context) 2
0039 V11 = DO_FCALL
0040 ASSIGN CV0($str) V11
0041 T11 = CONCAT CV4($prefix) CV0($str)
0042 ASSIGN CV0($str) T11
0043 INIT_FCALL 1 96 string("rtrim")
0044 INIT_STATIC_METHOD_CALL 1 string("UtfNormal\\Validator") string("cleanUp")
0045 SEND_VAR_EX CV0($str) 1
0046 V11 = DO_FCALL
0047 SEND_VAR V11 1
0048 V11 = DO_ICALL
0049 ASSIGN CV0($str) V11
0050 V11 = FETCH_STATIC_PROP_W (dim write) string("debug") (self) (exception)
0051 ASSIGN_DIM V11 NEXT
0052 OP_DATA CV0($str)
0053 T11 = ISSET_ISEMPTY_DIM_OBJ (isset) CV1($context) string("channel")
0054 JMPZ T11 0123
0055 T12 = FETCH_DIM_R CV1($context) string("channel")
0056 T11 = IS_IDENTICAL T12 string("error")
0057 JMPZ T11 0123
0058 T11 = ISSET_ISEMPTY_DIM_OBJ (isset) CV1($context) string("exception")
0059 JMPZ T11 0065
0060 T11 = FETCH_DIM_R CV1($context) string("exception")
0061 INIT_METHOD_CALL 0 T11 string("getMessage")
0062 V12 = DO_FCALL
0063 T11 = QM_ASSIGN V12
0064 JMP 0066
0065 T11 = QM_ASSIGN CV0($str)
0066 CV5($message) = QM_ASSIGN T11
0067 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("parseCallerDescription")
0068 SEND_VAR CV5($message) 1
0069 V11 = DO_UCALL
0070 CV6($real) = QM_ASSIGN V11
0071 JMPZ CV6($real) 0076
0072 T11 = FETCH_DIM_R CV6($real) string("message")
0073 ASSIGN CV5($message) T11
0074 CV7($caller) = FETCH_DIM_R CV6($real) string("func")
0075 JMP 0114
0076 T11 = ISSET_ISEMPTY_DIM_OBJ (isset) CV1($context) string("exception")
0077 JMPZ T11 0083
0078 T11 = FETCH_DIM_R CV1($context) string("exception")
0079 INIT_METHOD_CALL 0 T11 string("getTrace")
0080 V12 = DO_FCALL
0081 T11 = QM_ASSIGN V12
0082 JMP 0084
0083 T11 = QM_ASSIGN array(...)
0084 CV8($trace) = QM_ASSIGN T11
0085 T12 = FETCH_DIM_IS CV8($trace) int(5)
0086 T11 = FETCH_DIM_IS T12 string("function")
0087 T12 = COALESCE T11 0089
0088 T12 = QM_ASSIGN null
0089 T11 = IS_IDENTICAL T12 string("wfDeprecated")
0090 JMPZ T11 0093
0091 CV9($offset) = QM_ASSIGN int(6)
0092 JMP 0102
0093 T12 = FETCH_DIM_IS CV8($trace) int(1)
0094 T11 = FETCH_DIM_IS T12 string("function")
0095 T12 = COALESCE T11 0097
0096 T12 = QM_ASSIGN null
0097 T11 = IS_IDENTICAL T12 string("trigger_error")
0098 JMPZ T11 0101
0099 CV9($offset) = QM_ASSIGN int(2)
0100 JMP 0102
0101 CV9($offset) = QM_ASSIGN int(1)
0102 T12 = FETCH_DIM_IS CV8($trace) CV9($offset)
0103 T11 = COALESCE T12 0105
0104 T11 = FETCH_DIM_R CV8($trace) int(0)
0105 CV10($frame) = QM_ASSIGN T11
0106 T11 = ISSET_ISEMPTY_DIM_OBJ (isset) CV10($frame) string("class")
0107 JMPZ T11 0111
0108 T12 = FETCH_DIM_R CV10($frame) string("class")
0109 T11 = CONCAT T12 string("::")
0110 JMP 0112
0111 T11 = QM_ASSIGN string("")
0112 T12 = FETCH_DIM_R CV10($frame) string("function")
0113 CV7($caller) = CONCAT T11 T12
0114 INIT_FCALL 1 96 string("htmlspecialchars")
0115 SEND_VAR CV5($message) 1
0116 V12 = DO_ICALL
0117 T11 = INIT_ARRAY 3 V12 string("msg")
0118 T11 = ADD_ARRAY_ELEMENT string("warn") string("type")
0119 T11 = ADD_ARRAY_ELEMENT CV7($caller) string("caller")
0120 V12 = FETCH_STATIC_PROP_W (dim write) string("log") (self) (exception)
0121 ASSIGN_DIM V12 NEXT
0122 OP_DATA T11
0123 RETURN null
LIVE RANGES:
12: 0020 - 0023 (rope)
12: 0030 - 0034 (rope)
11: 0112 - 0113 (tmp/var)
11: 0118 - 0121 (tmp/var)
MWDebug::query:
; (lines=24, args=4, vars=4, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/MWDebug.php:572-609
0000 CV0($sql) = RECV 1
0001 CV1($function) = RECV 2
0002 CV2($runTime) = RECV 3
0003 CV3($dbhost) = RECV 4
0004 T4 = FETCH_STATIC_PROP_R string("enabled") (self) (exception)
0005 JMPNZ T4 0007
0006 RETURN bool(false)
0007 T4 = FRAMELESS_ICALL_3(preg_replace) string("/(
[\\xC0-\\xC1] # Invalid UTF-8 Bytes
| [\\xF5-\\xFF] # Invalid UTF-8 Bytes
| \\xE0[\\x80-\\x9F] # Overlong encoding of prior code point
| \\xF0[\\x80-\\x8F] # Overlong encoding of prior code point
| [\\xC2-\\xDF](?![\\x80-\\xBF]) # Invalid UTF-8 Sequence Start
| [\\xE0-\\xEF](?![\\x80-\\xBF]{2}) # Invalid UTF-8 Sequence Start
| [\\xF0-\\xF4](?![\\x80-\\xBF]{3}) # Invalid UTF-8 Sequence Start
| (?<=[\\x0-\\x7F\\xF5-\\xFF])[\\x80-\\xBF] # Invalid UTF-8 Sequence Middle
| (?<![\\xC2-\\xDF]|[\\xE0-\\xEF]|[\\xE0-\\xEF][\\x80-\\xBF]|[\\xF0-\\xF4]
| [\\xF0-\\xF4][\\x80-\\xBF]|[\\xF0-\\xF4][\\x80-\\xBF]{2})[\\x80-\\xBF] # Overlong Sequence
| (?<=[\\xE0-\\xEF])[\\x80-\\xBF](?![\\x80-\\xBF]) # Short 3 byte sequence
| (?<=[\\xF0-\\xF4])[\\x80-\\xBF](?![\\x80-\\xBF]{2}) # Short 4 byte sequence
| (?<=[\\xF0-\\xF4][\\x80-\\xBF])[\\x80-\\xBF](?![\\x80-\\xBF]) # Short 4 byte sequence (2)
)/x") string("■")
0008 OP_DATA CV0($sql)
0009 ASSIGN CV0($sql) T4
0010 INIT_STATIC_METHOD_CALL 1 string("UtfNormal\\Validator") string("cleanUp")
0011 SEND_VAR_EX CV0($sql) 1
0012 V4 = DO_FCALL
0013 ASSIGN CV0($sql) V4
0014 T6 = ROPE_INIT 3 CV3($dbhost)
0015 T6 = ROPE_ADD 1 T6 string(": ")
0016 T5 = ROPE_END 2 T6 CV0($sql)
0017 T4 = INIT_ARRAY 3 T5 string("sql")
0018 T4 = ADD_ARRAY_ELEMENT CV1($function) string("function")
0019 T4 = ADD_ARRAY_ELEMENT CV2($runTime) string("time")
0020 V5 = FETCH_STATIC_PROP_W (dim write) string("query") (self) (exception)
0021 ASSIGN_DIM V5 NEXT
0022 OP_DATA T4
0023 RETURN bool(true)
LIVE RANGES:
4: 0008 - 0009 (tmp/var)
6: 0014 - 0016 (rope)
4: 0018 - 0021 (tmp/var)
MWDebug::getFilesIncluded:
; (lines=28, args=1, vars=5, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/MWDebug.php:617-636
0000 CV0($context) = RECV 1
0001 INIT_FCALL 0 80 string("get_included_files")
0002 V5 = DO_ICALL
0003 CV1($files) = QM_ASSIGN V5
0004 CV2($fileList) = QM_ASSIGN array(...)
0005 V5 = FE_RESET_R CV1($files) 0026
0006 FE_FETCH_R V5 CV3($file) 0026
0007 T7 = BEGIN_SILENCE
0008 INIT_FCALL 1 96 string("filesize")
0009 SEND_VAR CV3($file) 1
0010 V6 = DO_ICALL
0011 END_SILENCE T7
0012 ASSIGN CV4($size) V6
0013 T6 = TYPE_CHECK (false) CV4($size)
0014 JMPZ T6 0016
0015 ASSIGN CV4($size) int(0)
0016 T6 = INIT_ARRAY 2 CV3($file) string("name")
0017 INIT_METHOD_CALL 0 CV0($context) string("getLanguage")
0018 V7 = DO_FCALL
0019 INIT_METHOD_CALL 1 V7 string("formatSize")
0020 SEND_VAR_EX CV4($size) 1
0021 V7 = DO_FCALL
0022 T6 = ADD_ARRAY_ELEMENT V7 string("size")
0023 ASSIGN_DIM CV2($fileList) NEXT
0024 OP_DATA T6
0025 JMP 0006
0026 FE_FREE V5
0027 RETURN CV2($fileList)
LIVE RANGES:
5: 0006 - 0026 (loop)
7: 0008 - 0011 (silence)
6: 0017 - 0023 (tmp/var)
MWDebug::getDebugHTML:
; (lines=42, args=1, vars=5, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/MWDebug.php:645-670
0000 CV0($context) = RECV 1
0001 BIND_GLOBAL CV1($wgDebugComments) string("wgDebugComments")
0002 CV2($html) = QM_ASSIGN array(...)
0003 T5 = FETCH_STATIC_PROP_R string("enabled") (self) (exception)
0004 JMPZ T5 0021
0005 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("log")
0006 SEND_VAL string("MWDebug output complete") 1
0007 DO_UCALL
0008 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("getDebugInfo")
0009 SEND_VAR CV0($context) 1
0010 V5 = DO_FCALL
0011 CV3($debugInfo) = QM_ASSIGN V5
0012 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\ResourceLoader\\ResourceLoader") string("makeInlineScript")
0013 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\ResourceLoader\\ResourceLoader") string("makeConfigSetScript")
0014 T5 = INIT_ARRAY 1 CV3($debugInfo) string("debugInfo")
0015 SEND_VAL_EX T5 1
0016 V5 = DO_FCALL
0017 SEND_VAR_NO_REF_EX V5 1
0018 V5 = DO_FCALL
0019 ASSIGN_DIM CV2($html) NEXT
0020 OP_DATA V5
0021 JMPZ CV1($wgDebugComments) 0037
0022 ASSIGN_DIM CV2($html) NEXT
0023 OP_DATA string("<!-- Debug output:")
0024 T6 = FETCH_STATIC_PROP_R string("debug") (self) (exception)
0025 V5 = FE_RESET_R T6 0034
0026 FE_FETCH_R V5 CV4($line) 0034
0027 INIT_FCALL 2 112 string("htmlspecialchars")
0028 SEND_VAR CV4($line) 1
0029 SEND_VAL int(0) 2
0030 V6 = DO_ICALL
0031 ASSIGN_DIM CV2($html) NEXT
0032 OP_DATA V6
0033 JMP 0026
0034 FE_FREE V5
0035 ASSIGN_DIM CV2($html) NEXT
0036 OP_DATA string("-->")
0037 INIT_STATIC_METHOD_CALL 2 string("Wikimedia\\WrappedString") string("join")
0038 SEND_VAL_EX string("
") 1
0039 SEND_VAR_EX CV2($html) 2
0040 V5 = DO_FCALL
0041 RETURN V5
LIVE RANGES:
5: 0026 - 0034 (loop)
MWDebug::getHTMLDebugLog:
; (lines=38, args=0, vars=4, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/MWDebug.php:680-698
0000 BIND_GLOBAL CV0($wgShowDebug) string("wgShowDebug")
0001 CV1($html) = QM_ASSIGN array(...)
0002 JMPZ CV0($wgShowDebug) 0033
0003 INIT_STATIC_METHOD_CALL 2 string("MediaWiki\\Html\\Html") string("openElement")
0004 SEND_VAL_EX string("div") 1
0005 SEND_VAL_EX array(...) 2
0006 V4 = DO_FCALL
0007 ASSIGN_DIM CV1($html) NEXT
0008 OP_DATA V4
0009 ASSIGN_DIM CV1($html) NEXT
0010 OP_DATA string("<hr />
<strong>Debug data:</strong><ul id=\"mw-debug-html\">")
0011 T5 = FETCH_STATIC_PROP_R string("debug") (self) (exception)
0012 V4 = FE_RESET_R T5 0028
0013 FE_FETCH_R V4 CV2($line) 0028
0014 INIT_FCALL 1 96 string("nl2br")
0015 INIT_FCALL 1 96 string("htmlspecialchars")
0016 T5 = FRAMELESS_ICALL_1(trim) CV2($line)
0017 SEND_VAL T5 1
0018 V5 = DO_ICALL
0019 SEND_VAR V5 1
0020 V5 = DO_ICALL
0021 ASSIGN CV3($display) V5
0022 T6 = ROPE_INIT 3 string("<li><code>")
0023 T6 = ROPE_ADD 1 T6 CV3($display)
0024 T5 = ROPE_END 2 T6 string("</code></li>")
0025 ASSIGN_DIM CV1($html) NEXT
0026 OP_DATA T5
0027 JMP 0013
0028 FE_FREE V4
0029 ASSIGN_DIM CV1($html) NEXT
0030 OP_DATA string("</ul>")
0031 ASSIGN_DIM CV1($html) NEXT
0032 OP_DATA string("</div>")
0033 INIT_STATIC_METHOD_CALL 2 string("Wikimedia\\WrappedString") string("join")
0034 SEND_VAL_EX string("
") 1
0035 SEND_VAR_EX CV1($html) 2
0036 V4 = DO_FCALL
0037 RETURN V4
LIVE RANGES:
4: 0013 - 0028 (loop)
6: 0022 - 0024 (rope)
MWDebug::appendDebugInfoToApiResult:
; (lines=67, args=2, vars=6, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/MWDebug.php:706-732
0000 CV0($context) = RECV 1
0001 CV1($result) = RECV 2
0002 T6 = FETCH_STATIC_PROP_R string("enabled") (self) (exception)
0003 JMPNZ T6 0005
0004 RETURN null
0005 INIT_FCALL 0 80 string("ob_get_contents")
0006 V6 = DO_ICALL
0007 CV2($obContents) = QM_ASSIGN V6
0008 JMPZ CV2($obContents) 0026
0009 INIT_FCALL 2 112 string("explode")
0010 SEND_VAL string("<br />") 1
0011 SEND_VAR CV2($obContents) 2
0012 V6 = DO_ICALL
0013 CV3($obContentArray) = QM_ASSIGN V6
0014 V6 = FE_RESET_R CV3($obContentArray) 0025
0015 FE_FETCH_R V6 CV4($obContent) 0025
0016 T7 = FRAMELESS_ICALL_1(trim) CV4($obContent)
0017 JMPZ T7 0015
0018 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("debugMsg")
0019 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\Parser\\Sanitizer") string("stripAllTags")
0020 SEND_VAR_EX CV4($obContent) 1
0021 V7 = DO_FCALL
0022 SEND_VAR V7 1
0023 DO_UCALL
0024 JMP 0015
0025 FE_FREE V6
0026 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("log")
0027 SEND_VAL string("MWDebug output complete") 1
0028 DO_UCALL
0029 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("getDebugInfo")
0030 SEND_VAR CV0($context) 1
0031 V6 = DO_FCALL
0032 CV5($debugInfo) = QM_ASSIGN V6
0033 INIT_STATIC_METHOD_CALL 2 string("ApiResult") string("setIndexedTagName")
0034 SEND_VAR_EX CV5($debugInfo) 1
0035 SEND_VAL_EX string("debuginfo") 2
0036 DO_FCALL
0037 INIT_STATIC_METHOD_CALL 2 string("ApiResult") string("setIndexedTagName")
0038 CHECK_FUNC_ARG 1
0039 V6 = FETCH_DIM_FUNC_ARG CV5($debugInfo) string("log")
0040 SEND_FUNC_ARG V6 1
0041 SEND_VAL_EX string("line") 2
0042 DO_FCALL
0043 INIT_STATIC_METHOD_CALL 2 string("ApiResult") string("setIndexedTagName")
0044 CHECK_FUNC_ARG 1
0045 V6 = FETCH_DIM_FUNC_ARG CV5($debugInfo) string("debugLog")
0046 SEND_FUNC_ARG V6 1
0047 SEND_VAL_EX string("msg") 2
0048 DO_FCALL
0049 INIT_STATIC_METHOD_CALL 2 string("ApiResult") string("setIndexedTagName")
0050 CHECK_FUNC_ARG 1
0051 V6 = FETCH_DIM_FUNC_ARG CV5($debugInfo) string("queries")
0052 SEND_FUNC_ARG V6 1
0053 SEND_VAL_EX string("query") 2
0054 DO_FCALL
0055 INIT_STATIC_METHOD_CALL 2 string("ApiResult") string("setIndexedTagName")
0056 CHECK_FUNC_ARG 1
0057 V6 = FETCH_DIM_FUNC_ARG CV5($debugInfo) string("includes")
0058 SEND_FUNC_ARG V6 1
0059 SEND_VAL_EX string("queries") 2
0060 DO_FCALL
0061 INIT_METHOD_CALL 3 CV1($result) string("addValue")
0062 SEND_VAL_EX null 1
0063 SEND_VAL_EX string("debuginfo") 2
0064 SEND_VAR_EX CV5($debugInfo) 3
0065 DO_FCALL
0066 RETURN null
LIVE RANGES:
6: 0015 - 0025 (loop)
MWDebug::getDebugInfo:
; (lines=69, args=1, vars=3, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/MWDebug.php:740-775
0000 CV0($context) = RECV 1
0001 T3 = FETCH_STATIC_PROP_R string("enabled") (self) (exception)
0002 JMPNZ T3 0004
0003 RETURN array(...)
0004 INIT_METHOD_CALL 0 CV0($context) string("getRequest")
0005 V3 = DO_FCALL
0006 CV1($request) = QM_ASSIGN V3
0007 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Utils\\GitInfo") string("currentBranch")
0008 V3 = DO_FCALL
0009 CV2($branch) = QM_ASSIGN V3
0010 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\Utils\\GitInfo") string("isSHA1")
0011 SEND_VAR_EX CV2($branch) 1
0012 V3 = DO_FCALL
0013 JMPZ V3 0015
0014 ASSIGN CV2($branch) bool(false)
0015 T4 = FETCH_CONSTANT string("MW_VERSION")
0016 T3 = INIT_ARRAY 14 T4 string("mwVersion")
0017 T3 = ADD_ARRAY_ELEMENT string("PHP") string("phpEngine")
0018 T3 = ADD_ARRAY_ELEMENT string("8.4.0-dev") string("phpVersion")
0019 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Utils\\GitInfo") string("headSHA1")
0020 V4 = DO_FCALL
0021 T3 = ADD_ARRAY_ELEMENT V4 string("gitRevision")
0022 T3 = ADD_ARRAY_ELEMENT CV2($branch) string("gitBranch")
0023 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Utils\\GitInfo") string("headViewUrl")
0024 V4 = DO_FCALL
0025 T3 = ADD_ARRAY_ELEMENT V4 string("gitViewUrl")
0026 INIT_METHOD_CALL 0 CV1($request) string("getElapsedTime")
0027 V4 = DO_FCALL
0028 T3 = ADD_ARRAY_ELEMENT V4 string("time")
0029 T4 = FETCH_STATIC_PROP_R string("log") (self) (exception)
0030 T3 = ADD_ARRAY_ELEMENT T4 string("log")
0031 T4 = FETCH_STATIC_PROP_R string("debug") (self) (exception)
0032 T3 = ADD_ARRAY_ELEMENT T4 string("debugLog")
0033 T4 = FETCH_STATIC_PROP_R string("query") (self) (exception)
0034 T3 = ADD_ARRAY_ELEMENT T4 string("queries")
0035 INIT_METHOD_CALL 0 CV1($request) string("getMethod")
0036 V5 = DO_FCALL
0037 T4 = INIT_ARRAY 4 V5 string("method")
0038 INIT_METHOD_CALL 0 CV1($request) string("getRequestURL")
0039 V5 = DO_FCALL
0040 T4 = ADD_ARRAY_ELEMENT V5 string("url")
0041 INIT_METHOD_CALL 0 CV1($request) string("getAllHeaders")
0042 V5 = DO_FCALL
0043 T4 = ADD_ARRAY_ELEMENT V5 string("headers")
0044 INIT_METHOD_CALL 0 CV1($request) string("getValues")
0045 V5 = DO_FCALL
0046 T4 = ADD_ARRAY_ELEMENT V5 string("params")
0047 T3 = ADD_ARRAY_ELEMENT T4 string("request")
0048 INIT_METHOD_CALL 0 CV0($context) string("getLanguage")
0049 V4 = DO_FCALL
0050 INIT_METHOD_CALL 1 V4 string("formatSize")
0051 INIT_FCALL 0 80 string("memory_get_usage")
0052 V4 = DO_ICALL
0053 SEND_VAR_NO_REF_EX V4 1
0054 V4 = DO_FCALL
0055 T3 = ADD_ARRAY_ELEMENT V4 string("memory")
0056 INIT_METHOD_CALL 0 CV0($context) string("getLanguage")
0057 V4 = DO_FCALL
0058 INIT_METHOD_CALL 1 V4 string("formatSize")
0059 INIT_FCALL 0 80 string("memory_get_peak_usage")
0060 V4 = DO_ICALL
0061 SEND_VAR_NO_REF_EX V4 1
0062 V4 = DO_FCALL
0063 T3 = ADD_ARRAY_ELEMENT V4 string("memoryPeak")
0064 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("getFilesIncluded")
0065 SEND_VAR CV0($context) 1
0066 V4 = DO_UCALL
0067 T3 = ADD_ARRAY_ELEMENT V4 string("includes")
0068 RETURN T3
LIVE RANGES:
3: 0017 - 0068 (tmp/var)
4: 0038 - 0047 (tmp/var)
$_main:
; (lines=2, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1-2172
0000 DECLARE_CLASS string("mediawiki\\mediawikiservices") string("wikimedia\\services\\servicecontainer")
0001 RETURN int(1)
MediaWiki\MediaWikiServices::allowGlobalInstance:
; (lines=9, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:271-280
0000 ASSIGN_STATIC_PROP string("globalInstanceAllowed")
0001 OP_DATA bool(true)
0002 T0 = FETCH_STATIC_PROP_R string("instance") (self) (exception)
0003 JMPZ T0 0008
0004 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("resetGlobalInstance")
0005 SEND_VAL null 1
0006 SEND_VAL string("quick") 2
0007 DO_FCALL
0008 RETURN null
MediaWiki\MediaWikiServices::disallowGlobalInstanceInUnitTests:
; (lines=11, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:285-290
0000 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\defined")
0001 SEND_VAL_EX string("MW_PHPUNIT_TEST") 1
0002 V0 = DO_FCALL_BY_NAME
0003 JMPNZ V0 0008
0004 V0 = NEW 1 string("LogicException")
0005 SEND_VAL_EX string("Can only be called in tests") 1
0006 DO_FCALL
0007 THROW V0
0008 ASSIGN_STATIC_PROP string("globalInstanceAllowed")
0009 OP_DATA bool(false)
0010 RETURN null
LIVE RANGES:
0: 0005 - 0007 (new)
MediaWiki\MediaWikiServices::allowGlobalInstanceAfterUnitTests:
; (lines=11, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:295-300
0000 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\defined")
0001 SEND_VAL_EX string("MW_PHPUNIT_TEST") 1
0002 V0 = DO_FCALL_BY_NAME
0003 JMPNZ V0 0008
0004 V0 = NEW 1 string("LogicException")
0005 SEND_VAL_EX string("Can only be called in tests") 1
0006 DO_FCALL
0007 THROW V0
0008 ASSIGN_STATIC_PROP string("globalInstanceAllowed")
0009 OP_DATA bool(true)
0010 RETURN null
LIVE RANGES:
0: 0005 - 0007 (new)
MediaWiki\MediaWikiServices::hasInstance:
; (lines=3, args=0, vars=0, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:306-308
0000 T1 = FETCH_STATIC_PROP_R string("instance") (self) (exception)
0001 T0 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] T1
0002 RETURN T0
MediaWiki\MediaWikiServices::getInstance:
; (lines=41, args=0, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:324-348
0000 T2 = FETCH_STATIC_PROP_R string("globalInstanceAllowed") (self) (exception)
0001 JMPNZ T2 0014
0002 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\defined")
0003 SEND_VAL_EX string("MW_PHPUNIT_TEST") 1
0004 V2 = DO_FCALL_BY_NAME
0005 JMPZ V2 0010
0006 V2 = NEW 1 string("LogicException")
0007 SEND_VAL_EX string("Premature access to service container") 1
0008 DO_FCALL
0009 THROW V2
0010 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\wfDeprecatedMsg")
0011 SEND_VAL_EX string("Premature access to service container") 1
0012 SEND_VAL_EX string("1.36") 2
0013 DO_FCALL_BY_NAME
0014 T3 = FETCH_STATIC_PROP_R string("instance") (self) (exception)
0015 T2 = TYPE_CHECK (null) T3
0016 JMPZ T2 0038
0017 V2 = NEW 0 string("MediaWiki\\Config\\GlobalVarConfig")
0018 DO_FCALL
0019 CV0($bootstrapConfig) = QM_ASSIGN V2
0020 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("newInstance")
0021 SEND_VAR CV0($bootstrapConfig) 1
0022 SEND_VAL string("load") 2
0023 V2 = DO_FCALL
0024 ASSIGN_STATIC_PROP string("instance")
0025 OP_DATA V2
0026 V2 = NEW 1 string("MediaWiki\\HookContainer\\HookRunner")
0027 T3 = FETCH_STATIC_PROP_R string("instance") (self) (exception)
0028 INIT_METHOD_CALL 0 T3 string("getHookContainer")
0029 V3 = DO_FCALL
0030 SEND_VAR_NO_REF_EX V3 1
0031 DO_FCALL
0032 CV1($runner) = QM_ASSIGN V2
0033 INIT_METHOD_CALL 1 CV1($runner) string("onMediaWikiServices")
0034 CHECK_FUNC_ARG 1
0035 V2 = FETCH_STATIC_PROP_FUNC_ARG (ref) string("instance") (self) (exception)
0036 SEND_FUNC_ARG V2 1
0037 DO_FCALL
0038 T2 = FETCH_STATIC_PROP_R string("instance") (self) (exception)
0039 VERIFY_RETURN_TYPE T2
0040 RETURN T2
LIVE RANGES:
2: 0007 - 0009 (new)
2: 0018 - 0019 (new)
2: 0027 - 0032 (new)
2: 0039 - 0040 (tmp/var)
MediaWiki\MediaWikiServices::getService:
; (lines=20, args=1, vars=1, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:350-357
0000 CV0($name) = RECV 1
0001 T1 = FETCH_STATIC_PROP_R string("globalInstanceAllowed") (self) (exception)
0002 JMPNZ T1 0016
0003 T2 = FETCH_THIS
0004 T3 = FETCH_STATIC_PROP_R string("instance") (self) (exception)
0005 T1 = IS_IDENTICAL T2 T3
0006 JMPZ T1 0016
0007 INIT_NS_FCALL_BY_NAME 4 string("MediaWiki\\wfDeprecatedMsg")
0008 T2 = ROPE_INIT 3 string("Premature access to service '")
0009 T2 = ROPE_ADD 1 T2 CV0($name)
0010 T1 = ROPE_END 2 T2 string("'")
0011 SEND_VAL_EX T1 1
0012 SEND_VAL_EX string("1.36") 2
0013 SEND_VAL_EX bool(false) 3
0014 SEND_VAL_EX int(3) 4
0015 DO_FCALL_BY_NAME
0016 INIT_STATIC_METHOD_CALL 1 (parent) (exception) string("getService")
0017 SEND_VAR_EX CV0($name) 1
0018 V1 = DO_FCALL
0019 RETURN V1
LIVE RANGES:
2: 0004 - 0005 (tmp/var)
2: 0008 - 0010 (rope)
MediaWiki\MediaWikiServices::forceGlobalInstance:
; (lines=20, args=1, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:370-379
0000 CV0($services) = RECV 1
0001 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\defined")
0002 SEND_VAL_EX string("MW_PHPUNIT_TEST") 1
0003 V2 = DO_FCALL_BY_NAME
0004 JMPNZ V2 0013
0005 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\defined")
0006 SEND_VAL_EX string("MW_PARSER_TEST") 1
0007 V2 = DO_FCALL_BY_NAME
0008 JMPNZ V2 0013
0009 V2 = NEW 1 string("LogicException")
0010 SEND_VAL_EX string("MediaWiki\\MediaWikiServices::forceGlobalInstance must not be used outside unit tests.") 1
0011 DO_FCALL
0012 THROW V2
0013 INIT_STATIC_METHOD_CALL 0 (self) (exception) string("getInstance")
0014 V2 = DO_UCALL
0015 CV1($old) = QM_ASSIGN V2
0016 ASSIGN_STATIC_PROP string("instance")
0017 OP_DATA CV0($services)
0018 VERIFY_RETURN_TYPE CV1($old)
0019 RETURN CV1($old)
LIVE RANGES:
2: 0010 - 0012 (new)
MediaWiki\MediaWikiServices::resetGlobalInstance:
; (lines=47, args=2, vars=4, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:417-442
0000 CV0($bootstrapConfig) = RECV_INIT 1 null
0001 CV1($quick) = RECV_INIT 2 string("")
0002 T5 = FETCH_STATIC_PROP_R string("instance") (self) (exception)
0003 T4 = TYPE_CHECK (null) T5
0004 JMPZ T4 0006
0005 RETURN null
0006 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("failIfResetNotAllowed")
0007 SEND_VAL string("MediaWiki\\MediaWikiServices::resetGlobalInstance") 1
0008 DO_FCALL
0009 CV2($oldInstance) = FETCH_STATIC_PROP_R string("instance") (self) (exception)
0010 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("newInstance")
0011 T4 = COALESCE CV0($bootstrapConfig) 0016
0012 T5 = FETCH_STATIC_PROP_R string("instance") (self) (exception)
0013 INIT_METHOD_CALL 0 T5 string("getBootstrapConfig")
0014 V5 = DO_FCALL
0015 T4 = QM_ASSIGN V5
0016 SEND_VAL T4 1
0017 SEND_VAL string("load") 2
0018 V4 = DO_FCALL
0019 ASSIGN_STATIC_PROP string("instance")
0020 OP_DATA V4
0021 V4 = NEW 1 string("MediaWiki\\HookContainer\\HookRunner")
0022 INIT_METHOD_CALL 0 CV2($oldInstance) string("getHookContainer")
0023 V5 = DO_FCALL
0024 SEND_VAR_NO_REF_EX V5 1
0025 DO_FCALL
0026 CV3($runner) = QM_ASSIGN V4
0027 INIT_METHOD_CALL 1 CV3($runner) string("onMediaWikiServices")
0028 CHECK_FUNC_ARG 1
0029 V4 = FETCH_STATIC_PROP_FUNC_ARG (ref) string("instance") (self) (exception)
0030 SEND_FUNC_ARG V4 1
0031 DO_FCALL
0032 T4 = FETCH_STATIC_PROP_R string("instance") (self) (exception)
0033 INIT_METHOD_CALL 2 T4 string("importWiring")
0034 SEND_VAR_EX CV2($oldInstance) 1
0035 SEND_VAL_EX array(...) 2
0036 DO_FCALL
0037 T4 = IS_IDENTICAL CV1($quick) string("quick")
0038 JMPZ T4 0044
0039 T4 = FETCH_STATIC_PROP_R string("instance") (self) (exception)
0040 INIT_METHOD_CALL 1 T4 string("salvage")
0041 SEND_VAR_EX CV2($oldInstance) 1
0042 DO_FCALL
0043 RETURN null
0044 INIT_METHOD_CALL 0 CV2($oldInstance) string("destroy")
0045 DO_FCALL
0046 RETURN null
LIVE RANGES:
4: 0022 - 0026 (new)
MediaWiki\MediaWikiServices::salvage:
; (lines=26, args=1, vars=5, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:451-470
0000 CV0($other) = RECV 1
0001 INIT_METHOD_CALL 0 THIS string("getServiceNames")
0002 V6 = DO_FCALL
0003 V5 = FE_RESET_R V6 0022
0004 FE_FETCH_R V5 CV1($name) 0022
0005 INIT_METHOD_CALL 1 CV0($other) string("peekService")
0006 SEND_VAR_EX CV1($name) 1
0007 V6 = DO_FCALL
0008 ASSIGN CV2($oldService) V6
0009 JMP 0012
0010 CV3($e) = CATCH string("Wikimedia\\Services\\NoSuchServiceException")
0011 JMP 0004
0012 T6 = INSTANCEOF CV2($oldService) string("Wikimedia\\Services\\SalvageableService")
0013 JMPZ T6 0004
0014 INIT_METHOD_CALL 1 THIS string("getService")
0015 SEND_VAR CV1($name) 1
0016 V6 = DO_FCALL
0017 ASSIGN CV4($newService) V6
0018 INIT_METHOD_CALL 1 CV4($newService) string("salvage")
0019 SEND_VAR_EX CV2($oldService) 1
0020 DO_FCALL
0021 JMP 0004
0022 FE_FREE V5
0023 INIT_METHOD_CALL 0 CV0($other) string("destroy")
0024 DO_FCALL
0025 RETURN null
LIVE RANGES:
5: 0004 - 0022 (loop)
EXCEPTION TABLE:
0005, 0010, -, -
MediaWiki\MediaWikiServices::newInstance:
; (lines=18, args=2, vars=4, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:482-492
0000 CV0($bootstrapConfig) = RECV 1
0001 CV1($loadWiring) = RECV_INIT 2 string("")
0002 V4 = NEW 1 (self) (exception)
0003 SEND_VAR CV0($bootstrapConfig) 1
0004 DO_FCALL
0005 CV2($instance) = QM_ASSIGN V4
0006 T4 = IS_IDENTICAL CV1($loadWiring) string("load")
0007 JMPZ T4 0016
0008 INIT_METHOD_CALL 1 CV0($bootstrapConfig) string("get")
0009 T4 = FETCH_CLASS_CONSTANT string("MediaWiki\\MainConfigNames") string("ServiceWiringFiles")
0010 SEND_VAL_EX T4 1
0011 V4 = DO_FCALL
0012 CV3($wiringFiles) = QM_ASSIGN V4
0013 INIT_METHOD_CALL 1 CV2($instance) string("loadWiringFiles")
0014 SEND_VAR_EX CV3($wiringFiles) 1
0015 DO_FCALL
0016 VERIFY_RETURN_TYPE CV2($instance)
0017 RETURN CV2($instance)
LIVE RANGES:
4: 0003 - 0005 (new)
MediaWiki\MediaWikiServices::disableStorageBackend:
; (lines=6, args=0, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:506-509
0000 INIT_STATIC_METHOD_CALL 0 (self) (exception) string("getInstance")
0001 V1 = DO_UCALL
0002 CV0($services) = QM_ASSIGN V1
0003 INIT_METHOD_CALL 0 CV0($services) string("disableStorage")
0004 DO_FCALL
0005 RETURN null
MediaWiki\MediaWikiServices::disableStorage:
; (lines=38, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:526-579
0000 T0 = FETCH_OBJ_R THIS string("storageDisabled")
0001 JMPZ T0 0003
0002 RETURN null
0003 INIT_METHOD_CALL 2 THIS string("redefineService")
0004 SEND_VAL_EX string("DBLoadBalancer") 1
0005 T0 = DECLARE_LAMBDA_FUNCTION 0
0006 SEND_VAL_EX T0 2
0007 DO_FCALL
0008 INIT_METHOD_CALL 2 THIS string("redefineService")
0009 SEND_VAL_EX string("DBLoadBalancerFactory") 1
0010 T0 = DECLARE_LAMBDA_FUNCTION 1
0011 SEND_VAL_EX T0 2
0012 DO_FCALL
0013 INIT_METHOD_CALL 2 THIS string("redefineService")
0014 SEND_VAL_EX string("InterwikiLookup") 1
0015 T0 = DECLARE_LAMBDA_FUNCTION 2
0016 SEND_VAL_EX T0 2
0017 DO_FCALL
0018 INIT_METHOD_CALL 2 THIS string("redefineService")
0019 SEND_VAL_EX string("UserOptionsLookup") 1
0020 T0 = DECLARE_LAMBDA_FUNCTION 3
0021 SEND_VAL_EX T0 2
0022 DO_FCALL
0023 INIT_METHOD_CALL 2 THIS string("addServiceManipulator")
0024 SEND_VAL_EX string("LocalisationCache") 1
0025 T0 = DECLARE_LAMBDA_FUNCTION 4
0026 SEND_VAL_EX T0 2
0027 DO_FCALL
0028 INIT_METHOD_CALL 2 THIS string("addServiceManipulator")
0029 SEND_VAL_EX string("MessageCache") 1
0030 T0 = DECLARE_LAMBDA_FUNCTION 5
0031 SEND_VAL_EX T0 2
0032 DO_FCALL
0033 INIT_STATIC_METHOD_CALL 0 string("ObjectCache") string("clear")
0034 DO_FCALL
0035 ASSIGN_OBJ THIS string("storageDisabled")
0036 OP_DATA bool(true)
0037 RETURN null
{closure:MediaWiki\MediaWikiServices::disableStorage():533}:
; (lines=4, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:533-535
0000 CV0($services) = RECV 1
0001 V1 = NEW 0 string("Wikimedia\\Rdbms\\LoadBalancerDisabled")
0002 DO_FCALL
0003 RETURN V1
LIVE RANGES:
1: 0002 - 0003 (new)
{closure:MediaWiki\MediaWikiServices::disableStorage():540}:
; (lines=4, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:540-542
0000 CV0($services) = RECV 1
0001 INIT_STATIC_METHOD_CALL 0 string("Wikimedia\\Rdbms\\LBFactorySingle") string("newDisabled")
0002 V1 = DO_FCALL
0003 RETURN V1
{closure:MediaWiki\MediaWikiServices::disableStorage():547}:
; (lines=4, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:547-549
0000 CV0($services) = RECV 1
0001 V1 = NEW 0 string("MediaWiki\\Interwiki\\NullInterwikiLookup")
0002 DO_FCALL
0003 RETURN V1
LIVE RANGES:
1: 0002 - 0003 (new)
{closure:MediaWiki\MediaWikiServices::disableStorage():554}:
; (lines=12, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:554-559
0000 CV0($services) = RECV 1
0001 V1 = NEW 2 string("MediaWiki\\User\\StaticUserOptionsLookup")
0002 SEND_VAL_EX array(...) 1
0003 INIT_METHOD_CALL 0 CV0($services) string("getMainConfig")
0004 V2 = DO_FCALL
0005 INIT_METHOD_CALL 1 V2 string("get")
0006 T2 = FETCH_CLASS_CONSTANT string("MediaWiki\\MainConfigNames") string("DefaultUserOptions")
0007 SEND_VAL_EX T2 1
0008 V2 = DO_FCALL
0009 SEND_VAR_NO_REF_EX V2 2
0010 DO_FCALL
0011 RETURN V1
LIVE RANGES:
1: 0002 - 0011 (new)
{closure:MediaWiki\MediaWikiServices::disableStorage():564}:
; (lines=4, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:564-566
0000 CV0($cache) = RECV 1
0001 INIT_METHOD_CALL 0 CV0($cache) string("disableBackend")
0002 DO_FCALL
0003 RETURN null
{closure:MediaWiki\MediaWikiServices::disableStorage():571}:
; (lines=4, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:571-573
0000 CV0($cache) = RECV 1
0001 INIT_METHOD_CALL 0 CV0($cache) string("disable")
0002 DO_FCALL
0003 RETURN null
MediaWiki\MediaWikiServices::isStorageDisabled:
; (lines=2, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:584-586
0000 T0 = FETCH_OBJ_R THIS string("storageDisabled")
0001 RETURN T0
MediaWiki\MediaWikiServices::resetChildProcessServices:
; (lines=8, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:600-608
0000 INIT_STATIC_METHOD_CALL 0 (self) (exception) string("resetGlobalInstance")
0001 DO_UCALL
0002 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\mt_srand")
0003 INIT_NS_FCALL_BY_NAME 0 string("MediaWiki\\getmypid")
0004 V0 = DO_FCALL_BY_NAME
0005 SEND_VAR_NO_REF_EX V0 1
0006 DO_FCALL_BY_NAME
0007 RETURN null
MediaWiki\MediaWikiServices::resetServiceForTesting:
; (lines=19, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:629-635
0000 CV0($name) = RECV 1
0001 CV1($destroy) = RECV_INIT 2 bool(true)
0002 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\defined")
0003 SEND_VAL_EX string("MW_PHPUNIT_TEST") 1
0004 V2 = DO_FCALL_BY_NAME
0005 JMPNZ V2 0014
0006 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\defined")
0007 SEND_VAL_EX string("MW_PARSER_TEST") 1
0008 V2 = DO_FCALL_BY_NAME
0009 JMPNZ V2 0014
0010 V2 = NEW 1 string("LogicException")
0011 SEND_VAL_EX string("resetServiceForTesting() must not be used outside unit tests.") 1
0012 DO_FCALL
0013 THROW V2
0014 INIT_METHOD_CALL 2 THIS string("resetService")
0015 SEND_VAR_EX CV0($name) 1
0016 SEND_VAR_EX CV1($destroy) 2
0017 DO_FCALL
0018 RETURN null
LIVE RANGES:
2: 0011 - 0013 (new)
MediaWiki\MediaWikiServices::failIfResetNotAllowed:
; (lines=27, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:662-671
0000 CV0($method) = RECV 1
0001 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\defined")
0002 SEND_VAL_EX string("MW_PHPUNIT_TEST") 1
0003 V1 = DO_FCALL_BY_NAME
0004 JMPNZ V1 0026
0005 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\defined")
0006 SEND_VAL_EX string("MW_PARSER_TEST") 1
0007 V1 = DO_FCALL_BY_NAME
0008 JMPNZ V1 0026
0009 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\defined")
0010 SEND_VAL_EX string("MEDIAWIKI_INSTALL") 1
0011 V1 = DO_FCALL_BY_NAME
0012 JMPNZ V1 0026
0013 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\defined")
0014 SEND_VAL_EX string("RUN_MAINTENANCE_IF_MAIN") 1
0015 V1 = DO_FCALL_BY_NAME
0016 JMPNZ V1 0026
0017 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\defined")
0018 SEND_VAL_EX string("MW_SERVICE_BOOTSTRAP_COMPLETE") 1
0019 V1 = DO_FCALL_BY_NAME
0020 JMPZ V1 0026
0021 V1 = NEW 1 string("LogicException")
0022 T2 = CONCAT CV0($method) string(" may only be called during bootstrapping and unit tests!")
0023 SEND_VAL_EX T2 1
0024 DO_FCALL
0025 THROW V1
0026 RETURN null
LIVE RANGES:
1: 0022 - 0025 (new)
MediaWiki\MediaWikiServices::__construct:
; (lines=10, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:678-685
0000 CV0($config) = RECV 1
0001 INIT_STATIC_METHOD_CALL 0 (parent) (exception) CONSTRUCTOR
0002 DO_FCALL
0003 INIT_METHOD_CALL 2 THIS string("defineService")
0004 SEND_VAL_EX string("BootstrapConfig") 1
0005 T1 = DECLARE_LAMBDA_FUNCTION 0
0006 BIND_LEXICAL T1 CV0($config)
0007 SEND_VAL_EX T1 2
0008 DO_FCALL
0009 RETURN null
LIVE RANGES:
1: 0006 - 0007 (tmp/var)
{closure:MediaWiki\MediaWikiServices::__construct():682}:
; (lines=2, args=0, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:682-684
0000 BIND_STATIC CV0($config)
0001 RETURN CV0($config)
MediaWiki\MediaWikiServices::getActionFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:692-694
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ActionFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getActorMigration:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:699-701
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ActorMigration") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getActorNormalization:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:706-708
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ActorNormalization") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getActorStore:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:713-715
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ActorStore") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getActorStoreFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:720-722
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ActorStoreFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getArchivedRevisionLookup:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:727-729
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ArchivedRevisionLookup") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getAuthManager:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:734-736
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("AuthManager") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getAutoblockExemptionList:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:741-743
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("AutoblockExemptionList") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getBacklinkCacheFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:748-750
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("BacklinkCacheFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getBadFileLookup:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:755-757
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("BadFileLookup") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getBlobStore:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:762-764
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("BlobStore") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getBlobStoreFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:769-771
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("BlobStoreFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getBlockActionInfo:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:776-778
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("BlockActionInfo") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getBlockErrorFormatter:
; (lines=9, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:784-787
0000 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\wfDeprecated")
0001 SEND_VAL_EX string("MediaWiki\\MediaWikiServices::getBlockErrorFormatter") 1
0002 SEND_VAL_EX string("1.42") 2
0003 DO_FCALL_BY_NAME
0004 INIT_METHOD_CALL 1 THIS string("getService")
0005 SEND_VAL string("BlockErrorFormatter") 1
0006 V0 = DO_FCALL
0007 VERIFY_RETURN_TYPE V0
0008 RETURN V0
LIVE RANGES:
0: 0007 - 0008 (tmp/var)
MediaWiki\MediaWikiServices::getBlockManager:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:792-794
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("BlockManager") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getBlockPermissionCheckerFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:799-801
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("BlockPermissionCheckerFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getBlockRestrictionStore:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:806-808
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("BlockRestrictionStore") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getBlockRestrictionStoreFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:813-815
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("BlockRestrictionStoreFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getBlockUserFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:820-822
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("BlockUserFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getBlockUtils:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:827-829
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("BlockUtils") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getBlockUtilsFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:834-836
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("BlockUtilsFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getBootstrapConfig:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:850-852
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("BootstrapConfig") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getBotPasswordStore:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:857-859
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("BotPasswordStore") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getCentralIdLookup:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:864-866
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("CentralIdLookup") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getCentralIdLookupFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:871-873
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("CentralIdLookupFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getChangeTagDefStore:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:878-880
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ChangeTagDefStore") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getChangeTagsStore:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:885-887
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ChangeTagsStore") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getChronologyProtector:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:892-894
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ChronologyProtector") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getCollationFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:899-901
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("CollationFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getCommentFormatter:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:906-908
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("CommentFormatter") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getCommentParserFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:913-915
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("CommentParserFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getCommentStore:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:920-922
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("CommentStore") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getConfigFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:927-929
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ConfigFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getConfigRepository:
; (lines=9, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:935-938
0000 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\wfDeprecated")
0001 SEND_VAL_EX string("MediaWiki\\MediaWikiServices::getConfigRepository") 1
0002 SEND_VAL_EX string("1.42") 2
0003 DO_FCALL_BY_NAME
0004 INIT_METHOD_CALL 1 THIS string("getService")
0005 SEND_VAL string("ConfigRepository") 1
0006 V0 = DO_FCALL
0007 VERIFY_RETURN_TYPE V0
0008 RETURN V0
LIVE RANGES:
0: 0007 - 0008 (tmp/var)
MediaWiki\MediaWikiServices::getConfigSchema:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:943-945
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ConfigSchema") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getConfiguredReadOnlyMode:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:951-953
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ConfiguredReadOnlyMode") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getConnectionProvider:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:958-960
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ConnectionProvider") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getContentHandlerFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:965-967
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ContentHandlerFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getContentLanguage:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:972-974
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ContentLanguage") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getContentModelChangeFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:979-981
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ContentModelChangeFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getContentModelStore:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:986-988
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ContentModelStore") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getContentRenderer:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:993-995
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ContentRenderer") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getContentTransformer:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1000-1002
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ContentTransformer") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getContributionsLookup:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1007-1009
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ContributionsLookup") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getCriticalSectionProvider:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1014-1016
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("CriticalSectionProvider") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getCryptHKDF:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1021-1023
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("CryptHKDF") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getDatabaseBlockStore:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1028-1030
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("DatabaseBlockStore") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getDatabaseBlockStoreFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1035-1037
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("DatabaseBlockStoreFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getDatabaseFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1042-1044
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("DatabaseFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getDateFormatterFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1049-1051
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("DateFormatterFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getDBLoadBalancer:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1057-1059
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("DBLoadBalancer") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getDBLoadBalancerFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1065-1067
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("DBLoadBalancerFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getDBLoadBalancerFactoryConfigBuilder:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1072-1074
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("DBLoadBalancerFactoryConfigBuilder") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getDefaultOutputPipeline:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1080-1082
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("DefaultOutputPipeline") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getDeletePageFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1087-1089
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("DeletePageFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getEmailer:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1094-1096
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("Emailer") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getEmailUserFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1101-1103
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("EmailUserFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getEventRelayerGroup:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1108-1110
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("EventRelayerGroup") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getExtensionRegistry:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1115-1117
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ExtensionRegistry") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getExternalStoreAccess:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1122-1124
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ExternalStoreAccess") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getExternalStoreFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1129-1131
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ExternalStoreFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getFileBackendGroup:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1136-1138
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("FileBackendGroup") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getFormatterFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1143-1145
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("FormatterFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getGenderCache:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1150-1152
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("GenderCache") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getGlobalIdGenerator:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1157-1159
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("GlobalIdGenerator") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getGrantsInfo:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1164-1166
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("GrantsInfo") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getGrantsLocalization:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1171-1173
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("GrantsLocalization") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getGroupPermissionsLookup:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1178-1180
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("GroupPermissionsLookup") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getHideUserUtils:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1186-1188
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("HideUserUtils") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getHookContainer:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1193-1195
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("HookContainer") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getHtmlCacheUpdater:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1200-1202
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("HtmlCacheUpdater") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getHtmlTransformFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1207-1209
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("HtmlTransformFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getHttpRequestFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1214-1216
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("HttpRequestFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getInterwikiLookup:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1221-1223
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("InterwikiLookup") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getIntroMessageBuilder:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1228-1230
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("IntroMessageBuilder") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getJobFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1235-1237
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("JobFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getJobQueueGroup:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1242-1244
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("JobQueueGroup") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getJobQueueGroupFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1249-1251
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("JobQueueGroupFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getJobRunner:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1256-1258
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("JobRunner") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getJsonCodec:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1263-1265
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("JsonCodec") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getLanguageConverterFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1270-1272
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("LanguageConverterFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getLanguageFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1277-1279
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("LanguageFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getLanguageFallback:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1284-1286
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("LanguageFallback") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getLanguageNameUtils:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1291-1293
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("LanguageNameUtils") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getLinkBatchFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1298-1300
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("LinkBatchFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getLinkCache:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1305-1307
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("LinkCache") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getLinkRenderer:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1315-1317
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("LinkRenderer") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getLinkRendererFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1322-1324
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("LinkRendererFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getLinksMigration:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1329-1331
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("LinksMigration") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getLinkTargetLookup:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1336-1338
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("LinkTargetLookup") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getLocalisationCache:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1343-1345
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("LocalisationCache") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getLocalServerObjectCache:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1355-1357
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("LocalServerObjectCache") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getLockManagerGroupFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1362-1364
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("LockManagerGroupFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getLogFormatterFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1369-1371
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("LogFormatterFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getMagicWordFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1376-1378
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("MagicWordFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getMainConfig:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1386-1388
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("MainConfig") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getMainObjectStash:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1397-1399
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("MainObjectStash") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getMainWANObjectCache:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1408-1410
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("MainWANObjectCache") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getMediaHandlerFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1415-1417
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("MediaHandlerFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getMergeHistoryFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1422-1424
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("MergeHistoryFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getMessageCache:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1429-1431
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("MessageCache") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getMessageFormatterFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1436-1438
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("MessageFormatterFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getMicroStash:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1445-1447
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("MicroStash") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getMimeAnalyzer:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1452-1454
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("MimeAnalyzer") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getMovePageFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1459-1461
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("MovePageFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getNamespaceInfo:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1466-1468
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("NamespaceInfo") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getNameTableStoreFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1473-1475
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("NameTableStoreFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getObjectCacheFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1481-1483
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ObjectCacheFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getObjectFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1491-1493
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ObjectFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getOldRevisionImporter:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1498-1500
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("OldRevisionImporter") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getPageEditStash:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1505-1507
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("PageEditStash") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getPageProps:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1512-1514
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("PageProps") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getPageRestHelperFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1519-1521
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("PageRestHelperFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getPageStore:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1526-1528
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("PageStore") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getPageStoreFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1533-1535
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("PageStoreFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getPageUpdaterFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1540-1542
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("PageUpdaterFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getParser:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1557-1559
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("Parser") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getParserCache:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1564-1566
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ParserCache") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getParserCacheFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1571-1573
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ParserCacheFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getParserFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1578-1580
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ParserFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getParserOutputAccess:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1585-1587
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ParserOutputAccess") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getParsoidDataAccess:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1593-1595
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ParsoidDataAccess") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getParsoidOutputAccess:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1601-1603
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ParsoidOutputAccess") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getParsoidOutputStash:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1609-1611
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ParsoidOutputStash") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getParsoidPageConfigFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1617-1619
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ParsoidPageConfigFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getParsoidParserFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1625-1627
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ParsoidParserFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getParsoidSiteConfig:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1633-1635
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ParsoidSiteConfig") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getPasswordFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1640-1642
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("PasswordFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getPasswordReset:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1647-1649
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("PasswordReset") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getPerDbNameStatsdDataFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1654-1656
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("PerDbNameStatsdDataFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getPermissionManager:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1661-1663
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("PermissionManager") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getPingback:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1669-1671
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("Pingback") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getPoolCounterFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1676-1678
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("PoolCounterFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getPreferencesFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1683-1685
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("PreferencesFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getPreloadedContentBuilder:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1690-1692
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("PreloadedContentBuilder") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getProxyLookup:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1697-1699
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ProxyLookup") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getRateLimiter:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1704-1706
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("RateLimiter") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getReadOnlyMode:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1711-1713
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ReadOnlyMode") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getRedirectLookup:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1718-1720
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("RedirectLookup") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getRedirectStore:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1725-1727
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("RedirectStore") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getRepoGroup:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1732-1734
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("RepoGroup") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getResourceLoader:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1739-1741
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ResourceLoader") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getRestrictionStore:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1746-1748
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("RestrictionStore") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getRevertedTagUpdateManager:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1753-1755
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("RevertedTagUpdateManager") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getRevisionFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1760-1762
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("RevisionFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getRevisionLookup:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1767-1769
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("RevisionLookup") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getRevisionRenderer:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1774-1776
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("RevisionRenderer") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getRevisionStore:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1781-1783
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("RevisionStore") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getRevisionStoreFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1788-1790
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("RevisionStoreFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getRollbackPageFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1795-1797
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("RollbackPageFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getRowCommentFormatter:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1802-1804
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("RowCommentFormatter") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::newSearchEngine:
; (lines=7, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1809-1812
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("SearchEngineFactory") 1
0002 V0 = DO_FCALL
0003 INIT_METHOD_CALL 0 V0 string("create")
0004 V0 = DO_FCALL
0005 VERIFY_RETURN_TYPE V0
0006 RETURN V0
LIVE RANGES:
0: 0005 - 0006 (tmp/var)
MediaWiki\MediaWikiServices::getSearchEngineConfig:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1817-1819
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("SearchEngineConfig") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getSearchEngineFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1824-1826
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("SearchEngineFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getSearchResultThumbnailProvider:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1831-1833
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("SearchResultThumbnailProvider") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getShellboxClientFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1838-1840
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ShellboxClientFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getShellCommandFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1845-1847
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("ShellCommandFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getSignatureValidatorFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1852-1854
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("SignatureValidatorFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getSiteLookup:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1859-1861
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("SiteLookup") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getSiteStore:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1866-1868
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("SiteStore") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getSkinFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1873-1875
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("SkinFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getSlotRoleRegistry:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1880-1882
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("SlotRoleRegistry") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getSlotRoleStore:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1887-1889
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("SlotRoleStore") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getSpamChecker:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1894-1896
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("SpamChecker") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getSpecialPageFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1901-1903
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("SpecialPageFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getStatsdDataFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1908-1910
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("StatsdDataFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getStatsFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1915-1917
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("StatsFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getTalkPageNotificationManager:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1922-1924
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("TalkPageNotificationManager") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getTempFSFileFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1929-1931
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("TempFSFileFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getTempUserConfig:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1936-1938
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("TempUserConfig") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getTempUserCreator:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1943-1945
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("TempUserCreator") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getTidy:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1950-1952
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("Tidy") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getTitleFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1957-1959
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("TitleFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getTitleFormatter:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1964-1966
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("TitleFormatter") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getTitleMatcher:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1971-1973
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("TitleMatcher") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getTitleParser:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1978-1980
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("TitleParser") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getTrackingCategories:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1985-1987
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("TrackingCategories") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getUnblockUserFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1992-1994
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("UnblockUserFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getUndeletePageFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:1999-2001
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("UndeletePageFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getUploadRevisionImporter:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:2006-2008
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("UploadRevisionImporter") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getUrlUtils:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:2013-2015
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("UrlUtils") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getUserCache:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:2020-2022
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("UserCache") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getUserEditTracker:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:2027-2029
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("UserEditTracker") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getUserFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:2034-2036
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("UserFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getUserGroupManager:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:2041-2043
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("UserGroupManager") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getUserGroupManagerFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:2048-2050
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("UserGroupManagerFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getUserIdentityLookup:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:2055-2057
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("UserIdentityLookup") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getUserIdentityUtils:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:2062-2064
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("UserIdentityUtils") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getUserNamePrefixSearch:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:2069-2071
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("UserNamePrefixSearch") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getUserNameUtils:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:2076-2078
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("UserNameUtils") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getUserOptionsLookup:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:2083-2085
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("UserOptionsLookup") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getUserOptionsManager:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:2090-2092
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("UserOptionsManager") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getUserRegistrationLookup:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:2097-2099
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("UserRegistrationLookup") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getWatchedItemQueryService:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:2104-2106
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("WatchedItemQueryService") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getWatchedItemStore:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:2111-2113
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("WatchedItemStore") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getWatchlistManager:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:2118-2120
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("WatchlistManager") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getWikiExporterFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:2125-2127
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("WikiExporterFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getWikiImporterFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:2132-2134
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("WikiImporterFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getWikiPageFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:2139-2141
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("WikiPageFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getWikiRevisionOldRevisionImporter:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:2146-2148
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("OldRevisionImporter") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getWikiRevisionOldRevisionImporterNoUpdates:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:2153-2155
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("WikiRevisionOldRevisionImporterNoUpdates") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getWikiRevisionUploadImporter:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:2160-2162
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("UploadRevisionImporter") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
MediaWiki\MediaWikiServices::getWRStatsFactory:
; (lines=5, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/MediaWikiServices.php:2167-2169
0000 INIT_METHOD_CALL 1 THIS string("getService")
0001 SEND_VAL string("WRStatsFactory") 1
0002 V0 = DO_FCALL
0003 VERIFY_RETURN_TYPE V0
0004 RETURN V0
LIVE RANGES:
0: 0003 - 0004 (tmp/var)
$_main:
; (lines=2, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/services/src/ServiceContainer.php:1-476
0000 DECLARE_CLASS string("wikimedia\\services\\servicecontainer")
0001 RETURN int(1)
Wikimedia\Services\ServiceContainer::__construct:
; (lines=4, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/services/src/ServiceContainer.php:87-89
0000 CV0($extraInstantiationParams) = RECV_INIT 1 array(...)
0001 ASSIGN_OBJ THIS string("extraInstantiationParams")
0002 OP_DATA CV0($extraInstantiationParams)
0003 RETURN null
Wikimedia\Services\ServiceContainer::destroy:
; (lines=23, args=0, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/services/src/ServiceContainer.php:99-114
0000 INIT_METHOD_CALL 0 THIS string("getServiceNames")
0001 V3 = DO_FCALL
0002 V2 = FE_RESET_R V3 0015
0003 FE_FETCH_R V2 CV0($name) 0015
0004 INIT_METHOD_CALL 1 THIS string("peekService")
0005 SEND_VAR CV0($name) 1
0006 V3 = DO_FCALL
0007 ASSIGN CV1($service) V3
0008 T3 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] CV1($service)
0009 JMPZ T3 0003
0010 T3 = INSTANCEOF CV1($service) string("Wikimedia\\Services\\DestructibleService")
0011 JMPZ T3 0003
0012 INIT_METHOD_CALL 0 CV1($service) string("destroy")
0013 DO_FCALL
0014 JMP 0003
0015 FE_FREE V2
0016 ASSIGN_OBJ THIS string("serviceInstantiators")
0017 OP_DATA array(...)
0018 ASSIGN_OBJ THIS string("services")
0019 OP_DATA array(...)
0020 ASSIGN_OBJ THIS string("destroyed")
0021 OP_DATA bool(true)
0022 RETURN null
LIVE RANGES:
2: 0003 - 0015 (loop)
Wikimedia\Services\ServiceContainer::loadWiringFiles:
; (lines=22, args=1, vars=3, tmps=5)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/services/src/ServiceContainer.php:121-132
0000 CV0($wiringFiles) = RECV 1
0001 V3 = FE_RESET_R CV0($wiringFiles) 0020
0002 FE_FETCH_R V3 CV1($file) 0020
0003 V4 = INCLUDE_OR_EVAL (require) CV1($file)
0004 ASSIGN CV2($wiring) V4
0005 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\Services\\is_array")
0006 SEND_VAR_EX CV2($wiring) 1
0007 V4 = DO_FCALL_BY_NAME
0008 JMPNZ V4 0016
0009 V4 = NEW 1 string("LogicException")
0010 T6 = ROPE_INIT 3 string("Wiring file ")
0011 T6 = ROPE_ADD 1 T6 CV1($file)
0012 T5 = ROPE_END 2 T6 string(" must return an array")
0013 SEND_VAL_EX T5 1
0014 DO_FCALL
0015 THROW V4
0016 INIT_METHOD_CALL 1 THIS string("applyWiring")
0017 SEND_VAR CV2($wiring) 1
0018 DO_FCALL
0019 JMP 0002
0020 FE_FREE V3
0021 RETURN null
LIVE RANGES:
3: 0002 - 0020 (loop)
4: 0010 - 0015 (new)
6: 0010 - 0012 (rope)
Wikimedia\Services\ServiceContainer::applyWiring:
; (lines=11, args=1, vars=3, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/services/src/ServiceContainer.php:140-144
0000 CV0($serviceInstantiators) = RECV 1
0001 V3 = FE_RESET_R CV0($serviceInstantiators) 0009
0002 T4 = FE_FETCH_R V3 CV1($instantiator) 0009
0003 ASSIGN CV2($name) T4
0004 INIT_METHOD_CALL 2 THIS string("defineService")
0005 SEND_VAR CV2($name) 1
0006 SEND_VAR CV1($instantiator) 2
0007 DO_FCALL
0008 JMP 0002
0009 FE_FREE V3
0010 RETURN null
LIVE RANGES:
3: 0002 - 0009 (loop)
Wikimedia\Services\ServiceContainer::importWiring:
; (lines=57, args=2, vars=5, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/services/src/ServiceContainer.php:156-182
0000 CV0($container) = RECV 1
0001 CV1($skip) = RECV_INIT 2 array(...)
0002 INIT_NS_FCALL_BY_NAME 2 string("Wikimedia\\Services\\array_diff_key")
0003 CHECK_FUNC_ARG 1
0004 V5 = FETCH_OBJ_FUNC_ARG (ref) CV0($container) string("serviceInstantiators")
0005 SEND_FUNC_ARG V5 1
0006 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\Services\\array_flip")
0007 SEND_VAR_EX CV1($skip) 1
0008 V5 = DO_FCALL_BY_NAME
0009 SEND_VAR_NO_REF_EX V5 2
0010 V5 = DO_FCALL_BY_NAME
0011 CV2($newInstantiators) = QM_ASSIGN V5
0012 INIT_NS_FCALL_BY_NAME 2 string("Wikimedia\\Services\\array_merge")
0013 CHECK_FUNC_ARG 1
0014 V5 = FETCH_OBJ_FUNC_ARG (ref) THIS string("serviceInstantiators")
0015 SEND_FUNC_ARG V5 1
0016 SEND_VAR_EX CV2($newInstantiators) 2
0017 V5 = DO_FCALL_BY_NAME
0018 ASSIGN_OBJ THIS string("serviceInstantiators")
0019 OP_DATA V5
0020 INIT_NS_FCALL_BY_NAME 2 string("Wikimedia\\Services\\array_diff")
0021 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\Services\\array_keys")
0022 CHECK_FUNC_ARG 1
0023 V5 = FETCH_OBJ_FUNC_ARG (ref) CV0($container) string("serviceManipulators")
0024 SEND_FUNC_ARG V5 1
0025 V5 = DO_FCALL_BY_NAME
0026 SEND_VAR_NO_REF_EX V5 1
0027 SEND_VAR_EX CV1($skip) 2
0028 V5 = DO_FCALL_BY_NAME
0029 CV3($newManipulators) = QM_ASSIGN V5
0030 V5 = FE_RESET_R CV3($newManipulators) 0055
0031 FE_FETCH_R V5 CV4($name) 0055
0032 T7 = FETCH_OBJ_IS THIS string("serviceManipulators")
0033 T6 = ISSET_ISEMPTY_DIM_OBJ (isset) T7 CV4($name)
0034 JMPZ T6 0049
0035 INIT_NS_FCALL_BY_NAME 2 string("Wikimedia\\Services\\array_merge")
0036 CHECK_FUNC_ARG 1
0037 V7 = FETCH_OBJ_FUNC_ARG THIS string("serviceManipulators")
0038 V6 = FETCH_DIM_FUNC_ARG V7 CV4($name)
0039 SEND_FUNC_ARG V6 1
0040 CHECK_FUNC_ARG 2
0041 V7 = FETCH_OBJ_FUNC_ARG CV0($container) string("serviceManipulators")
0042 V6 = FETCH_DIM_FUNC_ARG V7 CV4($name)
0043 SEND_FUNC_ARG V6 2
0044 V6 = DO_FCALL_BY_NAME
0045 V7 = FETCH_OBJ_W (dim write) THIS string("serviceManipulators")
0046 ASSIGN_DIM V7 CV4($name)
0047 OP_DATA V6
0048 JMP 0031
0049 T7 = FETCH_OBJ_R CV0($container) string("serviceManipulators")
0050 T6 = FETCH_DIM_R T7 CV4($name)
0051 V7 = FETCH_OBJ_W (dim write) THIS string("serviceManipulators")
0052 ASSIGN_DIM V7 CV4($name)
0053 OP_DATA T6
0054 JMP 0031
0055 FE_FREE V5
0056 RETURN null
LIVE RANGES:
5: 0031 - 0055 (loop)
6: 0045 - 0046 (tmp/var)
6: 0051 - 0052 (tmp/var)
Wikimedia\Services\ServiceContainer::hasService:
; (lines=4, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/services/src/ServiceContainer.php:192-194
0000 CV0($name) = RECV 1
0001 T2 = FETCH_OBJ_IS THIS string("serviceInstantiators")
0002 T1 = ISSET_ISEMPTY_DIM_OBJ (isset) T2 CV0($name)
0003 RETURN T1
Wikimedia\Services\ServiceContainer::has:
; (lines=6, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/services/src/ServiceContainer.php:197-199
0000 CV0($name) = RECV 1
0001 INIT_METHOD_CALL 1 THIS string("hasService")
0002 SEND_VAR CV0($name) 1
0003 V1 = DO_FCALL
0004 VERIFY_RETURN_TYPE V1
0005 RETURN V1
LIVE RANGES:
1: 0004 - 0005 (tmp/var)
Wikimedia\Services\ServiceContainer::peekService:
; (lines=14, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/services/src/ServiceContainer.php:216-222
0000 CV0($name) = RECV 1
0001 INIT_METHOD_CALL 1 THIS string("hasService")
0002 SEND_VAR CV0($name) 1
0003 V1 = DO_FCALL
0004 JMPNZ V1 0009
0005 V1 = NEW 1 string("Wikimedia\\Services\\NoSuchServiceException")
0006 SEND_VAR_EX CV0($name) 1
0007 DO_FCALL
0008 THROW V1
0009 T1 = FETCH_OBJ_IS THIS string("services")
0010 T2 = FETCH_DIM_IS T1 CV0($name)
0011 T1 = COALESCE T2 0013
0012 T1 = QM_ASSIGN null
0013 RETURN T1
LIVE RANGES:
1: 0006 - 0008 (new)
Wikimedia\Services\ServiceContainer::getServiceNames:
; (lines=7, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/services/src/ServiceContainer.php:227-229
0000 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\Services\\array_keys")
0001 CHECK_FUNC_ARG 1
0002 V0 = FETCH_OBJ_FUNC_ARG (ref) THIS string("serviceInstantiators")
0003 SEND_FUNC_ARG V0 1
0004 V0 = DO_FCALL_BY_NAME
0005 VERIFY_RETURN_TYPE V0
0006 RETURN V0
LIVE RANGES:
0: 0005 - 0006 (tmp/var)
Wikimedia\Services\ServiceContainer::defineService:
; (lines=14, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/services/src/ServiceContainer.php:245-251
0000 CV0($name) = RECV 1
0001 CV1($instantiator) = RECV 2
0002 INIT_METHOD_CALL 1 THIS string("hasService")
0003 SEND_VAR CV0($name) 1
0004 V2 = DO_FCALL
0005 JMPZ V2 0010
0006 V2 = NEW 1 string("Wikimedia\\Services\\ServiceAlreadyDefinedException")
0007 SEND_VAR_EX CV0($name) 1
0008 DO_FCALL
0009 THROW V2
0010 V2 = FETCH_OBJ_W (dim write) THIS string("serviceInstantiators")
0011 ASSIGN_DIM V2 CV0($name)
0012 OP_DATA CV1($instantiator)
0013 RETURN null
LIVE RANGES:
2: 0007 - 0009 (new)
Wikimedia\Services\ServiceContainer::redefineService:
; (lines=23, args=2, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/services/src/ServiceContainer.php:272-283
0000 CV0($name) = RECV 1
0001 CV1($instantiator) = RECV 2
0002 INIT_METHOD_CALL 1 THIS string("hasService")
0003 SEND_VAR CV0($name) 1
0004 V2 = DO_FCALL
0005 JMPNZ V2 0010
0006 V2 = NEW 1 string("Wikimedia\\Services\\NoSuchServiceException")
0007 SEND_VAR_EX CV0($name) 1
0008 DO_FCALL
0009 THROW V2
0010 T3 = FETCH_OBJ_IS THIS string("services")
0011 T2 = ISSET_ISEMPTY_DIM_OBJ (isset) T3 CV0($name)
0012 JMPZ T2 0017
0013 V2 = NEW 1 string("Wikimedia\\Services\\CannotReplaceActiveServiceException")
0014 SEND_VAR_EX CV0($name) 1
0015 DO_FCALL
0016 THROW V2
0017 V2 = FETCH_OBJ_W (dim write) THIS string("serviceInstantiators")
0018 ASSIGN_DIM V2 CV0($name)
0019 OP_DATA CV1($instantiator)
0020 V2 = FETCH_OBJ_UNSET THIS string("disabled")
0021 UNSET_DIM V2 CV0($name)
0022 RETURN null
LIVE RANGES:
2: 0007 - 0009 (new)
2: 0014 - 0016 (new)
Wikimedia\Services\ServiceContainer::addServiceManipulator:
; (lines=22, args=2, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/services/src/ServiceContainer.php:311-321
0000 CV0($name) = RECV 1
0001 CV1($manipulator) = RECV 2
0002 INIT_METHOD_CALL 1 THIS string("hasService")
0003 SEND_VAR CV0($name) 1
0004 V2 = DO_FCALL
0005 JMPNZ V2 0010
0006 V2 = NEW 1 string("Wikimedia\\Services\\NoSuchServiceException")
0007 SEND_VAR_EX CV0($name) 1
0008 DO_FCALL
0009 THROW V2
0010 T3 = FETCH_OBJ_IS THIS string("services")
0011 T2 = ISSET_ISEMPTY_DIM_OBJ (isset) T3 CV0($name)
0012 JMPZ T2 0017
0013 V2 = NEW 1 string("Wikimedia\\Services\\CannotReplaceActiveServiceException")
0014 SEND_VAR_EX CV0($name) 1
0015 DO_FCALL
0016 THROW V2
0017 V3 = FETCH_OBJ_W (dim write) THIS string("serviceManipulators")
0018 V2 = FETCH_DIM_W V3 CV0($name)
0019 ASSIGN_DIM V2 NEXT
0020 OP_DATA CV1($manipulator)
0021 RETURN null
LIVE RANGES:
2: 0007 - 0009 (new)
2: 0014 - 0016 (new)
Wikimedia\Services\ServiceContainer::disableService:
; (lines=8, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/services/src/ServiceContainer.php:342-346
0000 CV0($name) = RECV 1
0001 INIT_METHOD_CALL 1 THIS string("resetService")
0002 SEND_VAR CV0($name) 1
0003 DO_FCALL
0004 V1 = FETCH_OBJ_W (dim write) THIS string("disabled")
0005 ASSIGN_DIM V1 CV0($name)
0006 OP_DATA bool(true)
0007 RETURN null
Wikimedia\Services\ServiceContainer::resetService:
; (lines=16, args=2, vars=3, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/services/src/ServiceContainer.php:371-380
0000 CV0($name) = RECV 1
0001 CV1($destroy) = RECV_INIT 2 bool(true)
0002 INIT_METHOD_CALL 1 THIS string("peekService")
0003 SEND_VAR CV0($name) 1
0004 V3 = DO_FCALL
0005 CV2($instance) = QM_ASSIGN V3
0006 JMPZ CV1($destroy) 0011
0007 T3 = INSTANCEOF CV2($instance) string("Wikimedia\\Services\\DestructibleService")
0008 JMPZ T3 0011
0009 INIT_METHOD_CALL 0 CV2($instance) string("destroy")
0010 DO_FCALL
0011 V3 = FETCH_OBJ_UNSET THIS string("services")
0012 UNSET_DIM V3 CV0($name)
0013 V3 = FETCH_OBJ_UNSET THIS string("disabled")
0014 UNSET_DIM V3 CV0($name)
0015 RETURN null
Wikimedia\Services\ServiceContainer::getService:
; (lines=25, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/services/src/ServiceContainer.php:401-415
0000 CV0($name) = RECV 1
0001 T1 = FETCH_OBJ_R THIS string("destroyed")
0002 JMPZ T1 0006
0003 V1 = NEW 0 string("Wikimedia\\Services\\ContainerDisabledException")
0004 DO_FCALL
0005 THROW V1
0006 T2 = FETCH_OBJ_IS THIS string("disabled")
0007 T1 = ISSET_ISEMPTY_DIM_OBJ (isset) T2 CV0($name)
0008 JMPZ T1 0013
0009 V1 = NEW 1 string("Wikimedia\\Services\\ServiceDisabledException")
0010 SEND_VAR_EX CV0($name) 1
0011 DO_FCALL
0012 THROW V1
0013 T2 = FETCH_OBJ_IS THIS string("services")
0014 T1 = ISSET_ISEMPTY_DIM_OBJ (isset) T2 CV0($name)
0015 JMPNZ T1 0022
0016 INIT_METHOD_CALL 1 THIS string("createService")
0017 SEND_VAR CV0($name) 1
0018 V1 = DO_FCALL
0019 V2 = FETCH_OBJ_W (dim write) THIS string("services")
0020 ASSIGN_DIM V2 CV0($name)
0021 OP_DATA V1
0022 T2 = FETCH_OBJ_R THIS string("services")
0023 T1 = FETCH_DIM_R T2 CV0($name)
0024 RETURN T1
LIVE RANGES:
1: 0004 - 0005 (new)
1: 0010 - 0012 (new)
1: 0019 - 0020 (tmp/var)
Wikimedia\Services\ServiceContainer::get:
; (lines=5, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/services/src/ServiceContainer.php:418-420
0000 CV0($name) = RECV 1
0001 INIT_METHOD_CALL 1 THIS string("getService")
0002 SEND_VAR CV0($name) 1
0003 V1 = DO_FCALL
0004 RETURN V1
Wikimedia\Services\ServiceContainer::createService:
; (lines=78, args=1, vars=5, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/services/src/ServiceContainer.php:429-465
0000 CV0($name) = RECV 1
0001 T6 = FETCH_OBJ_IS THIS string("serviceInstantiators")
0002 T5 = ISSET_ISEMPTY_DIM_OBJ (isset) T6 CV0($name)
0003 JMPNZ T5 0008
0004 V5 = NEW 1 string("Wikimedia\\Services\\NoSuchServiceException")
0005 SEND_VAR_EX CV0($name) 1
0006 DO_FCALL
0007 THROW V5
0008 T6 = FETCH_OBJ_IS THIS string("servicesBeingCreated")
0009 T5 = ISSET_ISEMPTY_DIM_OBJ (isset) T6 CV0($name)
0010 JMPZ T5 0035
0011 V5 = NEW 1 string("Wikimedia\\Services\\RecursiveServiceDependencyException")
0012 JMP_FRAMELESS 72 string("wikimedia\\services\\implode") 0023
0013 INIT_NS_FCALL_BY_NAME 2 string("Wikimedia\\Services\\implode")
0014 SEND_VAL_EX string(" -> ") 1
0015 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\Services\\array_keys")
0016 CHECK_FUNC_ARG 1
0017 V6 = FETCH_OBJ_FUNC_ARG (ref) THIS string("servicesBeingCreated")
0018 SEND_FUNC_ARG V6 1
0019 V6 = DO_FCALL_BY_NAME
0020 SEND_VAR_NO_REF_EX V6 2
0021 V6 = DO_FCALL_BY_NAME
0022 JMP 0029
0023 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\Services\\array_keys")
0024 CHECK_FUNC_ARG 1
0025 V7 = FETCH_OBJ_FUNC_ARG (ref) THIS string("servicesBeingCreated")
0026 SEND_FUNC_ARG V7 1
0027 V7 = DO_FCALL_BY_NAME
0028 V6 = FRAMELESS_ICALL_2(implode) string(" -> ") V7
0029 T7 = CONCAT string("Circular dependency when creating service! ") V6
0030 T8 = FAST_CONCAT string(" -> ") CV0($name)
0031 T6 = FAST_CONCAT T7 T8
0032 SEND_VAL_EX T6 1
0033 DO_FCALL
0034 THROW V5
0035 V5 = FETCH_OBJ_W (dim write) THIS string("servicesBeingCreated")
0036 ASSIGN_DIM V5 CV0($name)
0037 OP_DATA bool(true)
0038 V5 = NEW 1 string("Wikimedia\\ScopedCallback")
0039 T6 = DECLARE_LAMBDA_FUNCTION 0
0040 BIND_LEXICAL T6 CV0($name)
0041 SEND_VAL_EX T6 1
0042 DO_FCALL
0043 CV1($removeFromStack) = QM_ASSIGN V5
0044 T6 = FETCH_OBJ_R THIS string("serviceInstantiators")
0045 T5 = FETCH_DIM_R T6 CV0($name)
0046 INIT_DYNAMIC_CALL 1 T5
0047 V5 = FETCH_THIS
0048 SEND_VAR_EX V5 1
0049 T5 = FETCH_OBJ_R THIS string("extraInstantiationParams")
0050 SEND_UNPACK T5
0051 CHECK_UNDEF_ARGS
0052 V5 = DO_FCALL
0053 CV2($service) = QM_ASSIGN V5
0054 T6 = FETCH_OBJ_IS THIS string("serviceManipulators")
0055 T5 = ISSET_ISEMPTY_DIM_OBJ (isset) T6 CV0($name)
0056 JMPZ T5 0075
0057 T5 = FETCH_OBJ_R THIS string("serviceManipulators")
0058 T6 = FETCH_DIM_R T5 CV0($name)
0059 V5 = FE_RESET_R T6 0074
0060 FE_FETCH_R V5 CV3($manipulator) 0074
0061 INIT_DYNAMIC_CALL 2 CV3($manipulator)
0062 SEND_VAR_EX CV2($service) 1
0063 V6 = FETCH_THIS
0064 SEND_VAR_EX V6 2
0065 T6 = FETCH_OBJ_R THIS string("extraInstantiationParams")
0066 SEND_UNPACK T6
0067 CHECK_UNDEF_ARGS
0068 V6 = DO_FCALL
0069 ASSIGN CV4($ret) V6
0070 T6 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] CV4($ret)
0071 JMPZ T6 0060
0072 ASSIGN CV2($service) CV4($ret)
0073 JMP 0060
0074 FE_FREE V5
0075 INIT_METHOD_CALL 0 CV1($removeFromStack) string("consume")
0076 DO_FCALL
0077 RETURN CV2($service)
LIVE RANGES:
5: 0005 - 0007 (new)
5: 0012 - 0034 (new)
7: 0030 - 0031 (tmp/var)
5: 0039 - 0043 (new)
6: 0040 - 0041 (tmp/var)
5: 0060 - 0074 (loop)
{closure:Wikimedia\Services\ServiceContainer::createService():441}:
; (lines=4, args=0, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/services/src/ServiceContainer.php:441-443
0000 BIND_STATIC CV0($name)
0001 V1 = FETCH_OBJ_UNSET THIS string("servicesBeingCreated")
0002 UNSET_DIM V1 CV0($name)
0003 RETURN null
Wikimedia\Services\ServiceContainer::isServiceDisabled:
; (lines=4, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/services/src/ServiceContainer.php:472-474
0000 CV0($name) = RECV 1
0001 T2 = FETCH_OBJ_IS THIS string("disabled")
0002 T1 = ISSET_ISEMPTY_DIM_OBJ (isset) T2 CV0($name)
0003 RETURN T1
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/psr/container/src/ContainerInterface.php:1-37
0000 RETURN int(1)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/services/src/DestructibleService.php:1-44
0000 RETURN int(1)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/NonSerializableTrait.php:1-21
0000 RETURN int(1)
Wikimedia\NonSerializable\NonSerializableTrait::__sleep:
; (lines=10, args=0, vars=0, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/NonSerializableTrait.php:16-18
0000 V0 = NEW 1 string("LogicException")
0001 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\NonSerializable\\get_class")
0002 V1 = FETCH_THIS
0003 SEND_VAR_EX V1 1
0004 V1 = DO_FCALL_BY_NAME
0005 T2 = CONCAT string("Instances of ") V1
0006 T1 = FAST_CONCAT T2 string(" are not serializable!")
0007 SEND_VAL_EX T1 1
0008 DO_FCALL
0009 THROW V0
LIVE RANGES:
0: 0001 - 0009 (new)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionRenderer.php:1-447
0000 RETURN int(1)
MWExceptionRenderer::shouldShowExceptionDetails:
; (lines=3, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionRenderer.php:55-57
0000 T0 = FETCH_STATIC_PROP_R string("showExceptionDetails") (self) (exception)
0001 VERIFY_RETURN_TYPE T0
0002 RETURN T0
LIVE RANGES:
0: 0001 - 0002 (tmp/var)
MWExceptionRenderer::setShowExceptionDetails:
; (lines=4, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionRenderer.php:63-65
0000 CV0($showDetails) = RECV 1
0001 ASSIGN_STATIC_PROP string("showExceptionDetails")
0002 OP_DATA CV0($showDetails)
0003 RETURN null
MWExceptionRenderer::output:
; (lines=140, args=3, vars=5, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionRenderer.php:72-141
0000 CV0($e) = RECV 1
0001 CV1($mode) = RECV 2
0002 CV2($eNew) = RECV_INIT 3 null
0003 INIT_STATIC_METHOD_CALL 0 (self) (exception) string("shouldShowExceptionDetails")
0004 CV3($showExceptionDetails) = DO_UCALL
0005 T5 = INSTANCEOF CV0($e) string("Wikimedia\\RequestTimeout\\RequestTimeoutException")
0006 JMPZ T5 0011
0007 INIT_FCALL 0 80 string("headers_sent")
0008 V5 = DO_ICALL
0009 JMPZ V5 0011
0010 RETURN null
0011 INIT_FCALL 1 96 string("function_exists")
0012 SEND_VAL string("apache_setenv") 1
0013 V5 = DO_ICALL
0014 JMPZ V5 0023
0015 INIT_STATIC_METHOD_CALL 0 string("Wikimedia\\AtEase\\AtEase") string("suppressWarnings")
0016 DO_FCALL
0017 INIT_FCALL_BY_NAME 2 string("apache_setenv")
0018 SEND_VAL_EX string("no-gzip") 1
0019 SEND_VAL_EX string("1") 2
0020 DO_FCALL_BY_NAME
0021 INIT_STATIC_METHOD_CALL 0 string("Wikimedia\\AtEase\\AtEase") string("restoreWarnings")
0022 DO_FCALL
0023 T5 = DEFINED string("MW_API")
0024 JMPZ T5 0030
0025 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("header")
0026 T6 = GET_CLASS CV0($e)
0027 T5 = FAST_CONCAT string("MediaWiki-API-Error: internal_api_error_") T6
0028 SEND_VAL T5 1
0029 DO_FCALL
0030 INIT_STATIC_METHOD_CALL 0 (self) (exception) string("isCommandLine")
0031 V5 = DO_FCALL
0032 JMPZ V5 0040
0033 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("printError")
0034 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("getText")
0035 SEND_VAR CV0($e) 1
0036 V5 = DO_FCALL
0037 SEND_VAR V5 1
0038 DO_FCALL
0039 RETURN null
0040 T5 = IS_IDENTICAL CV1($mode) int(2)
0041 JMPZ T5 0065
0042 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("statusHeader")
0043 SEND_VAL int(500) 1
0044 DO_FCALL
0045 INIT_FCALL 0 80 string("ob_start")
0046 DO_ICALL
0047 T5 = INSTANCEOF CV0($e) string("Wikimedia\\Rdbms\\DBConnectionError")
0048 JMPZ T5 0053
0049 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("reportOutageHTML")
0050 SEND_VAR CV0($e) 1
0051 DO_FCALL
0052 JMP 0056
0053 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("reportHTML")
0054 SEND_VAR CV0($e) 1
0055 DO_FCALL
0056 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("header")
0057 INIT_FCALL 0 80 string("ob_get_length")
0058 V6 = DO_ICALL
0059 T5 = FAST_CONCAT string("Content-Length: ") V6
0060 SEND_VAL T5 1
0061 DO_FCALL
0062 INIT_FCALL 0 80 string("ob_end_flush")
0063 DO_ICALL
0064 RETURN null
0065 INIT_FCALL 0 80 string("ob_start")
0066 DO_ICALL
0067 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("statusHeader")
0068 SEND_VAL int(500) 1
0069 DO_FCALL
0070 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("header")
0071 SEND_VAL string("Content-Type: text/html; charset=UTF-8") 1
0072 DO_FCALL
0073 JMPZ CV2($eNew) 0108
0074 CV4($message) = QM_ASSIGN string("MediaWiki internal error.
")
0075 JMPZ CV3($showExceptionDetails) 0097
0076 INIT_STATIC_METHOD_CALL 1 string("MWExceptionHandler") string("getLogMessage")
0077 SEND_VAR_EX CV0($e) 1
0078 V6 = DO_FCALL
0079 T5 = CONCAT string("Original exception: ") V6
0080 T6 = FAST_CONCAT T5 string("
Backtrace:
")
0081 INIT_STATIC_METHOD_CALL 1 string("MWExceptionHandler") string("getRedactedTraceAsString")
0082 SEND_VAR_EX CV0($e) 1
0083 V7 = DO_FCALL
0084 T5 = CONCAT T6 V7
0085 T6 = FAST_CONCAT T5 string("
Exception caught inside exception handler: ")
0086 INIT_STATIC_METHOD_CALL 1 string("MWExceptionHandler") string("getLogMessage")
0087 SEND_VAR_EX CV2($eNew) 1
0088 V7 = DO_FCALL
0089 T5 = CONCAT T6 V7
0090 T6 = FAST_CONCAT T5 string("
Backtrace:
")
0091 INIT_STATIC_METHOD_CALL 1 string("MWExceptionHandler") string("getRedactedTraceAsString")
0092 SEND_VAR_EX CV2($eNew) 1
0093 V7 = DO_FCALL
0094 T5 = CONCAT T6 V7
0095 ASSIGN_OP (CONCAT) CV4($message) T5
0096 JMP 0106
0097 INIT_STATIC_METHOD_CALL 1 string("MWExceptionHandler") string("getPublicLogMessage")
0098 SEND_VAR_EX CV0($e) 1
0099 V6 = DO_FCALL
0100 T5 = CONCAT string("Original exception: ") V6
0101 ASSIGN_OP (CONCAT) CV4($message) T5
0102 INIT_STATIC_METHOD_CALL 0 (self) (exception) string("getShowBacktraceError")
0103 V6 = DO_FCALL
0104 T5 = CONCAT string("
Exception caught inside exception handler.
") V6
0105 ASSIGN_OP (CONCAT) CV4($message) T5
0106 ASSIGN_OP (CONCAT) CV4($message) string("
")
0107 JMP 0123
0108 JMPZ CV3($showExceptionDetails) 0119
0109 INIT_STATIC_METHOD_CALL 1 string("MWExceptionHandler") string("getLogMessage")
0110 SEND_VAR_EX CV0($e) 1
0111 V5 = DO_FCALL
0112 T6 = CONCAT V5 string("
Backtrace:
")
0113 INIT_STATIC_METHOD_CALL 1 string("MWExceptionHandler") string("getRedactedTraceAsString")
0114 SEND_VAR_EX CV0($e) 1
0115 V7 = DO_FCALL
0116 T5 = CONCAT T6 V7
0117 CV4($message) = FAST_CONCAT T5 string("
")
0118 JMP 0123
0119 INIT_STATIC_METHOD_CALL 1 string("MWExceptionHandler") string("getPublicLogMessage")
0120 SEND_VAR_EX CV0($e) 1
0121 V5 = DO_FCALL
0122 CV4($message) = QM_ASSIGN V5
0123 INIT_FCALL 1 96 string("nl2br")
0124 INIT_FCALL 1 96 string("htmlspecialchars")
0125 SEND_VAR CV4($message) 1
0126 V5 = DO_ICALL
0127 SEND_VAR V5 1
0128 V6 = DO_ICALL
0129 T5 = FAST_CONCAT V6 string("
")
0130 ECHO T5
0131 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("header")
0132 INIT_FCALL 0 80 string("ob_get_length")
0133 V6 = DO_ICALL
0134 T5 = FAST_CONCAT string("Content-Length: ") V6
0135 SEND_VAL T5 1
0136 DO_FCALL
0137 INIT_FCALL 0 80 string("ob_end_flush")
0138 DO_ICALL
0139 RETURN null
LIVE RANGES:
6: 0081 - 0084 (tmp/var)
6: 0086 - 0089 (tmp/var)
6: 0091 - 0094 (tmp/var)
6: 0113 - 0116 (tmp/var)
MWExceptionRenderer::useOutputPage:
; (lines=33, args=1, vars=2, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionRenderer.php:147-169
0000 CV0($e) = RECV 1
0001 INIT_METHOD_CALL 0 CV0($e) string("getTrace")
0002 V3 = DO_FCALL
0003 V2 = FE_RESET_R V3 0012
0004 FE_FETCH_R V2 CV1($frame) 0012
0005 T3 = ISSET_ISEMPTY_DIM_OBJ (isset) CV1($frame) string("class")
0006 JMPZ T3 0004
0007 T4 = FETCH_DIM_R CV1($frame) string("class")
0008 T3 = IS_IDENTICAL T4 string("LocalisationCache")
0009 JMPZ T3 0004
0010 FE_FREE V2
0011 RETURN bool(false)
0012 FE_FREE V2
0013 T3 = ISSET_ISEMPTY_VAR (global) (empty) string("wgFullyInitialised")
0014 T2 = BOOL_NOT T3
0015 T2 = JMPZ_EX T2 0032
0016 T3 = ISSET_ISEMPTY_VAR (global) (empty) string("wgOut")
0017 T2 = BOOL_NOT T3
0018 T2 = JMPZ_EX T2 0032
0019 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Context\\RequestContext") string("getMain")
0020 V3 = DO_FCALL
0021 INIT_METHOD_CALL 0 V3 string("getTitle")
0022 V3 = DO_FCALL
0023 T2 = JMPZ_EX V3 0032
0024 T3 = DEFINED string("MEDIAWIKI_INSTALL")
0025 T2 = BOOL_NOT T3
0026 T2 = JMPZ_EX T2 0032
0027 T3 = DEFINED string("MW_API")
0028 T2 = BOOL_NOT T3
0029 T2 = JMPZ_EX T2 0032
0030 T3 = DEFINED string("MW_REST_API")
0031 T2 = BOOL_NOT T3
0032 RETURN T2
LIVE RANGES:
2: 0004 - 0012 (loop)
MWExceptionRenderer::reportHTML:
; (lines=66, args=1, vars=4, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionRenderer.php:176-206
0000 CV0($e) = RECV 1
0001 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("useOutputPage")
0002 SEND_VAR CV0($e) 1
0003 V4 = DO_UCALL
0004 JMPZ V4 0041
0005 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Context\\RequestContext") string("getMain")
0006 V4 = DO_FCALL
0007 INIT_METHOD_CALL 0 V4 string("getOutput")
0008 V4 = DO_FCALL
0009 CV1($out) = QM_ASSIGN V4
0010 INIT_METHOD_CALL 0 CV1($out) string("prepareErrorPage")
0011 DO_FCALL
0012 INIT_METHOD_CALL 1 CV1($out) string("setPageTitleMsg")
0013 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("getExceptionTitle")
0014 SEND_VAR CV0($e) 1
0015 V4 = DO_FCALL
0016 SEND_VAR_NO_REF_EX V4 1
0017 DO_FCALL
0018 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("getCustomMessage")
0019 SEND_VAR CV0($e) 1
0020 V4 = DO_FCALL
0021 CV2($customMessage) = QM_ASSIGN V4
0022 T4 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] CV2($customMessage)
0023 JMPZ T4 0032
0024 INIT_METHOD_CALL 1 CV1($out) string("addHTML")
0025 INIT_STATIC_METHOD_CALL 3 string("MediaWiki\\Html\\Html") string("element")
0026 SEND_VAL_EX string("p") 1
0027 SEND_VAL_EX array(...) 2
0028 SEND_VAR_EX CV2($customMessage) 3
0029 V4 = DO_FCALL
0030 SEND_VAR_NO_REF_EX V4 1
0031 DO_FCALL
0032 INIT_METHOD_CALL 1 CV1($out) string("addHTML")
0033 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("getHTML")
0034 SEND_VAR CV0($e) 1
0035 V4 = DO_FCALL
0036 SEND_VAR_NO_REF_EX V4 1
0037 DO_FCALL
0038 INIT_METHOD_CALL 0 CV1($out) string("output")
0039 DO_FCALL
0040 RETURN null
0041 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("header")
0042 SEND_VAL string("Content-Type: text/html; charset=UTF-8") 1
0043 DO_FCALL
0044 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("msg")
0045 SEND_VAL string("internalerror") 1
0046 SEND_VAL string("Internal error") 2
0047 V4 = DO_FCALL
0048 CV3($pageTitle) = QM_ASSIGN V4
0049 INIT_FCALL 1 96 string("htmlspecialchars")
0050 INIT_STATIC_METHOD_CALL 3 (self) (exception) string("msg")
0051 SEND_VAL string("pagetitle") 1
0052 SEND_VAL string("$1 - MediaWiki") 2
0053 SEND_VAR CV3($pageTitle) 3
0054 V4 = DO_FCALL
0055 SEND_VAR V4 1
0056 V4 = DO_ICALL
0057 T5 = FAST_CONCAT string("<!DOCTYPE html>
<html><head><title>") V4
0058 T4 = FAST_CONCAT T5 string("</title><style>body { font-family: sans-serif; margin: 0; padding: 0.5em 2em; }</style></head><body>
")
0059 ECHO T4
0060 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("getHTML")
0061 SEND_VAR CV0($e) 1
0062 V4 = DO_FCALL
0063 ECHO V4
0064 ECHO string("</body></html>
")
0065 RETURN null
MWExceptionRenderer::getHTML:
; (lines=72, args=1, vars=3, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionRenderer.php:214-242
0000 CV0($e) = RECV 1
0001 INIT_STATIC_METHOD_CALL 0 (self) (exception) string("shouldShowExceptionDetails")
0002 V3 = DO_UCALL
0003 JMPZ V3 0033
0004 INIT_STATIC_METHOD_CALL 3 string("MediaWiki\\Html\\Html") string("errorBox")
0005 INIT_FCALL 1 96 string("nl2br")
0006 INIT_FCALL 1 96 string("htmlspecialchars")
0007 INIT_STATIC_METHOD_CALL 1 string("MWExceptionHandler") string("getLogMessage")
0008 SEND_VAR_EX CV0($e) 1
0009 V3 = DO_FCALL
0010 SEND_VAR V3 1
0011 V3 = DO_ICALL
0012 SEND_VAR V3 1
0013 V3 = DO_ICALL
0014 T4 = FAST_CONCAT string("<p>") V3
0015 T3 = FAST_CONCAT T4 string("</p><p>Backtrace:</p><p>")
0016 INIT_FCALL 1 96 string("nl2br")
0017 INIT_FCALL 1 96 string("htmlspecialchars")
0018 INIT_STATIC_METHOD_CALL 1 string("MWExceptionHandler") string("getRedactedTraceAsString")
0019 SEND_VAR_EX CV0($e) 1
0020 V4 = DO_FCALL
0021 SEND_VAR V4 1
0022 V4 = DO_ICALL
0023 SEND_VAR V4 1
0024 V5 = DO_ICALL
0025 T4 = FAST_CONCAT T3 V5
0026 T3 = FAST_CONCAT T4 string("</p>
")
0027 SEND_VAL_EX T3 1
0028 SEND_VAL_EX string("") 2
0029 SEND_VAL_EX string("mw-content-ltr") 3
0030 V3 = DO_FCALL
0031 CV1($html) = QM_ASSIGN V3
0032 RETURN CV1($html)
0033 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Request\\WebRequest") string("getRequestId")
0034 V3 = DO_FCALL
0035 CV2($logId) = QM_ASSIGN V3
0036 INIT_STATIC_METHOD_CALL 3 string("MediaWiki\\Html\\Html") string("errorBox")
0037 INIT_FCALL 1 96 string("htmlspecialchars")
0038 T3 = CONCAT string("[") CV2($logId)
0039 T4 = FAST_CONCAT T3 string("] ")
0040 INIT_FCALL 1 96 string("gmdate")
0041 SEND_VAL string("Y-m-d H:i:s") 1
0042 V5 = DO_ICALL
0043 T3 = FAST_CONCAT T4 V5
0044 T4 = FAST_CONCAT T3 string(": ")
0045 INIT_STATIC_METHOD_CALL 5 (self) (exception) string("msg")
0046 SEND_VAL string("internalerror-fatal-exception") 1
0047 SEND_VAL string("Fatal exception of type $1") 2
0048 T3 = GET_CLASS CV0($e)
0049 SEND_VAL T3 3
0050 SEND_VAR CV2($logId) 4
0051 INIT_STATIC_METHOD_CALL 0 string("MWExceptionHandler") string("getURL")
0052 V3 = DO_FCALL
0053 SEND_VAR V3 5
0054 V5 = DO_FCALL
0055 T3 = CONCAT T4 V5
0056 SEND_VAL T3 1
0057 V3 = DO_ICALL
0058 SEND_VAR_NO_REF_EX V3 1
0059 SEND_VAL_EX string("") 2
0060 SEND_VAL_EX string("mw-content-ltr") 3
0061 V3 = DO_FCALL
0062 T4 = CONCAT V3 string("<!-- ")
0063 INIT_FCALL 2 112 string("wordwrap")
0064 INIT_STATIC_METHOD_CALL 0 (self) (exception) string("getShowBacktraceError")
0065 V3 = DO_FCALL
0066 SEND_VAR V3 1
0067 SEND_VAL int(50) 2
0068 V5 = DO_ICALL
0069 T3 = FAST_CONCAT T4 V5
0070 CV1($html) = FAST_CONCAT T3 string(" -->")
0071 RETURN CV1($html)
LIVE RANGES:
3: 0016 - 0025 (tmp/var)
4: 0040 - 0043 (tmp/var)
4: 0045 - 0055 (tmp/var)
4: 0063 - 0069 (tmp/var)
MWExceptionRenderer::msg:
; (lines=14, args=2, vars=4, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionRenderer.php:253-259
0000 CV0($key) = RECV 1
0001 CV1($fallback) = RECV 2
0002 CV2($params) = RECV_VARIADIC 3
0003 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("msgObj")
0004 SEND_VAR CV0($key) 1
0005 SEND_VAR CV1($fallback) 2
0006 SEND_UNPACK CV2($params)
0007 CHECK_UNDEF_ARGS
0008 V4 = DO_FCALL
0009 INIT_METHOD_CALL 0 V4 string("text")
0010 V4 = DO_FCALL
0011 CV3($res) = QM_ASSIGN V4
0012 T4 = FRAMELESS_ICALL_2(strtr) CV3($res) array(...)
0013 RETURN T4
MWExceptionRenderer::msgObj:
; (lines=31, args=2, vars=6, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionRenderer.php:269-285
0000 CV0($key) = RECV 1
0001 CV1($fallback) = RECV 2
0002 CV2($params) = RECV_VARIADIC 3
0003 INIT_FCALL_BY_NAME 1 string("wfMessage")
0004 SEND_VAR_EX CV0($key) 1
0005 SEND_UNPACK CV2($params)
0006 CHECK_UNDEF_ARGS
0007 V6 = DO_FCALL_BY_NAME
0008 ASSIGN CV3($res) V6
0009 JMP 0016
0010 CV4($e) = CATCH string("Exception")
0011 V6 = NEW 2 string("MediaWiki\\Language\\RawMessage")
0012 SEND_VAR_EX CV1($fallback) 1
0013 SEND_VAR_EX CV2($params) 2
0014 DO_FCALL
0015 ASSIGN CV3($res) V6
0016 INIT_METHOD_CALL 1 CV3($res) string("useDatabase")
0017 SEND_VAL_EX bool(false) 1
0018 DO_FCALL
0019 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Context\\RequestContext") string("getMain")
0020 V6 = DO_FCALL
0021 INIT_METHOD_CALL 0 V6 string("getUser")
0022 V6 = DO_FCALL
0023 INIT_METHOD_CALL 0 V6 string("isSafeToLoad")
0024 V6 = DO_FCALL
0025 ASSIGN CV5($isSafeToLoad) V6
0026 JMPNZ CV5($isSafeToLoad) 0029
0027 INIT_METHOD_CALL 0 CV3($res) string("inContentLanguage")
0028 DO_FCALL
0029 VERIFY_RETURN_TYPE CV3($res)
0030 RETURN CV3($res)
LIVE RANGES:
6: 0012 - 0015 (new)
EXCEPTION TABLE:
0003, 0010, -, -
MWExceptionRenderer::getText:
; (lines=18, args=1, vars=1, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionRenderer.php:291-300
0000 CV0($e) = RECV 1
0001 INIT_STATIC_METHOD_CALL 0 (self) (exception) string("shouldShowExceptionDetails")
0002 V1 = DO_UCALL
0003 JMPZ V1 0014
0004 INIT_STATIC_METHOD_CALL 1 string("MWExceptionHandler") string("getLogMessage")
0005 SEND_VAR_EX CV0($e) 1
0006 V2 = DO_FCALL
0007 T1 = CONCAT V2 string("
Backtrace:
")
0008 INIT_STATIC_METHOD_CALL 1 string("MWExceptionHandler") string("getRedactedTraceAsString")
0009 SEND_VAR_EX CV0($e) 1
0010 V3 = DO_FCALL
0011 T2 = CONCAT T1 V3
0012 T1 = FAST_CONCAT T2 string("
")
0013 RETURN T1
0014 INIT_STATIC_METHOD_CALL 0 (self) (exception) string("getShowBacktraceError")
0015 V2 = DO_FCALL
0016 T1 = CONCAT V2 string("
")
0017 RETURN T1
LIVE RANGES:
1: 0008 - 0011 (tmp/var)
MWExceptionRenderer::getShowBacktraceError:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionRenderer.php:305-308
0000 RETURN string("Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show detailed debugging information.")
MWExceptionRenderer::getExceptionTitle:
; (lines=50, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionRenderer.php:316-333
0000 CV0($e) = RECV 1
0001 T1 = INSTANCEOF CV0($e) string("MWException")
0002 JMPZ T1 0020
0003 INIT_STATIC_METHOD_CALL 4 string("MWDebug") string("detectDeprecatedOverride")
0004 SEND_VAR_EX CV0($e) 1
0005 SEND_VAL_EX string("MWException") 2
0006 SEND_VAL_EX string("getPageTitle") 3
0007 SEND_VAL_EX string("1.42") 4
0008 V1 = DO_FCALL
0009 JMPZ V1 0020
0010 V1 = NEW 1 string("MediaWiki\\Language\\RawMessage")
0011 SEND_VAL_EX string("$1") 1
0012 DO_FCALL
0013 INIT_METHOD_CALL 1 V1 string("plaintextParams")
0014 INIT_METHOD_CALL 0 CV0($e) string("getPageTitle")
0015 V1 = DO_FCALL
0016 SEND_VAR_NO_REF_EX V1 1
0017 V1 = DO_FCALL
0018 VERIFY_RETURN_TYPE V1
0019 RETURN V1
0020 T1 = INSTANCEOF CV0($e) string("Wikimedia\\Rdbms\\DBReadOnlyError")
0021 JMPZ T1 0028
0022 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("msgObj")
0023 SEND_VAL string("readonly") 1
0024 SEND_VAL string("Database is locked") 2
0025 V1 = DO_UCALL
0026 VERIFY_RETURN_TYPE V1
0027 RETURN V1
0028 T1 = INSTANCEOF CV0($e) string("Wikimedia\\Rdbms\\DBExpectedError")
0029 JMPZ T1 0036
0030 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("msgObj")
0031 SEND_VAL string("databaseerror") 1
0032 SEND_VAL string("Database error") 2
0033 V1 = DO_UCALL
0034 VERIFY_RETURN_TYPE V1
0035 RETURN V1
0036 T1 = INSTANCEOF CV0($e) string("Wikimedia\\RequestTimeout\\RequestTimeoutException")
0037 JMPZ T1 0044
0038 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("msgObj")
0039 SEND_VAL string("timeouterror") 1
0040 SEND_VAL string("Request timeout") 2
0041 V1 = DO_UCALL
0042 VERIFY_RETURN_TYPE V1
0043 RETURN V1
0044 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("msgObj")
0045 SEND_VAL string("internalerror") 1
0046 SEND_VAL string("Internal error") 2
0047 V1 = DO_UCALL
0048 VERIFY_RETURN_TYPE V1
0049 RETURN V1
LIVE RANGES:
1: 0011 - 0013 (new)
1: 0018 - 0019 (tmp/var)
1: 0026 - 0027 (tmp/var)
1: 0034 - 0035 (tmp/var)
1: 0042 - 0043 (tmp/var)
1: 0048 - 0049 (tmp/var)
MWExceptionRenderer::getCustomMessage:
; (lines=25, args=1, vars=4, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionRenderer.php:342-356
0000 CV0($e) = RECV 1
0001 T4 = INSTANCEOF CV0($e) string("MessageSpecifier")
0002 JMPZ T4 0008
0003 INIT_STATIC_METHOD_CALL 1 string("Message") string("newFromSpecifier")
0004 SEND_VAR_EX CV0($e) 1
0005 V4 = DO_FCALL
0006 ASSIGN CV1($msg) V4
0007 JMP 0019
0008 T4 = INSTANCEOF CV0($e) string("Wikimedia\\RequestTimeout\\RequestTimeoutException")
0009 JMPZ T4 0018
0010 INIT_FCALL_BY_NAME 2 string("wfMessage")
0011 SEND_VAL_EX string("timeouterror-text") 1
0012 INIT_METHOD_CALL 0 CV0($e) string("getLimit")
0013 V4 = DO_FCALL
0014 SEND_VAR_NO_REF_EX V4 2
0015 V4 = DO_FCALL_BY_NAME
0016 ASSIGN CV1($msg) V4
0017 JMP 0019
0018 RETURN null
0019 INIT_METHOD_CALL 0 CV1($msg) string("text")
0020 V4 = DO_FCALL
0021 ASSIGN CV2($text) V4
0022 RETURN CV2($text)
0023 CV3($e2) = CATCH string("Exception")
0024 RETURN null
EXCEPTION TABLE:
0001, 0023, -, -
MWExceptionRenderer::isCommandLine:
; (lines=3, args=0, vars=0, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionRenderer.php:361-363
0000 T1 = FETCH_CONSTANT string("MW_ENTRY_POINT")
0001 T0 = IS_IDENTICAL T1 string("cli")
0002 RETURN T0
MWExceptionRenderer::header:
; (lines=8, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionRenderer.php:368-372
0000 CV0($header) = RECV 1
0001 INIT_FCALL 0 80 string("headers_sent")
0002 V1 = DO_ICALL
0003 JMPNZ V1 0007
0004 INIT_FCALL 1 96 string("header")
0005 SEND_VAR CV0($header) 1
0006 DO_ICALL
0007 RETURN null
MWExceptionRenderer::statusHeader:
; (lines=8, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionRenderer.php:377-381
0000 CV0($code) = RECV 1
0001 INIT_FCALL 0 80 string("headers_sent")
0002 V1 = DO_ICALL
0003 JMPNZ V1 0007
0004 INIT_STATIC_METHOD_CALL 1 string("HttpStatus") string("header")
0005 SEND_VAR_EX CV0($code) 1
0006 DO_FCALL
0007 RETURN null
MWExceptionRenderer::printError:
; (lines=13, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionRenderer.php:390-399
0000 CV0($message) = RECV 1
0001 T1 = DEFINED string("MW_PHPUNIT_TEST")
0002 JMPNZ T1 0011
0003 T1 = DEFINED string("STDERR")
0004 JMPZ T1 0011
0005 INIT_FCALL 2 112 string("fwrite")
0006 T1 = FETCH_CONSTANT string("STDERR")
0007 SEND_VAL T1 1
0008 SEND_VAR CV0($message) 2
0009 DO_ICALL
0010 RETURN null
0011 ECHO CV0($message)
0012 RETURN null
MWExceptionRenderer::reportOutageHTML:
; (lines=87, args=1, vars=8, tmps=5)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionRenderer.php:404-445
0000 CV0($e) = RECV 1
0001 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("getInstance")
0002 V8 = DO_FCALL
0003 INIT_METHOD_CALL 0 V8 string("getMainConfig")
0004 V8 = DO_FCALL
0005 CV1($mainConfig) = QM_ASSIGN V8
0006 INIT_METHOD_CALL 1 CV1($mainConfig) string("get")
0007 T8 = FETCH_CLASS_CONSTANT string("MediaWiki\\MainConfigNames") string("ShowExceptionDetails")
0008 SEND_VAL_EX T8 1
0009 V8 = DO_FCALL
0010 CV2($showExceptionDetails) = QM_ASSIGN V8
0011 INIT_METHOD_CALL 1 CV1($mainConfig) string("get")
0012 T8 = FETCH_CLASS_CONSTANT string("MediaWiki\\MainConfigNames") string("ShowHostnames")
0013 SEND_VAL_EX T8 1
0014 V8 = DO_FCALL
0015 CV3($showHostnames) = QM_ASSIGN V8
0016 INIT_FCALL 1 96 string("htmlspecialchars")
0017 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("msg")
0018 SEND_VAL string("dberr-problems") 1
0019 SEND_VAL string("Sorry! This site is experiencing technical difficulties.") 2
0020 V8 = DO_UCALL
0021 SEND_VAR V8 1
0022 V8 = DO_ICALL
0023 CV4($sorry) = QM_ASSIGN V8
0024 INIT_FCALL 1 96 string("htmlspecialchars")
0025 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("msg")
0026 SEND_VAL string("dberr-again") 1
0027 SEND_VAL string("Try waiting a few minutes and reloading.") 2
0028 V8 = DO_UCALL
0029 SEND_VAR V8 1
0030 V8 = DO_ICALL
0031 CV5($again) = QM_ASSIGN V8
0032 JMPZ CV3($showHostnames) 0050
0033 INIT_STATIC_METHOD_CALL 3 string("MediaWiki\\Html\\Html") string("element")
0034 SEND_VAL_EX string("span") 1
0035 SEND_VAL_EX array(...) 2
0036 INIT_METHOD_CALL 0 CV0($e) string("getMessage")
0037 V8 = DO_FCALL
0038 SEND_VAR_NO_REF_EX V8 3
0039 V9 = DO_FCALL
0040 INIT_FCALL 1 96 string("htmlspecialchars")
0041 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("msg")
0042 SEND_VAL string("dberr-info") 1
0043 SEND_VAL string("($1)") 2
0044 V8 = DO_UCALL
0045 SEND_VAR V8 1
0046 V8 = DO_ICALL
0047 CV6($info) = FRAMELESS_ICALL_3(str_replace) string("$1") V9
0048 OP_DATA V8
0049 JMP 0058
0050 INIT_FCALL 1 96 string("htmlspecialchars")
0051 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("msg")
0052 SEND_VAL string("dberr-info-hidden") 1
0053 SEND_VAL string("(Cannot access the database)") 2
0054 V8 = DO_UCALL
0055 SEND_VAR V8 1
0056 V8 = DO_ICALL
0057 CV6($info) = QM_ASSIGN V8
0058 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("getInstance")
0059 V8 = DO_FCALL
0060 INIT_METHOD_CALL 0 V8 string("getMessageCache")
0061 V8 = DO_FCALL
0062 INIT_METHOD_CALL 0 V8 string("disable")
0063 DO_FCALL
0064 T9 = ROPE_INIT 7 string("</head><body><h1>")
0065 T9 = ROPE_ADD 1 T9 CV4($sorry)
0066 T9 = ROPE_ADD 2 T9 string("</h1><p>")
0067 T9 = ROPE_ADD 3 T9 CV5($again)
0068 T9 = ROPE_ADD 4 T9 string("</p><p><small>")
0069 T9 = ROPE_ADD 5 T9 CV6($info)
0070 T8 = ROPE_END 6 T9 string("</small></p>")
0071 CV7($html) = FAST_CONCAT string("<!DOCTYPE html>
<html><head><title>MediaWiki</title><style>body { font-family: sans-serif; margin: 0; padding: 0.5em 2em; }</style>") T8
0072 JMPZ CV2($showExceptionDetails) 0081
0073 INIT_FCALL 1 96 string("htmlspecialchars")
0074 INIT_METHOD_CALL 0 CV0($e) string("getTraceAsString")
0075 V8 = DO_FCALL
0076 SEND_VAR V8 1
0077 V8 = DO_ICALL
0078 T9 = FAST_CONCAT string("<p>Backtrace:</p><pre>") V8
0079 T8 = FAST_CONCAT T9 string("</pre>")
0080 ASSIGN_OP (CONCAT) CV7($html) T8
0081 ASSIGN_OP (CONCAT) CV7($html) string("</body></html>")
0082 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("header")
0083 SEND_VAL string("Content-Type: text/html; charset=UTF-8") 1
0084 DO_UCALL
0085 ECHO CV7($html)
0086 RETURN null
LIVE RANGES:
9: 0040 - 0047 (tmp/var)
9: 0064 - 0070 (rope)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionHandler.php:1-796
0000 RETURN int(1)
MWExceptionHandler::installHandler:
; (lines=18, args=2, vars=2, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionHandler.php:87-118
0000 CV0($logExceptionBacktrace) = RECV_INIT 1 bool(true)
0001 CV1($propagateErrors) = RECV_INIT 2 bool(true)
0002 ASSIGN_STATIC_PROP string("logExceptionBacktrace")
0003 OP_DATA CV0($logExceptionBacktrace)
0004 ASSIGN_STATIC_PROP string("propagateErrors")
0005 OP_DATA CV1($propagateErrors)
0006 INIT_FCALL 1 96 string("set_exception_handler")
0007 SEND_VAL array(...) 1
0008 DO_ICALL
0009 INIT_FCALL 1 96 string("set_error_handler")
0010 SEND_VAL array(...) 1
0011 DO_ICALL
0012 ASSIGN_STATIC_PROP string("reservedMemory")
0013 OP_DATA string(" ")
0014 INIT_FCALL 1 96 string("register_shutdown_function")
0015 SEND_VAL array(...) 1
0016 DO_ICALL
0017 RETURN null
MWExceptionHandler::report:
; (lines=23, args=1, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionHandler.php:124-141
0000 CV0($e) = RECV 1
0001 T2 = INSTANCEOF CV0($e) string("MWException")
0002 JMPZ T2 0009
0003 INIT_METHOD_CALL 0 CV0($e) string("hasOverriddenHandler")
0004 V2 = DO_FCALL
0005 JMPZ V2 0009
0006 INIT_METHOD_CALL 0 CV0($e) string("report")
0007 DO_FCALL
0008 RETURN null
0009 INIT_STATIC_METHOD_CALL 2 string("MWExceptionRenderer") string("output")
0010 SEND_VAR_EX CV0($e) 1
0011 T2 = FETCH_CLASS_CONSTANT string("MWExceptionRenderer") string("AS_PRETTY")
0012 SEND_VAL_EX T2 2
0013 DO_FCALL
0014 RETURN null
0015 CV1($e2) = CATCH string("Throwable")
0016 INIT_STATIC_METHOD_CALL 3 string("MWExceptionRenderer") string("output")
0017 SEND_VAR_EX CV0($e) 1
0018 T2 = FETCH_CLASS_CONSTANT string("MWExceptionRenderer") string("AS_RAW")
0019 SEND_VAL_EX T2 2
0020 SEND_VAR_EX CV1($e2) 3
0021 DO_FCALL
0022 RETURN null
EXCEPTION TABLE:
0001, 0015, -, -
MWExceptionHandler::rollbackPrimaryChanges:
; (lines=28, args=0, vars=3, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionHandler.php:148-178
0000 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("hasInstance")
0001 V3 = DO_FCALL
0002 JMPNZ V3 0004
0003 RETURN null
0004 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("getInstance")
0005 V3 = DO_FCALL
0006 ASSIGN CV0($services) V3
0007 INIT_METHOD_CALL 1 CV0($services) string("isServiceDisabled")
0008 SEND_VAL_EX string("DBLoadBalancerFactory") 1
0009 V3 = DO_FCALL
0010 JMPZ V3 0012
0011 RETURN null
0012 INIT_METHOD_CALL 0 CV0($services) string("getDBLoadBalancerFactory")
0013 V3 = DO_FCALL
0014 ASSIGN CV1($lbFactory) V3
0015 INIT_METHOD_CALL 1 CV1($lbFactory) string("rollbackPrimaryChanges")
0016 SEND_VAL_EX string("MWExceptionHandler::rollbackPrimaryChanges") 1
0017 DO_FCALL
0018 INIT_METHOD_CALL 1 CV1($lbFactory) string("flushPrimarySessions")
0019 SEND_VAL_EX string("MWExceptionHandler::rollbackPrimaryChanges") 1
0020 DO_FCALL
0021 RETURN null
0022 CV2($e) = CATCH string("Wikimedia\\Rdbms\\DBError")
0023 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("logException")
0024 SEND_VAR CV2($e) 1
0025 SEND_VAL string("mwe_handler") 2
0026 DO_FCALL
0027 RETURN null
EXCEPTION TABLE:
0012, 0022, -, -
MWExceptionHandler::rollbackPrimaryChangesAndLog:
; (lines=9, args=2, vars=2, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionHandler.php:189-196
0000 CV0($e) = RECV 1
0001 CV1($catcher) = RECV_INIT 2 zval(type=11)
0002 INIT_STATIC_METHOD_CALL 0 (self) (exception) string("rollbackPrimaryChanges")
0003 DO_UCALL
0004 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("logException")
0005 SEND_VAR CV0($e) 1
0006 SEND_VAR CV1($catcher) 2
0007 DO_FCALL
0008 RETURN null
MWExceptionHandler::handleUncaughtException:
; (lines=13, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionHandler.php:204-218
0000 CV0($e) = RECV 1
0001 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("handleException")
0002 SEND_VAR CV0($e) 1
0003 SEND_VAL string("mwe_handler") 2
0004 DO_FCALL
0005 INIT_FCALL_BY_NAME 0 string("wfIsCLI")
0006 V1 = DO_FCALL_BY_NAME
0007 JMPZ V1 0012
0008 INIT_FCALL 1 96 string("register_shutdown_function")
0009 T1 = DECLARE_LAMBDA_FUNCTION 0
0010 SEND_VAL T1 1
0011 DO_ICALL
0012 RETURN null
{closure:MWExceptionHandler::handleUncaughtException():213}:
; (lines=4, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionHandler.php:213-215
0000 INIT_FCALL 1 96 string("exit")
0001 SEND_VAL int(255) 1
0002 DO_ICALL
0003 RETURN null
MWExceptionHandler::handleException:
; (lines=10, args=2, vars=2, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionHandler.php:235-238
0000 CV0($e) = RECV 1
0001 CV1($catcher) = RECV_INIT 2 zval(type=11)
0002 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("rollbackPrimaryChangesAndLog")
0003 SEND_VAR CV0($e) 1
0004 SEND_VAR CV1($catcher) 2
0005 DO_UCALL
0006 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("report")
0007 SEND_VAR CV0($e) 1
0008 DO_UCALL
0009 RETURN null
MWExceptionHandler::handleError:
; (lines=80, args=4, vars=8, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionHandler.php:254-331
0000 CV0($level) = RECV 1
0001 CV1($message) = RECV 2
0002 CV2($file) = RECV_INIT 3 null
0003 CV3($line) = RECV_INIT 4 null
0004 SWITCH_LONG CV0($level) 2: 0024, 32: 0024, 128: 0024, 8: 0027, 1024: 0030, 512: 0033, 2048: 0036, 8192: 0039, 16384: 0042, default: 0056
0005 T8 = IS_EQUAL CV0($level) int(2)
0006 JMPNZ T8 0024
0007 T8 = IS_EQUAL CV0($level) int(32)
0008 JMPNZ T8 0024
0009 T8 = IS_EQUAL CV0($level) int(128)
0010 JMPNZ T8 0024
0011 T8 = IS_EQUAL CV0($level) int(8)
0012 JMPNZ T8 0027
0013 T8 = IS_EQUAL CV0($level) int(1024)
0014 JMPNZ T8 0030
0015 T8 = IS_EQUAL CV0($level) int(512)
0016 JMPNZ T8 0033
0017 T8 = IS_EQUAL CV0($level) int(2048)
0018 JMPNZ T8 0036
0019 T8 = IS_EQUAL CV0($level) int(8192)
0020 JMPNZ T8 0039
0021 T8 = IS_EQUAL CV0($level) int(16384)
0022 JMPNZ T8 0042
0023 JMP 0056
0024 CV4($prefix) = QM_ASSIGN string("PHP Warning: ")
0025 CV5($severity) = FETCH_CLASS_CONSTANT string("Psr\\Log\\LogLevel") string("ERROR")
0026 JMP 0058
0027 CV4($prefix) = QM_ASSIGN string("PHP Notice: ")
0028 CV5($severity) = FETCH_CLASS_CONSTANT string("Psr\\Log\\LogLevel") string("ERROR")
0029 JMP 0058
0030 CV4($prefix) = QM_ASSIGN string("PHP Notice: ")
0031 CV5($severity) = FETCH_CLASS_CONSTANT string("Psr\\Log\\LogLevel") string("WARNING")
0032 JMP 0058
0033 CV4($prefix) = QM_ASSIGN string("PHP Warning: ")
0034 CV5($severity) = FETCH_CLASS_CONSTANT string("Psr\\Log\\LogLevel") string("WARNING")
0035 JMP 0058
0036 CV4($prefix) = QM_ASSIGN string("PHP Strict Standards: ")
0037 CV5($severity) = FETCH_CLASS_CONSTANT string("Psr\\Log\\LogLevel") string("WARNING")
0038 JMP 0058
0039 CV4($prefix) = QM_ASSIGN string("PHP Deprecated: ")
0040 CV5($severity) = FETCH_CLASS_CONSTANT string("Psr\\Log\\LogLevel") string("WARNING")
0041 JMP 0058
0042 CV4($prefix) = QM_ASSIGN string("PHP Deprecated: ")
0043 CV5($severity) = FETCH_CLASS_CONSTANT string("Psr\\Log\\LogLevel") string("WARNING")
0044 INIT_STATIC_METHOD_CALL 1 string("MWDebug") string("parseCallerDescription")
0045 SEND_VAR_EX CV1($message) 1
0046 V8 = DO_FCALL
0047 CV6($real) = QM_ASSIGN V8
0048 JMPZ CV6($real) 0058
0049 T8 = FETCH_DIM_R CV6($real) string("file")
0050 ASSIGN CV2($file) T8
0051 T8 = FETCH_DIM_R CV6($real) string("line")
0052 ASSIGN CV3($line) T8
0053 T8 = FETCH_DIM_R CV6($real) string("message")
0054 ASSIGN CV1($message) T8
0055 JMP 0058
0056 CV4($prefix) = QM_ASSIGN string("PHP Unknown error: ")
0057 CV5($severity) = FETCH_CLASS_CONSTANT string("Psr\\Log\\LogLevel") string("ERROR")
0058 V8 = NEW 5 string("ErrorException")
0059 T9 = CONCAT CV4($prefix) CV1($message)
0060 SEND_VAL_EX T9 1
0061 SEND_VAL_EX int(0) 2
0062 SEND_VAR_EX CV0($level) 3
0063 SEND_VAR_EX CV2($file) 4
0064 SEND_VAR_EX CV3($line) 5
0065 DO_FCALL
0066 CV7($e) = QM_ASSIGN V8
0067 INIT_STATIC_METHOD_CALL 3 (self) (exception) string("logError")
0068 SEND_VAR CV7($e) 1
0069 SEND_VAR CV5($severity) 2
0070 SEND_VAL string("mwe_handler") 3
0071 DO_FCALL
0072 T9 = FETCH_STATIC_PROP_R string("propagateErrors") (self) (exception)
0073 T9 = JMPNZ_EX T9 0078
0074 INIT_FCALL 1 96 string("ini_get")
0075 SEND_VAL string("track_errors") 1
0076 V8 = DO_ICALL
0077 T9 = BOOL V8
0078 T8 = BOOL_NOT T9
0079 RETURN T8
LIVE RANGES:
8: 0059 - 0066 (new)
MWExceptionHandler::handleFatalError:
; (lines=69, args=0, vars=9, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionHandler.php:347-396
0000 ASSIGN_STATIC_PROP string("reservedMemory")
0001 OP_DATA null
0002 INIT_FCALL 0 80 string("error_get_last")
0003 V9 = DO_ICALL
0004 CV0($lastError) = QM_ASSIGN V9
0005 T9 = TYPE_CHECK (null) CV0($lastError)
0006 JMPZ T9 0008
0007 RETURN bool(false)
0008 CV1($level) = FETCH_DIM_R CV0($lastError) string("type")
0009 CV2($message) = FETCH_DIM_R CV0($lastError) string("message")
0010 CV3($file) = FETCH_DIM_R CV0($lastError) string("file")
0011 CV4($line) = FETCH_DIM_R CV0($lastError) string("line")
0012 T10 = FETCH_STATIC_PROP_R string("fatalErrorTypes") (self) (exception)
0013 T9 = FRAMELESS_ICALL_2(in_array) CV1($level) T10
0014 JMPNZ T9 0016
0015 RETURN bool(false)
0016 T9 = INIT_ARRAY 6 (packed) string("[{reqId}] {exception_url} PHP Fatal Error") NEXT
0017 JMPNZ CV4($line) 0019
0018 JMPZ CV3($file) 0021
0019 T10 = QM_ASSIGN string(" from")
0020 JMP 0022
0021 T10 = QM_ASSIGN string("")
0022 T9 = ADD_ARRAY_ELEMENT T10 NEXT
0023 JMPZ CV4($line) 0026
0024 T10 = FAST_CONCAT string(" line ") CV4($line)
0025 JMP 0027
0026 T10 = QM_ASSIGN string("")
0027 T9 = ADD_ARRAY_ELEMENT T10 NEXT
0028 JMPZ CV4($line) 0032
0029 JMPZ CV3($file) 0032
0030 T10 = QM_ASSIGN string(" of")
0031 JMP 0033
0032 T10 = QM_ASSIGN string("")
0033 T9 = ADD_ARRAY_ELEMENT T10 NEXT
0034 JMPZ CV3($file) 0037
0035 T10 = FAST_CONCAT string(" ") CV3($file)
0036 JMP 0038
0037 T10 = QM_ASSIGN string("")
0038 T9 = ADD_ARRAY_ELEMENT T10 NEXT
0039 T10 = FAST_CONCAT string(": ") CV2($message)
0040 T9 = ADD_ARRAY_ELEMENT T10 NEXT
0041 CV5($msgParts) = QM_ASSIGN T9
0042 CV6($msg) = FRAMELESS_ICALL_2(implode) string("") CV5($msgParts)
0043 T9 = FRAMELESS_ICALL_2(preg_match) string("/Class '\\w+' not found/") CV2($message)
0044 JMPZ T9 0047
0045 T9 = FAST_CONCAT CV6($msg) string("
MediaWiki or an installed extension requires this class but it is not embedded directly in MediaWiki's git repository and must be installed separately by the end user.
Please see <a href=\"https://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries\">mediawiki.org</a> for help on installing the required components.")
0046 ASSIGN CV6($msg) T9
0047 V9 = NEW 5 string("ErrorException")
0048 T10 = FAST_CONCAT string("PHP Fatal Error: ") CV2($message)
0049 SEND_VAL_EX T10 1
0050 SEND_VAL_EX int(0) 2
0051 SEND_VAR_EX CV1($level) 3
0052 SEND_VAR_EX CV3($file) 4
0053 SEND_VAR_EX CV4($line) 5
0054 DO_FCALL
0055 CV7($e) = QM_ASSIGN V9
0056 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\Logger\\LoggerFactory") string("getInstance")
0057 SEND_VAL_EX string("exception") 1
0058 V9 = DO_FCALL
0059 CV8($logger) = QM_ASSIGN V9
0060 INIT_METHOD_CALL 2 CV8($logger) string("error")
0061 SEND_VAR_EX CV6($msg) 1
0062 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("getLogContext")
0063 SEND_VAR CV7($e) 1
0064 SEND_VAL string("mwe_handler") 2
0065 V9 = DO_FCALL
0066 SEND_VAR_NO_REF_EX V9 2
0067 DO_FCALL
0068 RETURN bool(false)
LIVE RANGES:
9: 0017 - 0041 (tmp/var)
9: 0048 - 0055 (new)
MWExceptionHandler::getRedactedTraceAsString:
; (lines=17, args=1, vars=2, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionHandler.php:408-411
0000 CV0($e) = RECV 1
0001 INIT_METHOD_CALL 0 CV0($e) string("getFile")
0002 V3 = DO_FCALL
0003 T2 = CONCAT string("from ") V3
0004 T3 = FAST_CONCAT T2 string("(")
0005 INIT_METHOD_CALL 0 CV0($e) string("getLine")
0006 V4 = DO_FCALL
0007 T2 = CONCAT T3 V4
0008 CV1($from) = FAST_CONCAT T2 string(")
")
0009 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("prettyPrintTrace")
0010 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("getRedactedTrace")
0011 SEND_VAR CV0($e) 1
0012 V2 = DO_FCALL
0013 SEND_VAR V2 1
0014 V3 = DO_FCALL
0015 T2 = CONCAT CV1($from) V3
0016 RETURN T2
LIVE RANGES:
3: 0005 - 0007 (tmp/var)
MWExceptionHandler::prettyPrintTrace:
; (lines=63, args=2, vars=5, tmps=6)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionHandler.php:421-453
0000 CV0($trace) = RECV 1
0001 CV1($pad) = RECV_INIT 2 string("")
0002 CV2($text) = QM_ASSIGN string("")
0003 CV3($level) = QM_ASSIGN int(0)
0004 V5 = FE_RESET_R CV0($trace) 0055
0005 T6 = FE_FETCH_R V5 CV4($frame) 0055
0006 ASSIGN CV3($level) T6
0007 T6 = ISSET_ISEMPTY_DIM_OBJ (isset) CV4($frame) string("file")
0008 JMPZ T6 0023
0009 T6 = ISSET_ISEMPTY_DIM_OBJ (isset) CV4($frame) string("line")
0010 JMPZ T6 0023
0011 T7 = ROPE_INIT 8 CV1($pad)
0012 T7 = ROPE_ADD 1 T7 string("#")
0013 T7 = ROPE_ADD 2 T7 CV3($level)
0014 T7 = ROPE_ADD 3 T7 string(" ")
0015 T6 = FETCH_DIM_R CV4($frame) string("file")
0016 T7 = ROPE_ADD 4 T7 T6
0017 T7 = ROPE_ADD 5 T7 string("(")
0018 T6 = FETCH_DIM_R CV4($frame) string("line")
0019 T7 = ROPE_ADD 6 T7 T6
0020 T6 = ROPE_END 7 T7 string("): ")
0021 ASSIGN_OP (CONCAT) CV2($text) T6
0022 JMP 0028
0023 T7 = ROPE_INIT 4 CV1($pad)
0024 T7 = ROPE_ADD 1 T7 string("#")
0025 T7 = ROPE_ADD 2 T7 CV3($level)
0026 T6 = ROPE_END 3 T7 string(" [internal function]: ")
0027 ASSIGN_OP (CONCAT) CV2($text) T6
0028 T6 = ISSET_ISEMPTY_DIM_OBJ (isset) CV4($frame) string("class")
0029 JMPZ T6 0041
0030 T6 = ISSET_ISEMPTY_DIM_OBJ (isset) CV4($frame) string("type")
0031 JMPZ T6 0041
0032 T6 = ISSET_ISEMPTY_DIM_OBJ (isset) CV4($frame) string("function")
0033 JMPZ T6 0041
0034 T6 = FETCH_DIM_R CV4($frame) string("class")
0035 T8 = FETCH_DIM_R CV4($frame) string("type")
0036 T7 = CONCAT T6 T8
0037 T8 = FETCH_DIM_R CV4($frame) string("function")
0038 T6 = CONCAT T7 T8
0039 ASSIGN_OP (CONCAT) CV2($text) T6
0040 JMP 0045
0041 T7 = FETCH_DIM_IS CV4($frame) string("function")
0042 T6 = COALESCE T7 0044
0043 T6 = QM_ASSIGN string("NO_FUNCTION_GIVEN")
0044 ASSIGN_OP (CONCAT) CV2($text) T6
0045 T6 = ISSET_ISEMPTY_DIM_OBJ (isset) CV4($frame) string("args")
0046 JMPZ T6 0053
0047 T7 = FETCH_DIM_R CV4($frame) string("args")
0048 T6 = FRAMELESS_ICALL_2(implode) string(", ") T7
0049 T7 = FAST_CONCAT string("(") T6
0050 T6 = FAST_CONCAT T7 string(")
")
0051 ASSIGN_OP (CONCAT) CV2($text) T6
0052 JMP 0005
0053 ASSIGN_OP (CONCAT) CV2($text) string("()
")
0054 JMP 0005
0055 FE_FREE V5
0056 PRE_INC CV3($level)
0057 T6 = ROPE_INIT 4 CV1($pad)
0058 T6 = ROPE_ADD 1 T6 string("#")
0059 T6 = ROPE_ADD 2 T6 CV3($level)
0060 T5 = ROPE_END 3 T6 string(" {main}")
0061 ASSIGN_OP (CONCAT) CV2($text) T5
0062 RETURN CV2($text)
LIVE RANGES:
5: 0005 - 0055 (loop)
7: 0011 - 0020 (rope)
7: 0023 - 0026 (rope)
6: 0035 - 0036 (tmp/var)
7: 0037 - 0038 (tmp/var)
6: 0057 - 0060 (rope)
MWExceptionHandler::getRedactedTrace:
; (lines=7, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionHandler.php:466-468
0000 CV0($e) = RECV 1
0001 INIT_STATIC_METHOD_CALL 1 (static) (exception) string("redactTrace")
0002 INIT_METHOD_CALL 0 CV0($e) string("getTrace")
0003 V1 = DO_FCALL
0004 SEND_VAR_NO_REF_EX V1 1
0005 V1 = DO_FCALL
0006 RETURN V1
MWExceptionHandler::redactTrace:
; (lines=7, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionHandler.php:480-489
0000 CV0($trace) = RECV 1
0001 INIT_FCALL 2 112 string("array_map")
0002 T1 = DECLARE_LAMBDA_FUNCTION 0
0003 SEND_VAL T1 1
0004 SEND_VAR CV0($trace) 2
0005 V1 = DO_ICALL
0006 RETURN V1
{closure:MWExceptionHandler::redactTrace():481}:
; (lines=12, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionHandler.php:481-488
0000 CV0($frame) = RECV 1
0001 T1 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($frame) string("args")
0002 JMPZ T1 0011
0003 INIT_FCALL 2 112 string("array_map")
0004 T1 = DECLARE_LAMBDA_FUNCTION 0
0005 SEND_VAL T1 1
0006 T1 = FETCH_DIM_R CV0($frame) string("args")
0007 SEND_VAL T1 2
0008 V1 = DO_ICALL
0009 ASSIGN_DIM CV0($frame) string("args")
0010 OP_DATA V1
0011 RETURN CV0($frame)
{closure:{closure:MWExceptionHandler::redactTrace():481}:483}:
; (lines=7, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionHandler.php:483-485
0000 CV0($arg) = RECV 1
0001 T1 = TYPE_CHECK (object) CV0($arg)
0002 JMPZ T1 0005
0003 T1 = GET_CLASS CV0($arg)
0004 RETURN T1
0005 T1 = GET_TYPE CV0($arg)
0006 RETURN T1
MWExceptionHandler::getURL:
; (lines=7, args=0, vars=0, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionHandler.php:498-503
0000 T1 = FETCH_CONSTANT string("MW_ENTRY_POINT")
0001 T0 = IS_IDENTICAL T1 string("cli")
0002 JMPZ T0 0004
0003 RETURN bool(false)
0004 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Request\\WebRequest") string("getGlobalRequestURL")
0005 V0 = DO_FCALL
0006 RETURN V0
MWExceptionHandler::getLogMessage:
; (lines=26, args=1, vars=5, tmps=5)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionHandler.php:516-533
0000 CV0($e) = RECV 1
0001 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Request\\WebRequest") string("getRequestId")
0002 V5 = DO_FCALL
0003 CV1($id) = QM_ASSIGN V5
0004 CV2($type) = GET_CLASS CV0($e)
0005 INIT_METHOD_CALL 0 CV0($e) string("getMessage")
0006 V5 = DO_FCALL
0007 CV3($message) = QM_ASSIGN V5
0008 INIT_STATIC_METHOD_CALL 0 (self) (exception) string("getURL")
0009 V6 = DO_UCALL
0010 T5 = JMP_SET V6 0012
0011 T5 = QM_ASSIGN string("[no req]")
0012 CV4($url) = QM_ASSIGN T5
0013 T5 = INSTANCEOF CV0($e) string("Wikimedia\\Rdbms\\DBQueryError")
0014 JMPZ T5 0017
0015 T5 = CONCAT string("A database query error has occurred. Did you forget to run your application's database schema updater after upgrading or after adding a new extension?
Please see https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Upgrading and https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:How_to_debug for more information.
") CV3($message)
0016 ASSIGN CV3($message) T5
0017 T6 = ROPE_INIT 8 string("[")
0018 T6 = ROPE_ADD 1 T6 CV1($id)
0019 T6 = ROPE_ADD 2 T6 string("] ")
0020 T6 = ROPE_ADD 3 T6 CV4($url)
0021 T6 = ROPE_ADD 4 T6 string(" ")
0022 T6 = ROPE_ADD 5 T6 CV2($type)
0023 T6 = ROPE_ADD 6 T6 string(": ")
0024 T5 = ROPE_END 7 T6 CV3($message)
0025 RETURN T5
LIVE RANGES:
6: 0017 - 0024 (rope)
MWExceptionHandler::getLogNormalMessage:
; (lines=18, args=1, vars=2, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionHandler.php:544-559
0000 CV0($e) = RECV 1
0001 T2 = INSTANCEOF CV0($e) string("Wikimedia\\NormalizedException\\INormalizedException")
0002 JMPZ T2 0007
0003 INIT_METHOD_CALL 0 CV0($e) string("getNormalizedMessage")
0004 V2 = DO_FCALL
0005 CV1($message) = QM_ASSIGN V2
0006 JMP 0010
0007 INIT_METHOD_CALL 0 CV0($e) string("getMessage")
0008 V2 = DO_FCALL
0009 CV1($message) = QM_ASSIGN V2
0010 T2 = INSTANCEOF CV0($e) string("ErrorException")
0011 JMPNZ T2 0016
0012 T3 = GET_CLASS CV0($e)
0013 T4 = FAST_CONCAT string(": ") CV1($message)
0014 T2 = FAST_CONCAT T3 T4
0015 ASSIGN CV1($message) T2
0016 T2 = FAST_CONCAT string("[{reqId}] {exception_url} ") CV1($message)
0017 RETURN T2
LIVE RANGES:
3: 0013 - 0014 (tmp/var)
MWExceptionHandler::getPublicLogMessage:
; (lines=15, args=1, vars=3, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionHandler.php:565-571
0000 CV0($e) = RECV 1
0001 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Request\\WebRequest") string("getRequestId")
0002 V3 = DO_FCALL
0003 CV1($reqId) = QM_ASSIGN V3
0004 CV2($type) = GET_CLASS CV0($e)
0005 T4 = CONCAT string("[") CV1($reqId)
0006 T3 = FAST_CONCAT T4 string("] ")
0007 INIT_FCALL 1 96 string("gmdate")
0008 SEND_VAL string("Y-m-d H:i:s") 1
0009 V5 = DO_ICALL
0010 T4 = FAST_CONCAT T3 V5
0011 T3 = FAST_CONCAT T4 string(": Fatal exception of type \"")
0012 T4 = FAST_CONCAT T3 CV2($type)
0013 T3 = FAST_CONCAT T4 string("\"")
0014 RETURN T3
LIVE RANGES:
3: 0007 - 0010 (tmp/var)
MWExceptionHandler::getLogContext:
; (lines=19, args=2, vars=3, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionHandler.php:585-602
0000 CV0($e) = RECV 1
0001 CV1($catcher) = RECV_INIT 2 zval(type=11)
0002 T3 = INIT_ARRAY 4 CV0($e) string("exception")
0003 INIT_STATIC_METHOD_CALL 0 (self) (exception) string("getURL")
0004 V5 = DO_UCALL
0005 T4 = JMP_SET V5 0007
0006 T4 = QM_ASSIGN string("[no req]")
0007 T3 = ADD_ARRAY_ELEMENT T4 string("exception_url")
0008 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Request\\WebRequest") string("getRequestId")
0009 V4 = DO_FCALL
0010 T3 = ADD_ARRAY_ELEMENT V4 string("reqId")
0011 T3 = ADD_ARRAY_ELEMENT CV1($catcher) string("caught_by")
0012 CV2($context) = QM_ASSIGN T3
0013 T3 = INSTANCEOF CV0($e) string("Wikimedia\\NormalizedException\\INormalizedException")
0014 JMPZ T3 0018
0015 INIT_METHOD_CALL 0 CV0($e) string("getMessageContext")
0016 V3 = DO_FCALL
0017 ASSIGN_OP (ADD) CV2($context) V3
0018 RETURN CV2($context)
LIVE RANGES:
3: 0003 - 0012 (tmp/var)
MWExceptionHandler::getStructuredExceptionData:
; (lines=56, args=2, vars=4, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionHandler.php:616-648
0000 CV0($e) = RECV 1
0001 CV1($catcher) = RECV_INIT 2 zval(type=11)
0002 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\Request\\WebRequest") string("getRequestId")
0003 V5 = DO_FCALL
0004 T4 = INIT_ARRAY 8 V5 string("id")
0005 T5 = GET_CLASS CV0($e)
0006 T4 = ADD_ARRAY_ELEMENT T5 string("type")
0007 INIT_METHOD_CALL 0 CV0($e) string("getFile")
0008 V5 = DO_FCALL
0009 T4 = ADD_ARRAY_ELEMENT V5 string("file")
0010 INIT_METHOD_CALL 0 CV0($e) string("getLine")
0011 V5 = DO_FCALL
0012 T4 = ADD_ARRAY_ELEMENT V5 string("line")
0013 INIT_METHOD_CALL 0 CV0($e) string("getMessage")
0014 V5 = DO_FCALL
0015 T4 = ADD_ARRAY_ELEMENT V5 string("message")
0016 INIT_METHOD_CALL 0 CV0($e) string("getCode")
0017 V5 = DO_FCALL
0018 T4 = ADD_ARRAY_ELEMENT V5 string("code")
0019 INIT_STATIC_METHOD_CALL 0 (self) (exception) string("getURL")
0020 V6 = DO_UCALL
0021 T5 = JMP_SET V6 0023
0022 T5 = QM_ASSIGN null
0023 T4 = ADD_ARRAY_ELEMENT T5 string("url")
0024 T4 = ADD_ARRAY_ELEMENT CV1($catcher) string("caught_by")
0025 CV2($data) = QM_ASSIGN T4
0026 T4 = INSTANCEOF CV0($e) string("ErrorException")
0027 JMPZ T4 0037
0028 INIT_FCALL 0 80 string("error_reporting")
0029 V6 = DO_ICALL
0030 INIT_METHOD_CALL 0 CV0($e) string("getSeverity")
0031 V7 = DO_FCALL
0032 T5 = BW_AND V6 V7
0033 T4 = IS_IDENTICAL T5 int(0)
0034 JMPZ T4 0037
0035 ASSIGN_DIM CV2($data) string("suppressed")
0036 OP_DATA bool(true)
0037 T4 = FETCH_STATIC_PROP_R string("logExceptionBacktrace") (self) (exception)
0038 JMPZ T4 0044
0039 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("getRedactedTrace")
0040 SEND_VAR CV0($e) 1
0041 V4 = DO_UCALL
0042 ASSIGN_DIM CV2($data) string("backtrace")
0043 OP_DATA V4
0044 INIT_METHOD_CALL 0 CV0($e) string("getPrevious")
0045 V4 = DO_FCALL
0046 CV3($previous) = QM_ASSIGN V4
0047 T4 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] CV3($previous)
0048 JMPZ T4 0055
0049 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("getStructuredExceptionData")
0050 SEND_VAR CV3($previous) 1
0051 SEND_VAR CV1($catcher) 2
0052 V4 = DO_UCALL
0053 ASSIGN_DIM CV2($data) string("previous")
0054 OP_DATA V4
0055 RETURN CV2($data)
LIVE RANGES:
4: 0005 - 0025 (tmp/var)
MWExceptionHandler::jsonSerializeException:
; (lines=14, args=4, vars=4, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionHandler.php:704-715
0000 CV0($e) = RECV 1
0001 CV1($pretty) = RECV_INIT 2 bool(false)
0002 CV2($escaping) = RECV_INIT 3 int(0)
0003 CV3($catcher) = RECV_INIT 4 zval(type=11)
0004 INIT_STATIC_METHOD_CALL 3 string("FormatJson") string("encode")
0005 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("getStructuredExceptionData")
0006 SEND_VAR CV0($e) 1
0007 SEND_VAR CV3($catcher) 2
0008 V4 = DO_UCALL
0009 SEND_VAR_NO_REF_EX V4 1
0010 SEND_VAR_EX CV1($pretty) 2
0011 SEND_VAR_EX CV2($escaping) 3
0012 V4 = DO_FCALL
0013 RETURN V4
MWExceptionHandler::logException:
; (lines=57, args=3, vars=6, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionHandler.php:728-752
0000 CV0($e) = RECV 1
0001 CV1($catcher) = RECV_INIT 2 zval(type=11)
0002 CV2($extraData) = RECV_INIT 3 array(...)
0003 T6 = INSTANCEOF CV0($e) string("MWException")
0004 JMPZ T6 0008
0005 INIT_METHOD_CALL 0 CV0($e) string("isLoggable")
0006 V6 = DO_FCALL
0007 JMPZ V6 0056
0008 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\Logger\\LoggerFactory") string("getInstance")
0009 SEND_VAL_EX string("exception") 1
0010 V6 = DO_FCALL
0011 CV3($logger) = QM_ASSIGN V6
0012 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("getLogContext")
0013 SEND_VAR CV0($e) 1
0014 SEND_VAR CV1($catcher) 2
0015 V6 = DO_UCALL
0016 CV4($context) = QM_ASSIGN V6
0017 JMPZ CV2($extraData) 0020
0018 ASSIGN_DIM CV4($context) string("extraData")
0019 OP_DATA CV2($extraData)
0020 INIT_METHOD_CALL 2 CV3($logger) string("error")
0021 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("getLogNormalMessage")
0022 SEND_VAR CV0($e) 1
0023 V6 = DO_UCALL
0024 SEND_VAR_NO_REF_EX V6 1
0025 SEND_VAR_EX CV4($context) 2
0026 DO_FCALL
0027 INIT_STATIC_METHOD_CALL 4 (self) (exception) string("jsonSerializeException")
0028 SEND_VAR CV0($e) 1
0029 SEND_VAL bool(false) 2
0030 T6 = FETCH_CLASS_CONSTANT string("FormatJson") string("ALL_OK")
0031 SEND_VAL T6 3
0032 SEND_VAR CV1($catcher) 4
0033 V6 = DO_UCALL
0034 CV5($json) = QM_ASSIGN V6
0035 T6 = TYPE_CHECK TYPE [null, true, long, double, string, array, object, resource] CV5($json)
0036 JMPZ T6 0045
0037 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\Logger\\LoggerFactory") string("getInstance")
0038 SEND_VAL_EX string("exception-json") 1
0039 V6 = DO_FCALL
0040 ASSIGN CV3($logger) V6
0041 INIT_METHOD_CALL 2 CV3($logger) string("error")
0042 SEND_VAR_EX CV5($json) 1
0043 SEND_VAL_EX array(...) 2
0044 DO_FCALL
0045 V6 = NEW 1 string("MediaWiki\\HookContainer\\HookRunner")
0046 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("getInstance")
0047 V7 = DO_FCALL
0048 INIT_METHOD_CALL 0 V7 string("getHookContainer")
0049 V7 = DO_FCALL
0050 SEND_VAR_NO_REF_EX V7 1
0051 DO_FCALL
0052 INIT_METHOD_CALL 2 V6 string("onLogException")
0053 SEND_VAR_EX CV0($e) 1
0054 SEND_VAL_EX bool(false) 2
0055 DO_FCALL
0056 RETURN null
LIVE RANGES:
6: 0046 - 0052 (new)
MWExceptionHandler::logError:
; (lines=62, args=3, vars=7, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/exception/MWExceptionHandler.php:761-794
0000 CV0($e) = RECV 1
0001 CV1($level) = RECV 2
0002 CV2($catcher) = RECV 3
0003 INIT_FCALL 0 80 string("error_reporting")
0004 V8 = DO_ICALL
0005 INIT_METHOD_CALL 0 CV0($e) string("getSeverity")
0006 V9 = DO_FCALL
0007 T7 = BW_AND V8 V9
0008 CV3($suppressed) = IS_IDENTICAL T7 int(0)
0009 JMPZ CV3($suppressed) 0014
0010 CV4($channel) = QM_ASSIGN string("silenced-error")
0011 T7 = FETCH_CLASS_CONSTANT string("Psr\\Log\\LogLevel") string("DEBUG")
0012 ASSIGN CV1($level) T7
0013 JMP 0015
0014 CV4($channel) = QM_ASSIGN string("error")
0015 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\Logger\\LoggerFactory") string("getInstance")
0016 SEND_VAR_EX CV4($channel) 1
0017 V7 = DO_FCALL
0018 CV5($logger) = QM_ASSIGN V7
0019 INIT_METHOD_CALL 3 CV5($logger) string("log")
0020 SEND_VAR_EX CV1($level) 1
0021 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("getLogNormalMessage")
0022 SEND_VAR CV0($e) 1
0023 V7 = DO_UCALL
0024 SEND_VAR_NO_REF_EX V7 2
0025 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("getLogContext")
0026 SEND_VAR CV0($e) 1
0027 SEND_VAR CV2($catcher) 2
0028 V7 = DO_UCALL
0029 SEND_VAR_NO_REF_EX V7 3
0030 DO_FCALL
0031 INIT_STATIC_METHOD_CALL 4 (self) (exception) string("jsonSerializeException")
0032 SEND_VAR CV0($e) 1
0033 SEND_VAL bool(false) 2
0034 T7 = FETCH_CLASS_CONSTANT string("FormatJson") string("ALL_OK")
0035 SEND_VAL T7 3
0036 SEND_VAR CV2($catcher) 4
0037 V7 = DO_UCALL
0038 CV6($json) = QM_ASSIGN V7
0039 T7 = TYPE_CHECK TYPE [null, true, long, double, string, array, object, resource] CV6($json)
0040 JMPZ T7 0050
0041 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\Logger\\LoggerFactory") string("getInstance")
0042 SEND_VAL_EX string("error-json") 1
0043 V7 = DO_FCALL
0044 ASSIGN CV5($logger) V7
0045 INIT_METHOD_CALL 3 CV5($logger) string("log")
0046 SEND_VAR_EX CV1($level) 1
0047 SEND_VAR_EX CV6($json) 2
0048 SEND_VAL_EX array(...) 3
0049 DO_FCALL
0050 V7 = NEW 1 string("MediaWiki\\HookContainer\\HookRunner")
0051 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\MediaWikiServices") string("getInstance")
0052 V8 = DO_FCALL
0053 INIT_METHOD_CALL 0 V8 string("getHookContainer")
0054 V8 = DO_FCALL
0055 SEND_VAR_NO_REF_EX V8 1
0056 DO_FCALL
0057 INIT_METHOD_CALL 2 V7 string("onLogException")
0058 SEND_VAR_EX CV0($e) 1
0059 SEND_VAR_EX CV3($suppressed) 2
0060 DO_FCALL
0061 RETURN null
LIVE RANGES:
7: 0051 - 0057 (new)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/profiler/Profiler.php:1-324
0000 RETURN int(1)
Profiler::__construct:
; (lines=18, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/profiler/Profiler.php:55-62
0000 CV0($params) = RECV 1
0001 T1 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($params) string("profileID")
0002 JMPZ T1 0006
0003 T1 = FETCH_DIM_R CV0($params) string("profileID")
0004 ASSIGN_OBJ THIS string("profileID")
0005 OP_DATA T1
0006 ASSIGN_OBJ THIS string("params")
0007 OP_DATA CV0($params)
0008 V1 = NEW 0 string("Wikimedia\\Rdbms\\TransactionProfiler")
0009 DO_FCALL
0010 ASSIGN_OBJ THIS string("trxProfiler")
0011 OP_DATA V1
0012 INIT_STATIC_METHOD_CALL 1 string("MediaWiki\\Logger\\LoggerFactory") string("getInstance")
0013 SEND_VAL_EX string("profiler") 1
0014 V1 = DO_FCALL
0015 ASSIGN_OBJ THIS string("logger")
0016 OP_DATA V1
0017 RETURN null
LIVE RANGES:
1: 0009 - 0010 (new)
Profiler::init:
; (lines=32, args=1, vars=3, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/profiler/Profiler.php:68-100
0000 CV0($profilerConf) = RECV 1
0001 CV1($params) = ADD CV0($profilerConf) array(...)
0002 T4 = FETCH_DIM_R CV1($params) string("sampling")
0003 T3 = IS_IDENTICAL T4 int(1)
0004 T3 = JMPNZ_EX T3 0012
0005 INIT_FCALL 2 112 string("mt_rand")
0006 SEND_VAL int(0) 1
0007 T5 = FETCH_DIM_R CV1($params) string("sampling")
0008 T4 = SUB T5 int(1)
0009 SEND_VAL T4 2
0010 V4 = DO_ICALL
0011 T3 = IS_IDENTICAL V4 int(0)
0012 CV2($inSample) = QM_ASSIGN T3
0013 JMPZ CV2($inSample) 0015
0014 JMP 0017
0015 ASSIGN_DIM CV1($params) string("class")
0016 OP_DATA string("ProfilerStub")
0017 T4 = FETCH_DIM_R CV1($params) string("output")
0018 T3 = TYPE_CHECK (array) T4
0019 JMPNZ T3 0024
0020 T4 = FETCH_DIM_R CV1($params) string("output")
0021 T3 = INIT_ARRAY 1 (packed) T4 NEXT
0022 ASSIGN_DIM CV1($params) string("output")
0023 OP_DATA T3
0024 T3 = FETCH_DIM_R CV1($params) string("class")
0025 V4 = FETCH_CLASS (exception) T3
0026 V3 = NEW 1 V4
0027 SEND_VAR_EX CV1($params) 1
0028 DO_FCALL
0029 ASSIGN_STATIC_PROP string("instance")
0030 OP_DATA V3
0031 RETURN null
LIVE RANGES:
3: 0027 - 0029 (new)
Profiler::instance:
; (lines=11, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/profiler/Profiler.php:105-112
0000 T0 = FETCH_STATIC_PROP_R string("instance") (self) (exception)
0001 JMPNZ T0 0009
0002 INIT_FCALL 2 112 string("trigger_error")
0003 SEND_VAL string("Called Profiler::instance before settings are loaded") 1
0004 SEND_VAL int(512) 2
0005 DO_ICALL
0006 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("init")
0007 SEND_VAL array(...) 1
0008 DO_UCALL
0009 T0 = FETCH_STATIC_PROP_R string("instance") (self) (exception)
0010 RETURN T0
Profiler::setProfileID:
; (lines=8, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/profiler/Profiler.php:118-121
0000 CV0($id) = RECV 1
0001 INIT_FCALL_BY_NAME 2 string("wfDeprecated")
0002 SEND_VAL_EX string("Profiler::setProfileID") 1
0003 SEND_VAL_EX string("1.41") 2
0004 DO_FCALL_BY_NAME
0005 ASSIGN_OBJ THIS string("profileID")
0006 OP_DATA CV0($id)
0007 RETURN null
Profiler::getProfileID:
; (lines=10, args=0, vars=0, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/profiler/Profiler.php:126-132
0000 T1 = FETCH_OBJ_R THIS string("profileID")
0001 T0 = TYPE_CHECK (false) T1
0002 JMPZ T0 0008
0003 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\WikiMap\\WikiMap") string("getCurrentWikiDbDomain")
0004 V0 = DO_FCALL
0005 INIT_METHOD_CALL 0 V0 string("getId")
0006 V0 = DO_FCALL
0007 RETURN V0
0008 T0 = FETCH_OBJ_R THIS string("profileID")
0009 RETURN T0
Profiler::scopedProfileOut:
; (lines=3, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/profiler/Profiler.php:147-149
0000 CV0($section) = RECV_INIT 1 null
0001 ASSIGN CV0($section) null
0002 RETURN null
Profiler::getTransactionProfiler:
; (lines=2, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/profiler/Profiler.php:155-157
0000 T0 = FETCH_OBJ_R THIS string("trxProfiler")
0001 RETURN T0
Profiler::getOutputs:
; (lines=41, args=0, vars=4, tmps=5)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/profiler/Profiler.php:170-188
0000 CV0($outputs) = QM_ASSIGN array(...)
0001 T4 = FETCH_OBJ_R THIS string("params")
0002 T5 = FETCH_DIM_R T4 string("output")
0003 V4 = FE_RESET_R T5 0039
0004 FE_FETCH_R V4 CV1($outputType) 0039
0005 T6 = FRAMELESS_ICALL_2(strpos) CV1($outputType) string("ProfilerOutput")
0006 T5 = TYPE_CHECK (false) T6
0007 JMPZ T5 0013
0008 INIT_FCALL 1 96 string("ucfirst")
0009 SEND_VAR CV1($outputType) 1
0010 V6 = DO_ICALL
0011 T5 = FAST_CONCAT string("ProfilerOutput") V6
0012 JMP 0014
0013 T5 = QM_ASSIGN CV1($outputType)
0014 ASSIGN CV2($outputClass) T5
0015 T5 = FRAMELESS_ICALL_1(class_exists) CV2($outputClass)
0016 JMPNZ T5 0024
0017 V5 = NEW 1 string("UnexpectedValueException")
0018 T7 = ROPE_INIT 3 string("'")
0019 T7 = ROPE_ADD 1 T7 CV1($outputType)
0020 T6 = ROPE_END 2 T7 string("' is an invalid output type")
0021 SEND_VAL_EX T6 1
0022 DO_FCALL
0023 THROW V5
0024 V6 = FETCH_CLASS (exception) CV2($outputClass)
0025 V5 = NEW 2 V6
0026 V6 = FETCH_THIS
0027 SEND_VAR_EX V6 1
0028 CHECK_FUNC_ARG 2
0029 V6 = FETCH_OBJ_FUNC_ARG (ref) THIS string("params")
0030 SEND_FUNC_ARG V6 2
0031 DO_FCALL
0032 ASSIGN CV3($outputInstance) V5
0033 INIT_METHOD_CALL 0 CV3($outputInstance) string("canUse")
0034 V5 = DO_FCALL
0035 JMPZ V5 0004
0036 ASSIGN_DIM CV0($outputs) NEXT
0037 OP_DATA CV3($outputInstance)
0038 JMP 0004
0039 FE_FREE V4
0040 RETURN CV0($outputs)
LIVE RANGES:
4: 0004 - 0039 (loop)
5: 0018 - 0023 (new)
7: 0018 - 0020 (rope)
5: 0026 - 0032 (new)
Profiler::logData:
; (lines=39, args=0, vars=4, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/profiler/Profiler.php:198-220
0000 T4 = FETCH_OBJ_R THIS string("params")
0001 T5 = FETCH_DIM_R T4 string("threshold")
0002 T4 = IS_SMALLER float(0) T5
0003 JMPZ T4 0015
0004 INIT_FCALL 1 96 string("microtime")
0005 SEND_VAL bool(true) 1
0006 V4 = DO_ICALL
0007 T6 = FETCH_R (global) string("_SERVER")
0008 T5 = FETCH_DIM_R T6 string("REQUEST_TIME_FLOAT")
0009 CV0($timeElapsed) = SUB V4 T5
0010 T4 = FETCH_OBJ_R THIS string("params")
0011 T5 = FETCH_DIM_R T4 string("threshold")
0012 T4 = IS_SMALLER_OR_EQUAL CV0($timeElapsed) T5
0013 JMPZ T4 0015
0014 RETURN null
0015 CV1($outputs) = QM_ASSIGN array(...)
0016 INIT_METHOD_CALL 0 THIS string("getOutputs")
0017 V5 = DO_UCALL
0018 V4 = FE_RESET_R V5 0026
0019 FE_FETCH_R V4 CV2($output) 0026
0020 INIT_METHOD_CALL 0 CV2($output) string("logsToOutput")
0021 V5 = DO_FCALL
0022 JMPNZ V5 0019
0023 ASSIGN_DIM CV1($outputs) NEXT
0024 OP_DATA CV2($output)
0025 JMP 0019
0026 FE_FREE V4
0027 JMPZ CV1($outputs) 0038
0028 INIT_METHOD_CALL 0 THIS string("getFunctionStats")
0029 V4 = DO_FCALL
0030 CV3($stats) = QM_ASSIGN V4
0031 V4 = FE_RESET_R CV1($outputs) 0037
0032 FE_FETCH_R V4 CV2($output) 0037
0033 INIT_METHOD_CALL 1 CV2($output) string("log")
0034 SEND_VAR_EX CV3($stats) 1
0035 DO_FCALL
0036 JMP 0032
0037 FE_FREE V4
0038 RETURN null
LIVE RANGES:
4: 0007 - 0009 (tmp/var)
4: 0019 - 0026 (loop)
4: 0032 - 0037 (loop)
Profiler::logDataPageOutputOnly:
; (lines=27, args=0, vars=3, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/profiler/Profiler.php:227-245
0000 T3 = FETCH_OBJ_R THIS string("allowOutput")
0001 JMPNZ T3 0003
0002 RETURN null
0003 CV0($outputs) = QM_ASSIGN array(...)
0004 INIT_METHOD_CALL 0 THIS string("getOutputs")
0005 V4 = DO_UCALL
0006 V3 = FE_RESET_R V4 0014
0007 FE_FETCH_R V3 CV1($output) 0014
0008 INIT_METHOD_CALL 0 CV1($output) string("logsToOutput")
0009 V4 = DO_FCALL
0010 JMPZ V4 0007
0011 ASSIGN_DIM CV0($outputs) NEXT
0012 OP_DATA CV1($output)
0013 JMP 0007
0014 FE_FREE V3
0015 JMPZ CV0($outputs) 0026
0016 INIT_METHOD_CALL 0 THIS string("getFunctionStats")
0017 V3 = DO_FCALL
0018 CV2($stats) = QM_ASSIGN V3
0019 V3 = FE_RESET_R CV0($outputs) 0025
0020 FE_FETCH_R V3 CV1($output) 0025
0021 INIT_METHOD_CALL 1 CV1($output) string("log")
0022 SEND_VAR_EX CV2($stats) 1
0023 DO_FCALL
0024 JMP 0020
0025 FE_FREE V3
0026 RETURN null
LIVE RANGES:
3: 0007 - 0014 (loop)
3: 0020 - 0025 (loop)
Profiler::getContentType:
; (lines=17, args=0, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/profiler/Profiler.php:256-265
0000 T2 = FETCH_OBJ_R THIS string("allowOutput")
0001 JMPZ T2 0016
0002 INIT_FCALL 0 80 string("headers_list")
0003 V3 = DO_ICALL
0004 V2 = FE_RESET_R V3 0015
0005 FE_FETCH_R V2 CV0($header) 0015
0006 INIT_FCALL 3 128 string("preg_match")
0007 SEND_VAL string("#^content-type: (\\w+/\\w+);?#i") 1
0008 SEND_VAR CV0($header) 2
0009 SEND_REF CV1($m) 3
0010 V3 = DO_ICALL
0011 JMPZ V3 0005
0012 T3 = FETCH_DIM_R CV1($m) int(1)
0013 FE_FREE V2
0014 RETURN T3
0015 FE_FREE V2
0016 RETURN null
LIVE RANGES:
2: 0005 - 0015 (loop)
3: 0013 - 0014 (tmp/var)
Profiler::setAllowOutput:
; (lines=3, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/profiler/Profiler.php:272-274
0000 ASSIGN_OBJ THIS string("allowOutput")
0001 OP_DATA bool(true)
0002 RETURN null
Profiler::getAllowOutput:
; (lines=6, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/profiler/Profiler.php:284-287
0000 INIT_FCALL_BY_NAME 2 string("wfDeprecated")
0001 SEND_VAL_EX string("Profiler::getAllowOutput") 1
0002 SEND_VAL_EX string("1.41") 2
0003 DO_FCALL_BY_NAME
0004 T0 = FETCH_OBJ_R THIS string("allowOutput")
0005 RETURN T0
$_main:
; (lines=2, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/profiler/ProfilerStub.php:1-48
0000 DECLARE_CLASS_DELAYED string("profilerstub") string("profiler")
0001 RETURN int(1)
ProfilerStub::scopedProfileIn:
; (lines=2, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/profiler/ProfilerStub.php:27-29
0000 CV0($section) = RECV 1
0001 RETURN null
ProfilerStub::getFunctionStats:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/profiler/ProfilerStub.php:31-33
0000 RETURN array(...)
ProfilerStub::getOutput:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/profiler/ProfilerStub.php:35-37
0000 RETURN string("")
ProfilerStub::close:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/profiler/ProfilerStub.php:39-40
0000 RETURN null
ProfilerStub::logData:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/profiler/ProfilerStub.php:42-43
0000 RETURN null
ProfilerStub::logDataPageOutputOnly:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/profiler/ProfilerStub.php:45-46
0000 RETURN null
$_main:
; (lines=2, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/TransactionProfiler.php:1-572
0000 DECLARE_CLASS string("wikimedia\\rdbms\\transactionprofiler")
0001 RETURN int(1)
Wikimedia\Rdbms\TransactionProfiler::__construct:
; (lines=23, args=0, vars=0, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/TransactionProfiler.php:108-118
0000 INIT_METHOD_CALL 0 THIS string("initPlaceholderExpectations")
0001 DO_FCALL
0002 ASSIGN_OBJ THIS string("dbTrxHoldingLocks")
0003 OP_DATA array(...)
0004 ASSIGN_OBJ THIS string("dbTrxMethodTimes")
0005 OP_DATA array(...)
0006 INIT_NS_FCALL_BY_NAME 2 string("Wikimedia\\Rdbms\\array_fill_keys")
0007 SEND_VAL_EX array(...) 1
0008 SEND_VAL_EX int(0) 2
0009 V0 = DO_FCALL_BY_NAME
0010 ASSIGN_OBJ THIS string("silenced")
0011 OP_DATA V0
0012 INIT_METHOD_CALL 1 THIS string("setLogger")
0013 V0 = NEW 0 string("Psr\\Log\\NullLogger")
0014 DO_FCALL
0015 SEND_VAR V0 1
0016 DO_FCALL
0017 INIT_METHOD_CALL 1 THIS string("setStatsdDataFactory")
0018 V0 = NEW 0 string("NullStatsdDataFactory")
0019 DO_FCALL
0020 SEND_VAR V0 1
0021 DO_FCALL
0022 RETURN null
LIVE RANGES:
0: 0014 - 0015 (new)
0: 0019 - 0020 (new)
Wikimedia\Rdbms\TransactionProfiler::setLogger:
; (lines=4, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/TransactionProfiler.php:120-122
0000 CV0($logger) = RECV 1
0001 ASSIGN_OBJ THIS string("logger")
0002 OP_DATA CV0($logger)
0003 RETURN null
Wikimedia\Rdbms\TransactionProfiler::setStatsdDataFactory:
; (lines=4, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/TransactionProfiler.php:124-126
0000 CV0($statsFactory) = RECV 1
0001 ASSIGN_OBJ THIS string("stats")
0002 OP_DATA CV0($statsFactory)
0003 RETURN null
Wikimedia\Rdbms\TransactionProfiler::setRequestMethod:
; (lines=4, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/TransactionProfiler.php:132-134
0000 CV0($method) = RECV 1
0001 ASSIGN_OBJ THIS string("method")
0002 OP_DATA CV0($method)
0003 RETURN null
Wikimedia\Rdbms\TransactionProfiler::silenceForScope:
; (lines=30, args=1, vars=3, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/TransactionProfiler.php:149-170
0000 CV0($type) = RECV_INIT 1 zval(type=11)
0001 T3 = IS_IDENTICAL CV0($type) string("replicas-only")
0002 JMPZ T3 0016
0003 CV1($events) = QM_ASSIGN array(...)
0004 V3 = FE_RESET_R array(...) 0014
0005 FE_FETCH_R V3 CV2($event) 0014
0006 T5 = FETCH_OBJ_R THIS string("expect")
0007 T4 = FETCH_DIM_R T5 CV2($event)
0008 T5 = FETCH_DIM_R T4 int(0)
0009 T4 = IS_IDENTICAL T5 int(0)
0010 JMPZ T4 0005
0011 ASSIGN_DIM CV1($events) NEXT
0012 OP_DATA CV2($event)
0013 JMP 0005
0014 FE_FREE V3
0015 JMP 0017
0016 CV1($events) = QM_ASSIGN array(...)
0017 V3 = FE_RESET_R CV1($events) 0023
0018 FE_FETCH_R V3 CV2($event) 0023
0019 V5 = FETCH_OBJ_RW THIS string("silenced")
0020 V4 = FETCH_DIM_RW V5 CV2($event)
0021 PRE_INC V4
0022 JMP 0018
0023 FE_FREE V3
0024 V3 = NEW 1 string("Wikimedia\\ScopedCallback")
0025 T4 = DECLARE_LAMBDA_FUNCTION 0
0026 BIND_LEXICAL T4 CV1($events)
0027 SEND_VAL_EX T4 1
0028 DO_FCALL
0029 RETURN V3
LIVE RANGES:
3: 0005 - 0014 (loop)
3: 0018 - 0023 (loop)
3: 0025 - 0029 (new)
4: 0026 - 0027 (tmp/var)
{closure:Wikimedia\Rdbms\TransactionProfiler::silenceForScope():165}:
; (lines=9, args=0, vars=2, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/TransactionProfiler.php:165-169
0000 BIND_STATIC CV0($events)
0001 V2 = FE_RESET_R CV0($events) 0007
0002 FE_FETCH_R V2 CV1($event) 0007
0003 V4 = FETCH_OBJ_RW THIS string("silenced")
0004 V3 = FETCH_DIM_RW V4 CV1($event)
0005 PRE_DEC V3
0006 JMP 0002
0007 FE_FREE V2
0008 RETURN null
LIVE RANGES:
2: 0002 - 0007 (loop)
Wikimedia\Rdbms\TransactionProfiler::setExpectation:
; (lines=18, args=3, vars=3, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/TransactionProfiler.php:182-194
0000 CV0($event) = RECV 1
0001 CV1($limit) = RECV 2
0002 CV2($fname) = RECV 3
0003 T4 = FETCH_OBJ_IS THIS string("expect")
0004 T3 = ISSET_ISEMPTY_DIM_OBJ (isset) T4 CV0($event)
0005 JMPNZ T3 0007
0006 RETURN null
0007 T4 = FETCH_OBJ_R THIS string("expect")
0008 T3 = FETCH_DIM_R T4 CV0($event)
0009 T4 = FETCH_DIM_R T3 int(0)
0010 T3 = IS_SMALLER_OR_EQUAL CV1($limit) T4
0011 JMPZ T3 0017
0012 T3 = INIT_ARRAY 2 (packed) CV1($limit) int(0)
0013 T3 = ADD_ARRAY_ELEMENT CV2($fname) int(1)
0014 V4 = FETCH_OBJ_W (dim write) THIS string("expect")
0015 ASSIGN_DIM V4 CV0($event)
0016 OP_DATA T3
0017 RETURN null
LIVE RANGES:
3: 0013 - 0015 (tmp/var)
Wikimedia\Rdbms\TransactionProfiler::setExpectations:
; (lines=13, args=2, vars=4, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/TransactionProfiler.php:207-211
0000 CV0($expects) = RECV 1
0001 CV1($fname) = RECV 2
0002 V4 = FE_RESET_R CV0($expects) 0011
0003 T5 = FE_FETCH_R V4 CV2($value) 0011
0004 ASSIGN CV3($event) T5
0005 INIT_METHOD_CALL 3 THIS string("setExpectation")
0006 SEND_VAR CV3($event) 1
0007 SEND_VAR CV2($value) 2
0008 SEND_VAR CV1($fname) 3
0009 DO_FCALL
0010 JMP 0003
0011 FE_FREE V4
0012 RETURN null
LIVE RANGES:
4: 0003 - 0011 (loop)
Wikimedia\Rdbms\TransactionProfiler::resetExpectations:
; (lines=3, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/TransactionProfiler.php:222-224
0000 INIT_METHOD_CALL 0 THIS string("initPlaceholderExpectations")
0001 DO_FCALL
0002 RETURN null
Wikimedia\Rdbms\TransactionProfiler::redefineExpectations:
; (lines=9, args=2, vars=2, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/TransactionProfiler.php:236-239
0000 CV0($expects) = RECV 1
0001 CV1($fname) = RECV 2
0002 INIT_METHOD_CALL 0 THIS string("initPlaceholderExpectations")
0003 DO_FCALL
0004 INIT_METHOD_CALL 2 THIS string("setExpectations")
0005 SEND_VAR CV0($expects) 1
0006 SEND_VAR CV1($fname) 2
0007 DO_FCALL
0008 RETURN null
Wikimedia\Rdbms\TransactionProfiler::recordConnection:
; (lines=37, args=3, vars=3, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/TransactionProfiler.php:250-268
0000 CV0($server) = RECV 1
0001 CV1($db) = RECV 2
0002 CV2($isPrimary) = RECV 3
0003 INIT_METHOD_CALL 1 THIS string("pingAndCheckThreshold")
0004 SEND_VAL string("conns") 1
0005 V3 = DO_FCALL
0006 JMPZ V3 0019
0007 INIT_METHOD_CALL 3 THIS string("reportExpectationViolated")
0008 SEND_VAL string("conns") 1
0009 T4 = ROPE_INIT 5 string("[connect to ")
0010 T4 = ROPE_ADD 1 T4 CV0($server)
0011 T4 = ROPE_ADD 2 T4 string(" (")
0012 T4 = ROPE_ADD 3 T4 CV1($db)
0013 T3 = ROPE_END 4 T4 string(")]")
0014 SEND_VAL T3 2
0015 V4 = FETCH_OBJ_R THIS string("hits")
0016 V3 = FETCH_DIM_R V4 string("conns")
0017 SEND_VAR V3 3
0018 DO_FCALL
0019 JMPZ CV2($isPrimary) 0036
0020 INIT_METHOD_CALL 1 THIS string("pingAndCheckThreshold")
0021 SEND_VAL string("masterConns") 1
0022 V3 = DO_FCALL
0023 JMPZ V3 0036
0024 INIT_METHOD_CALL 3 THIS string("reportExpectationViolated")
0025 SEND_VAL string("masterConns") 1
0026 T4 = ROPE_INIT 5 string("[connect to ")
0027 T4 = ROPE_ADD 1 T4 CV0($server)
0028 T4 = ROPE_ADD 2 T4 string(" (")
0029 T4 = ROPE_ADD 3 T4 CV1($db)
0030 T3 = ROPE_END 4 T4 string(")]")
0031 SEND_VAL T3 2
0032 V4 = FETCH_OBJ_R THIS string("hits")
0033 V3 = FETCH_DIM_R V4 string("masterConns")
0034 SEND_VAR V3 3
0035 DO_FCALL
0036 RETURN null
LIVE RANGES:
4: 0009 - 0013 (rope)
4: 0026 - 0030 (rope)
Wikimedia\Rdbms\TransactionProfiler::transactionWritingIn:
; (lines=38, args=3, vars=5, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/TransactionProfiler.php:279-294
0000 CV0($server) = RECV 1
0001 CV1($db) = RECV 2
0002 CV2($id) = RECV 3
0003 T5 = ROPE_INIT 5 CV1($db)
0004 T5 = ROPE_ADD 1 T5 string(" ")
0005 T5 = ROPE_ADD 2 T5 CV0($server)
0006 T5 = ROPE_ADD 3 T5 string(" TRX#")
0007 CV3($name) = ROPE_END 4 T5 CV2($id)
0008 T6 = FETCH_OBJ_IS THIS string("dbTrxHoldingLocks")
0009 T5 = ISSET_ISEMPTY_DIM_OBJ (isset) T6 CV3($name)
0010 JMPZ T5 0018
0011 T5 = FETCH_OBJ_R THIS string("logger")
0012 INIT_METHOD_CALL 1 T5 string("warning")
0013 T6 = ROPE_INIT 3 string("Nested transaction for '")
0014 T6 = ROPE_ADD 1 T6 CV3($name)
0015 T5 = ROPE_END 2 T6 string("' - out of sync.")
0016 SEND_VAL_EX T5 1
0017 DO_FCALL
0018 INIT_METHOD_CALL 0 THIS string("getCurrentTime")
0019 V6 = DO_FCALL
0020 T5 = INIT_ARRAY 2 V6 string("start")
0021 T5 = ADD_ARRAY_ELEMENT array(...) string("conns")
0022 V6 = FETCH_OBJ_W (dim write) THIS string("dbTrxHoldingLocks")
0023 ASSIGN_DIM V6 CV3($name)
0024 OP_DATA T5
0025 V5 = FETCH_OBJ_W (dim write) THIS string("dbTrxMethodTimes")
0026 ASSIGN_DIM V5 CV3($name)
0027 OP_DATA array(...)
0028 V6 = FETCH_OBJ_W (ref) THIS string("dbTrxHoldingLocks")
0029 V5 = FE_RESET_RW V6 0036
0030 T6 = FE_FETCH_RW V5 CV4($info) 0036
0031 ASSIGN CV3($name) T6
0032 V6 = FETCH_DIM_W CV4($info) string("conns")
0033 ASSIGN_DIM V6 CV3($name)
0034 OP_DATA int(1)
0035 JMP 0030
0036 FE_FREE V5
0037 RETURN null
LIVE RANGES:
5: 0003 - 0007 (rope)
6: 0013 - 0015 (rope)
5: 0021 - 0023 (tmp/var)
5: 0030 - 0036 (loop)
Wikimedia\Rdbms\TransactionProfiler::recordQueryCompletion:
; (lines=144, args=6, vars=12, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/TransactionProfiler.php:308-367
0000 CV0($query) = RECV 1
0001 CV1($sTime) = RECV 2
0002 CV2($isWrite) = RECV 3
0003 CV3($rowCount) = RECV 4
0004 CV4($trxId) = RECV 5
0005 CV5($serverName) = RECV_INIT 6 null
0006 INIT_METHOD_CALL 0 THIS string("getCurrentTime")
0007 V12 = DO_FCALL
0008 CV6($eTime) = QM_ASSIGN V12
0009 CV7($elapsed) = SUB CV6($eTime) CV1($sTime)
0010 JMPZ CV2($isWrite) 0025
0011 INIT_METHOD_CALL 2 THIS string("isAboveThreshold")
0012 SEND_VAR CV3($rowCount) 1
0013 SEND_VAL string("maxAffected") 2
0014 V12 = DO_FCALL
0015 JMPZ V12 0024
0016 INIT_METHOD_CALL 5 THIS string("reportExpectationViolated")
0017 SEND_VAL string("maxAffected") 1
0018 SEND_VAR CV0($query) 2
0019 SEND_VAR CV3($rowCount) 3
0020 SEND_VAR CV4($trxId) 4
0021 SEND_VAR CV5($serverName) 5
0022 DO_FCALL
0023 JMP 0037
0024 JMPNZ CV2($isWrite) 0037
0025 INIT_METHOD_CALL 2 THIS string("isAboveThreshold")
0026 SEND_VAR CV3($rowCount) 1
0027 SEND_VAL string("readQueryRows") 2
0028 V12 = DO_FCALL
0029 JMPZ V12 0037
0030 INIT_METHOD_CALL 5 THIS string("reportExpectationViolated")
0031 SEND_VAL string("readQueryRows") 1
0032 SEND_VAR CV0($query) 2
0033 SEND_VAR CV3($rowCount) 3
0034 SEND_VAR CV4($trxId) 4
0035 SEND_VAR CV5($serverName) 5
0036 DO_FCALL
0037 INIT_METHOD_CALL 1 THIS string("pingAndCheckThreshold")
0038 SEND_VAL string("queries") 1
0039 V12 = DO_FCALL
0040 JMPZ V12 0050
0041 INIT_METHOD_CALL 5 THIS string("reportExpectationViolated")
0042 SEND_VAL string("queries") 1
0043 SEND_VAR CV0($query) 2
0044 V13 = FETCH_OBJ_R THIS string("hits")
0045 V12 = FETCH_DIM_R V13 string("queries")
0046 SEND_VAR V12 3
0047 SEND_VAR CV4($trxId) 4
0048 SEND_VAR CV5($serverName) 5
0049 DO_FCALL
0050 JMPZ CV2($isWrite) 0065
0051 INIT_METHOD_CALL 1 THIS string("pingAndCheckThreshold")
0052 SEND_VAL string("writes") 1
0053 V12 = DO_FCALL
0054 JMPZ V12 0064
0055 INIT_METHOD_CALL 5 THIS string("reportExpectationViolated")
0056 SEND_VAL string("writes") 1
0057 SEND_VAR CV0($query) 2
0058 V13 = FETCH_OBJ_R THIS string("hits")
0059 V12 = FETCH_DIM_R V13 string("writes")
0060 SEND_VAR V12 3
0061 SEND_VAR CV4($trxId) 4
0062 SEND_VAR CV5($serverName) 5
0063 DO_FCALL
0064 JMPNZ CV2($isWrite) 0078
0065 INIT_METHOD_CALL 2 THIS string("isAboveThreshold")
0066 SEND_VAR CV7($elapsed) 1
0067 SEND_VAL string("readQueryTime") 2
0068 V12 = DO_FCALL
0069 JMPZ V12 0077
0070 INIT_METHOD_CALL 5 THIS string("reportExpectationViolated")
0071 SEND_VAL string("readQueryTime") 1
0072 SEND_VAR CV0($query) 2
0073 SEND_VAR CV7($elapsed) 3
0074 SEND_VAR CV4($trxId) 4
0075 SEND_VAR CV5($serverName) 5
0076 DO_FCALL
0077 JMPZ CV2($isWrite) 0090
0078 INIT_METHOD_CALL 2 THIS string("isAboveThreshold")
0079 SEND_VAR CV7($elapsed) 1
0080 SEND_VAL string("writeQueryTime") 2
0081 V12 = DO_FCALL
0082 JMPZ V12 0090
0083 INIT_METHOD_CALL 5 THIS string("reportExpectationViolated")
0084 SEND_VAL string("writeQueryTime") 1
0085 SEND_VAR CV0($query) 2
0086 SEND_VAR CV7($elapsed) 3
0087 SEND_VAR CV4($trxId) 4
0088 SEND_VAR CV5($serverName) 5
0089 DO_FCALL
0090 T12 = FETCH_OBJ_R THIS string("dbTrxHoldingLocks")
0091 JMPNZ T12 0093
0092 RETURN null
0093 JMPNZ CV2($isWrite) 0097
0094 T12 = IS_SMALLER CV7($elapsed) float(0.25)
0095 JMPZ T12 0097
0096 RETURN null
0097 T13 = FETCH_OBJ_R THIS string("dbTrxHoldingLocks")
0098 V12 = FE_RESET_R T13 0142
0099 T13 = FE_FETCH_R V12 CV8($info) 0142
0100 ASSIGN CV9($name) T13
0101 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\Rdbms\\end")
0102 CHECK_FUNC_ARG 1
0103 V14 = FETCH_OBJ_FUNC_ARG THIS string("dbTrxMethodTimes")
0104 V13 = FETCH_DIM_FUNC_ARG V14 CV9($name)
0105 SEND_FUNC_ARG V13 1
0106 V13 = DO_FCALL_BY_NAME
0107 ASSIGN CV10($lastQuery) V13
0108 JMPZ CV10($lastQuery) 0131
0109 T13 = FETCH_DIM_R CV10($lastQuery) int(2)
0110 ASSIGN CV11($lastEnd) T13
0111 T13 = IS_SMALLER_OR_EQUAL CV11($lastEnd) CV1($sTime)
0112 JMPZ T13 0099
0113 T14 = SUB CV1($sTime) CV11($lastEnd)
0114 T13 = IS_SMALLER float(0.25) T14
0115 JMPZ T13 0123
0116 T13 = INIT_ARRAY 3 (packed) string("...delay...") NEXT
0117 T13 = ADD_ARRAY_ELEMENT CV11($lastEnd) NEXT
0118 T13 = ADD_ARRAY_ELEMENT CV1($sTime) NEXT
0119 V15 = FETCH_OBJ_W (dim write) THIS string("dbTrxMethodTimes")
0120 V14 = FETCH_DIM_W V15 CV9($name)
0121 ASSIGN_DIM V14 NEXT
0122 OP_DATA T13
0123 T13 = INIT_ARRAY 3 (packed) CV0($query) NEXT
0124 T13 = ADD_ARRAY_ELEMENT CV1($sTime) NEXT
0125 T13 = ADD_ARRAY_ELEMENT CV6($eTime) NEXT
0126 V15 = FETCH_OBJ_W (dim write) THIS string("dbTrxMethodTimes")
0127 V14 = FETCH_DIM_W V15 CV9($name)
0128 ASSIGN_DIM V14 NEXT
0129 OP_DATA T13
0130 JMP 0099
0131 T14 = FETCH_DIM_R CV8($info) string("start")
0132 T13 = IS_SMALLER_OR_EQUAL T14 CV1($sTime)
0133 JMPZ T13 0099
0134 T13 = INIT_ARRAY 3 (packed) CV0($query) NEXT
0135 T13 = ADD_ARRAY_ELEMENT CV1($sTime) NEXT
0136 T13 = ADD_ARRAY_ELEMENT CV6($eTime) NEXT
0137 V15 = FETCH_OBJ_W (dim write) THIS string("dbTrxMethodTimes")
0138 V14 = FETCH_DIM_W V15 CV9($name)
0139 ASSIGN_DIM V14 NEXT
0140 OP_DATA T13
0141 JMP 0099
0142 FE_FREE V12
0143 RETURN null
LIVE RANGES:
12: 0099 - 0142 (loop)
13: 0117 - 0121 (tmp/var)
13: 0124 - 0128 (tmp/var)
13: 0135 - 0139 (tmp/var)
Wikimedia\Rdbms\TransactionProfiler::transactionWritingOut:
; (lines=154, args=5, vars=17, tmps=6)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/TransactionProfiler.php:382-447
0000 CV0($server) = RECV 1
0001 CV1($db) = RECV 2
0002 CV2($id) = RECV 3
0003 CV3($writeTime) = RECV 4
0004 CV4($affected) = RECV 5
0005 T20 = ROPE_INIT 5 CV1($db)
0006 T20 = ROPE_ADD 1 T20 string(" ")
0007 T20 = ROPE_ADD 2 T20 CV0($server)
0008 T20 = ROPE_ADD 3 T20 string(" TRX#")
0009 CV5($name) = ROPE_END 4 T20 CV2($id)
0010 T18 = FETCH_OBJ_IS THIS string("dbTrxMethodTimes")
0011 T17 = ISSET_ISEMPTY_DIM_OBJ (isset) T18 CV5($name)
0012 JMPNZ T17 0021
0013 T17 = FETCH_OBJ_R THIS string("logger")
0014 INIT_METHOD_CALL 1 T17 string("warning")
0015 T20 = ROPE_INIT 3 string("Detected no transaction for '")
0016 T20 = ROPE_ADD 1 T20 CV5($name)
0017 T17 = ROPE_END 2 T20 string("' - out of sync.")
0018 SEND_VAL_EX T17 1
0019 DO_FCALL
0020 RETURN null
0021 CV6($slow) = QM_ASSIGN bool(false)
0022 INIT_METHOD_CALL 2 THIS string("isAboveThreshold")
0023 SEND_VAR CV3($writeTime) 1
0024 SEND_VAL string("writeQueryTime") 2
0025 V17 = DO_FCALL
0026 JMPZ V17 0039
0027 INIT_METHOD_CALL 4 THIS string("reportExpectationViolated")
0028 SEND_VAL string("writeQueryTime") 1
0029 T20 = ROPE_INIT 5 string("[transaction writes to ")
0030 T20 = ROPE_ADD 1 T20 CV1($db)
0031 T20 = ROPE_ADD 2 T20 string(" at ")
0032 T20 = ROPE_ADD 3 T20 CV0($server)
0033 T17 = ROPE_END 4 T20 string("]")
0034 SEND_VAL T17 2
0035 SEND_VAR CV3($writeTime) 3
0036 SEND_VAR CV2($id) 4
0037 DO_FCALL
0038 CV6($slow) = QM_ASSIGN bool(true)
0039 INIT_METHOD_CALL 2 THIS string("isAboveThreshold")
0040 SEND_VAR CV4($affected) 1
0041 SEND_VAL string("maxAffected") 2
0042 V17 = DO_FCALL
0043 JMPZ V17 0055
0044 INIT_METHOD_CALL 4 THIS string("reportExpectationViolated")
0045 SEND_VAL string("maxAffected") 1
0046 T20 = ROPE_INIT 5 string("[transaction writes to ")
0047 T20 = ROPE_ADD 1 T20 CV1($db)
0048 T20 = ROPE_ADD 2 T20 string(" at ")
0049 T20 = ROPE_ADD 3 T20 CV0($server)
0050 T17 = ROPE_END 4 T20 string("]")
0051 SEND_VAL T17 2
0052 SEND_VAR CV4($affected) 3
0053 SEND_VAR CV2($id) 4
0054 DO_FCALL
0055 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\Rdbms\\end")
0056 CHECK_FUNC_ARG 1
0057 V18 = FETCH_OBJ_FUNC_ARG THIS string("dbTrxMethodTimes")
0058 V17 = FETCH_DIM_FUNC_ARG V18 CV5($name)
0059 SEND_FUNC_ARG V17 1
0060 V17 = DO_FCALL_BY_NAME
0061 CV7($lastQuery) = QM_ASSIGN V17
0062 JMPZ CV7($lastQuery) 0077
0063 INIT_METHOD_CALL 0 THIS string("getCurrentTime")
0064 V17 = DO_FCALL
0065 CV8($now) = QM_ASSIGN V17
0066 CV9($lastEnd) = FETCH_DIM_R CV7($lastQuery) int(2)
0067 T18 = SUB CV8($now) CV9($lastEnd)
0068 T17 = IS_SMALLER float(0.25) T18
0069 JMPZ T17 0077
0070 T17 = INIT_ARRAY 3 (packed) string("...delay...") NEXT
0071 T17 = ADD_ARRAY_ELEMENT CV9($lastEnd) NEXT
0072 T17 = ADD_ARRAY_ELEMENT CV8($now) NEXT
0073 V20 = FETCH_OBJ_W (dim write) THIS string("dbTrxMethodTimes")
0074 V18 = FETCH_DIM_W V20 CV5($name)
0075 ASSIGN_DIM V18 NEXT
0076 OP_DATA T17
0077 T17 = FETCH_OBJ_R THIS string("dbTrxMethodTimes")
0078 T18 = FETCH_DIM_R T17 CV5($name)
0079 V17 = FE_RESET_R T18 0088
0080 FE_FETCH_R V17 CV10($info) 0088
0081 T20 = FETCH_DIM_R CV10($info) int(2)
0082 T21 = FETCH_DIM_R CV10($info) int(1)
0083 T18 = SUB T20 T21
0084 ASSIGN CV11($elapsed) T18
0085 T18 = IS_SMALLER_OR_EQUAL float(3) CV11($elapsed)
0086 JMPZ T18 0080
0087 CV6($slow) = QM_ASSIGN bool(true)
0088 FE_FREE V17
0089 JMPZ CV6($slow) 0149
0090 CV12($trace) = QM_ASSIGN string("")
0091 T17 = FETCH_OBJ_R THIS string("dbTrxMethodTimes")
0092 T18 = FETCH_DIM_R T17 CV5($name)
0093 V17 = FE_RESET_R T18 0115
0094 T18 = FE_FETCH_R V17 V19 0115
0095 V20 = FETCH_LIST_R V19 int(0)
0096 ASSIGN CV13($query) V20
0097 V20 = FETCH_LIST_R V19 int(1)
0098 ASSIGN CV14($sTime) V20
0099 V20 = FETCH_LIST_R V19 int(2)
0100 ASSIGN CV15($end) V20
0101 FREE V19
0102 ASSIGN CV16($i) T18
0103 INIT_NS_FCALL_BY_NAME 4 string("Wikimedia\\Rdbms\\sprintf")
0104 SEND_VAL_EX string("%-2d %.3fs %s
") 1
0105 SEND_VAR_EX CV16($i) 2
0106 T18 = SUB CV15($end) CV14($sTime)
0107 SEND_VAL_EX T18 3
0108 INIT_METHOD_CALL 1 THIS string("getGeneralizedSql")
0109 SEND_VAR CV13($query) 1
0110 V18 = DO_FCALL
0111 SEND_VAR_NO_REF_EX V18 4
0112 V18 = DO_FCALL_BY_NAME
0113 ASSIGN_OP (CONCAT) CV12($trace) V18
0114 JMP 0094
0115 FE_FREE V17
0116 T17 = FETCH_OBJ_R THIS string("logger")
0117 INIT_METHOD_CALL 2 T17 string("warning")
0118 SEND_VAL_EX string("Suboptimal transaction [{dbs}]:
{trace}") 1
0119 JMP_FRAMELESS 168 string("wikimedia\\rdbms\\implode") 0132
0120 INIT_NS_FCALL_BY_NAME 2 string("Wikimedia\\Rdbms\\implode")
0121 SEND_VAL_EX string(", ") 1
0122 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\Rdbms\\array_keys")
0123 CHECK_FUNC_ARG 1
0124 V17 = FETCH_OBJ_FUNC_ARG THIS string("dbTrxHoldingLocks")
0125 V18 = FETCH_DIM_FUNC_ARG V17 CV5($name)
0126 V17 = FETCH_DIM_FUNC_ARG V18 string("conns")
0127 SEND_FUNC_ARG V17 1
0128 V17 = DO_FCALL_BY_NAME
0129 SEND_VAR_NO_REF_EX V17 2
0130 V18 = DO_FCALL_BY_NAME
0131 JMP 0140
0132 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\Rdbms\\array_keys")
0133 CHECK_FUNC_ARG 1
0134 V17 = FETCH_OBJ_FUNC_ARG THIS string("dbTrxHoldingLocks")
0135 V19 = FETCH_DIM_FUNC_ARG V17 CV5($name)
0136 V17 = FETCH_DIM_FUNC_ARG V19 string("conns")
0137 SEND_FUNC_ARG V17 1
0138 V17 = DO_FCALL_BY_NAME
0139 V18 = FRAMELESS_ICALL_2(implode) string(", ") V17
0140 T17 = INIT_ARRAY 2 V18 string("dbs")
0141 INIT_NS_FCALL_BY_NAME 3 string("Wikimedia\\Rdbms\\mb_substr")
0142 SEND_VAR_EX CV12($trace) 1
0143 SEND_VAL_EX int(0) 2
0144 SEND_VAL_EX int(2000) 3
0145 V18 = DO_FCALL_BY_NAME
0146 T17 = ADD_ARRAY_ELEMENT V18 string("trace")
0147 SEND_VAL_EX T17 2
0148 DO_FCALL
0149 V17 = FETCH_OBJ_UNSET THIS string("dbTrxHoldingLocks")
0150 UNSET_DIM V17 CV5($name)
0151 V17 = FETCH_OBJ_UNSET THIS string("dbTrxMethodTimes")
0152 UNSET_DIM V17 CV5($name)
0153 RETURN null
LIVE RANGES:
20: 0005 - 0009 (rope)
20: 0015 - 0017 (rope)
20: 0029 - 0033 (rope)
20: 0046 - 0050 (rope)
17: 0071 - 0075 (tmp/var)
17: 0080 - 0088 (loop)
20: 0082 - 0083 (tmp/var)
17: 0094 - 0115 (loop)
19: 0095 - 0101 (tmp/var)
18: 0095 - 0102 (tmp/var)
17: 0141 - 0147 (tmp/var)
Wikimedia\Rdbms\TransactionProfiler::initPlaceholderExpectations:
; (lines=22, args=0, vars=0, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/TransactionProfiler.php:449-457
0000 INIT_NS_FCALL_BY_NAME 2 string("Wikimedia\\Rdbms\\array_fill_keys")
0001 SEND_VAL_EX array(...) 1
0002 T1 = FETCH_CONSTANT (unqualified-in-namespace) string("Wikimedia\\Rdbms\\INF")
0003 T0 = INIT_ARRAY 2 (packed) T1 int(0)
0004 T0 = ADD_ARRAY_ELEMENT null int(1)
0005 SEND_VAL_EX T0 2
0006 V0 = DO_FCALL_BY_NAME
0007 ASSIGN_OBJ THIS string("expect")
0008 OP_DATA V0
0009 INIT_NS_FCALL_BY_NAME 2 string("Wikimedia\\Rdbms\\array_fill_keys")
0010 SEND_VAL_EX array(...) 1
0011 SEND_VAL_EX int(0) 2
0012 V0 = DO_FCALL_BY_NAME
0013 ASSIGN_OBJ THIS string("hits")
0014 OP_DATA V0
0015 INIT_NS_FCALL_BY_NAME 2 string("Wikimedia\\Rdbms\\array_fill_keys")
0016 SEND_VAL_EX array(...) 1
0017 SEND_VAL_EX int(0) 2
0018 V0 = DO_FCALL_BY_NAME
0019 ASSIGN_OBJ THIS string("violations")
0020 OP_DATA V0
0021 RETURN null
LIVE RANGES:
0: 0004 - 0005 (tmp/var)
Wikimedia\Rdbms\TransactionProfiler::isAboveThreshold:
; (lines=12, args=2, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/TransactionProfiler.php:464-470
0000 CV0($value) = RECV 1
0001 CV1($event) = RECV 2
0002 T2 = FETCH_OBJ_R THIS string("silenced")
0003 T3 = FETCH_DIM_R T2 CV1($event)
0004 T2 = IS_SMALLER int(0) T3
0005 JMPZ T2 0007
0006 RETURN bool(false)
0007 T3 = FETCH_OBJ_R THIS string("expect")
0008 T2 = FETCH_DIM_R T3 CV1($event)
0009 T3 = FETCH_DIM_R T2 int(0)
0010 T2 = IS_SMALLER T3 CV0($value)
0011 RETURN T2
Wikimedia\Rdbms\TransactionProfiler::pingAndCheckThreshold:
; (lines=14, args=1, vars=3, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/TransactionProfiler.php:476-485
0000 CV0($event) = RECV 1
0001 T3 = FETCH_OBJ_R THIS string("silenced")
0002 T4 = FETCH_DIM_R T3 CV0($event)
0003 T3 = IS_SMALLER int(0) T4
0004 JMPZ T3 0006
0005 RETURN bool(false)
0006 V4 = FETCH_OBJ_RW THIS string("hits")
0007 V3 = FETCH_DIM_RW V4 CV0($event)
0008 CV1($newValue) = PRE_INC V3
0009 T4 = FETCH_OBJ_R THIS string("expect")
0010 T3 = FETCH_DIM_R T4 CV0($event)
0011 CV2($limit) = FETCH_DIM_R T3 int(0)
0012 T3 = IS_SMALLER CV2($limit) CV1($newValue)
0013 RETURN T3
Wikimedia\Rdbms\TransactionProfiler::reportExpectationViolated:
; (lines=67, args=5, vars=9, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/TransactionProfiler.php:494-532
0000 CV0($event) = RECV 1
0001 CV1($query) = RECV 2
0002 CV2($actual) = RECV 3
0003 CV3($trxId) = RECV_INIT 4 null
0004 CV4($serverName) = RECV_INIT 5 null
0005 V10 = FETCH_OBJ_RW THIS string("violations")
0006 V9 = FETCH_DIM_RW V10 CV0($event)
0007 CV5($violations) = PRE_INC V9
0008 T9 = IS_IDENTICAL CV5($violations) int(1)
0009 JMPZ T9 0022
0010 T10 = FETCH_OBJ_R THIS string("method")
0011 T9 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] T10
0012 JMPZ T9 0022
0013 T9 = FETCH_OBJ_R THIS string("stats")
0014 INIT_METHOD_CALL 1 T9 string("increment")
0015 T10 = ROPE_INIT 4 string("rdbms_trxprofiler_warnings.")
0016 T10 = ROPE_ADD 1 T10 CV0($event)
0017 T10 = ROPE_ADD 2 T10 string(".")
0018 T12 = FETCH_OBJ_R THIS string("method")
0019 T9 = ROPE_END 3 T10 T12
0020 SEND_VAL_EX T9 1
0021 DO_FCALL
0022 T10 = FETCH_OBJ_R THIS string("expect")
0023 T9 = FETCH_DIM_R T10 CV0($event)
0024 CV6($max) = FETCH_DIM_R T9 int(0)
0025 T10 = FETCH_OBJ_R THIS string("expect")
0026 T9 = FETCH_DIM_R T10 CV0($event)
0027 CV7($by) = FETCH_DIM_R T9 int(1)
0028 T9 = ROPE_INIT 7 string("Expectation (")
0029 T9 = ROPE_ADD 1 T9 CV0($event)
0030 T9 = ROPE_ADD 2 T9 string(" <= ")
0031 T9 = ROPE_ADD 3 T9 CV6($max)
0032 T9 = ROPE_ADD 4 T9 string(") by ")
0033 T9 = ROPE_ADD 5 T9 CV7($by)
0034 CV8($message) = ROPE_END 6 T9 string(" not met (actual: {actualSeconds})")
0035 JMPZ CV3($trxId) 0037
0036 ASSIGN_OP (CONCAT) CV8($message) string(" in trx #{trxId}")
0037 ASSIGN_OP (CONCAT) CV8($message) string(":
{query}
")
0038 T9 = FETCH_OBJ_R THIS string("logger")
0039 INIT_METHOD_CALL 2 T9 string("warning")
0040 SEND_VAR_EX CV8($message) 1
0041 T9 = INIT_ARRAY 10 string("performance") string("db_log_category")
0042 T9 = ADD_ARRAY_ELEMENT CV0($event) string("measure")
0043 T9 = ADD_ARRAY_ELEMENT CV6($max) string("maxSeconds")
0044 T9 = ADD_ARRAY_ELEMENT CV7($by) string("by")
0045 T9 = ADD_ARRAY_ELEMENT CV2($actual) string("actualSeconds")
0046 INIT_METHOD_CALL 1 THIS string("getGeneralizedSql")
0047 SEND_VAR CV1($query) 1
0048 V10 = DO_FCALL
0049 T9 = ADD_ARRAY_ELEMENT V10 string("query")
0050 V10 = NEW 0 string("RuntimeException")
0051 DO_FCALL
0052 T9 = ADD_ARRAY_ELEMENT V10 string("exception")
0053 T9 = ADD_ARRAY_ELEMENT CV3($trxId) string("trxId")
0054 INIT_NS_FCALL_BY_NAME 3 string("Wikimedia\\Rdbms\\mb_substr")
0055 INIT_METHOD_CALL 1 THIS string("getRawSql")
0056 SEND_VAR CV1($query) 1
0057 V10 = DO_FCALL
0058 SEND_VAR_NO_REF_EX V10 1
0059 SEND_VAL_EX int(0) 2
0060 SEND_VAL_EX int(2000) 3
0061 V10 = DO_FCALL_BY_NAME
0062 T9 = ADD_ARRAY_ELEMENT V10 string("fullQuery")
0063 T9 = ADD_ARRAY_ELEMENT CV4($serverName) string("dbHost")
0064 SEND_VAL_EX T9 2
0065 DO_FCALL
0066 RETURN null
LIVE RANGES:
10: 0015 - 0019 (rope)
9: 0028 - 0034 (rope)
9: 0042 - 0064 (tmp/var)
10: 0051 - 0052 (new)
Wikimedia\Rdbms\TransactionProfiler::getGeneralizedSql:
; (lines=12, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/TransactionProfiler.php:538-543
0000 CV0($query) = RECV 1
0001 T1 = INSTANCEOF CV0($query) string("Wikimedia\\Rdbms\\Query")
0002 JMPZ T1 0006
0003 INIT_METHOD_CALL 0 CV0($query) string("getCleanedSql")
0004 V1 = DO_FCALL
0005 RETURN V1
0006 T1 = INSTANCEOF CV0($query) string("Wikimedia\\Rdbms\\GeneralizedSql")
0007 JMPZ T1 0011
0008 INIT_METHOD_CALL 0 CV0($query) string("stringify")
0009 V1 = DO_FCALL
0010 RETURN V1
0011 RETURN CV0($query)
Wikimedia\Rdbms\TransactionProfiler::getRawSql:
; (lines=12, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/TransactionProfiler.php:549-554
0000 CV0($query) = RECV 1
0001 T1 = INSTANCEOF CV0($query) string("Wikimedia\\Rdbms\\Query")
0002 JMPZ T1 0006
0003 INIT_METHOD_CALL 0 CV0($query) string("getSQL")
0004 V1 = DO_FCALL
0005 RETURN V1
0006 T1 = INSTANCEOF CV0($query) string("Wikimedia\\Rdbms\\GeneralizedSql")
0007 JMPZ T1 0011
0008 INIT_METHOD_CALL 0 CV0($query) string("getRawSql")
0009 V1 = DO_FCALL
0010 RETURN V1
0011 RETURN CV0($query)
Wikimedia\Rdbms\TransactionProfiler::getCurrentTime:
; (lines=7, args=0, vars=0, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/TransactionProfiler.php:560-562
0000 T1 = FETCH_OBJ_R THIS string("wallClockOverride")
0001 T0 = JMP_SET T1 0006
0002 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\Rdbms\\microtime")
0003 SEND_VAL_EX bool(true) 1
0004 V1 = DO_FCALL_BY_NAME
0005 T0 = QM_ASSIGN V1
0006 RETURN T0
Wikimedia\Rdbms\TransactionProfiler::setMockTime:
; (lines=4, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/rdbms/TransactionProfiler.php:568-570
0000 CV0($time) = RECV 1
0001 ASSIGN_OBJ_REF THIS string("wallClockOverride")
0002 OP_DATA CV0($time)
0003 RETURN null
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/psr/log/Psr/Log/LoggerAwareInterface.php:1-19
0000 RETURN int(1)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/Stats/StatsdAwareInterface.php:1-24
0000 RETURN int(1)
$_main:
; (lines=2, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/psr/log/Psr/Log/NullLogger.php:1-31
0000 DECLARE_CLASS_DELAYED string("psr\\log\\nulllogger") string("psr\\log\\abstractlogger")
0001 RETURN int(1)
Psr\Log\NullLogger::log:
; (lines=4, args=3, vars=3, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/psr/log/Psr/Log/NullLogger.php:26-29
0000 CV0($level) = RECV 1
0001 CV1($message) = RECV 2
0002 CV2($context) = RECV_INIT 3 array(...)
0003 RETURN null
$_main:
; (lines=2, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/psr/log/Psr/Log/AbstractLogger.php:1-129
0000 DECLARE_CLASS string("psr\\log\\abstractlogger")
0001 RETURN int(1)
Psr\Log\AbstractLogger::emergency:
; (lines=9, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/psr/log/Psr/Log/AbstractLogger.php:22-25
0000 CV0($message) = RECV 1
0001 CV1($context) = RECV_INIT 2 array(...)
0002 INIT_METHOD_CALL 3 THIS string("log")
0003 T2 = FETCH_CLASS_CONSTANT string("Psr\\Log\\LogLevel") string("EMERGENCY")
0004 SEND_VAL_EX T2 1
0005 SEND_VAR_EX CV0($message) 2
0006 SEND_VAR_EX CV1($context) 3
0007 DO_FCALL
0008 RETURN null
Psr\Log\AbstractLogger::alert:
; (lines=9, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/psr/log/Psr/Log/AbstractLogger.php:38-41
0000 CV0($message) = RECV 1
0001 CV1($context) = RECV_INIT 2 array(...)
0002 INIT_METHOD_CALL 3 THIS string("log")
0003 T2 = FETCH_CLASS_CONSTANT string("Psr\\Log\\LogLevel") string("ALERT")
0004 SEND_VAL_EX T2 1
0005 SEND_VAR_EX CV0($message) 2
0006 SEND_VAR_EX CV1($context) 3
0007 DO_FCALL
0008 RETURN null
Psr\Log\AbstractLogger::critical:
; (lines=9, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/psr/log/Psr/Log/AbstractLogger.php:53-56
0000 CV0($message) = RECV 1
0001 CV1($context) = RECV_INIT 2 array(...)
0002 INIT_METHOD_CALL 3 THIS string("log")
0003 T2 = FETCH_CLASS_CONSTANT string("Psr\\Log\\LogLevel") string("CRITICAL")
0004 SEND_VAL_EX T2 1
0005 SEND_VAR_EX CV0($message) 2
0006 SEND_VAR_EX CV1($context) 3
0007 DO_FCALL
0008 RETURN null
Psr\Log\AbstractLogger::error:
; (lines=9, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/psr/log/Psr/Log/AbstractLogger.php:67-70
0000 CV0($message) = RECV 1
0001 CV1($context) = RECV_INIT 2 array(...)
0002 INIT_METHOD_CALL 3 THIS string("log")
0003 T2 = FETCH_CLASS_CONSTANT string("Psr\\Log\\LogLevel") string("ERROR")
0004 SEND_VAL_EX T2 1
0005 SEND_VAR_EX CV0($message) 2
0006 SEND_VAR_EX CV1($context) 3
0007 DO_FCALL
0008 RETURN null
Psr\Log\AbstractLogger::warning:
; (lines=9, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/psr/log/Psr/Log/AbstractLogger.php:83-86
0000 CV0($message) = RECV 1
0001 CV1($context) = RECV_INIT 2 array(...)
0002 INIT_METHOD_CALL 3 THIS string("log")
0003 T2 = FETCH_CLASS_CONSTANT string("Psr\\Log\\LogLevel") string("WARNING")
0004 SEND_VAL_EX T2 1
0005 SEND_VAR_EX CV0($message) 2
0006 SEND_VAR_EX CV1($context) 3
0007 DO_FCALL
0008 RETURN null
Psr\Log\AbstractLogger::notice:
; (lines=9, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/psr/log/Psr/Log/AbstractLogger.php:96-99
0000 CV0($message) = RECV 1
0001 CV1($context) = RECV_INIT 2 array(...)
0002 INIT_METHOD_CALL 3 THIS string("log")
0003 T2 = FETCH_CLASS_CONSTANT string("Psr\\Log\\LogLevel") string("NOTICE")
0004 SEND_VAL_EX T2 1
0005 SEND_VAR_EX CV0($message) 2
0006 SEND_VAR_EX CV1($context) 3
0007 DO_FCALL
0008 RETURN null
Psr\Log\AbstractLogger::info:
; (lines=9, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/psr/log/Psr/Log/AbstractLogger.php:111-114
0000 CV0($message) = RECV 1
0001 CV1($context) = RECV_INIT 2 array(...)
0002 INIT_METHOD_CALL 3 THIS string("log")
0003 T2 = FETCH_CLASS_CONSTANT string("Psr\\Log\\LogLevel") string("INFO")
0004 SEND_VAL_EX T2 1
0005 SEND_VAR_EX CV0($message) 2
0006 SEND_VAR_EX CV1($context) 3
0007 DO_FCALL
0008 RETURN null
Psr\Log\AbstractLogger::debug:
; (lines=9, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/psr/log/Psr/Log/AbstractLogger.php:124-127
0000 CV0($message) = RECV 1
0001 CV1($context) = RECV_INIT 2 array(...)
0002 INIT_METHOD_CALL 3 THIS string("log")
0003 T2 = FETCH_CLASS_CONSTANT string("Psr\\Log\\LogLevel") string("DEBUG")
0004 SEND_VAL_EX T2 1
0005 SEND_VAR_EX CV0($message) 2
0006 SEND_VAR_EX CV1($context) 3
0007 DO_FCALL
0008 RETURN null
$_main:
; (lines=2, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/Stats/NullStatsdDataFactory.php:1-128
0000 DECLARE_CLASS string("nullstatsddatafactory")
0001 RETURN int(1)
NullStatsdDataFactory::timing:
; (lines=3, args=2, vars=2, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/Stats/NullStatsdDataFactory.php:18-19
0000 CV0($key) = RECV 1
0001 CV1($time) = RECV 2
0002 RETURN null
NullStatsdDataFactory::gauge:
; (lines=3, args=2, vars=2, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/Stats/NullStatsdDataFactory.php:27-28
0000 CV0($key) = RECV 1
0001 CV1($value) = RECV 2
0002 RETURN null
NullStatsdDataFactory::set:
; (lines=3, args=2, vars=2, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/Stats/NullStatsdDataFactory.php:47-49
0000 CV0($key) = RECV 1
0001 CV1($value) = RECV 2
0002 RETURN array(...)
NullStatsdDataFactory::increment:
; (lines=2, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/Stats/NullStatsdDataFactory.php:58-60
0000 CV0($key) = RECV 1
0001 RETURN array(...)
NullStatsdDataFactory::decrement:
; (lines=2, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/Stats/NullStatsdDataFactory.php:70-72
0000 CV0($key) = RECV 1
0001 RETURN array(...)
NullStatsdDataFactory::updateCount:
; (lines=3, args=2, vars=2, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/Stats/NullStatsdDataFactory.php:82-84
0000 CV0($key) = RECV 1
0001 CV1($delta) = RECV 2
0002 RETURN array(...)
NullStatsdDataFactory::produceStatsdData:
; (lines=16, args=3, vars=4, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/Stats/NullStatsdDataFactory.php:96-106
0000 CV0($key) = RECV 1
0001 CV1($value) = RECV_INIT 2 int(1)
0002 CV2($metric) = RECV_INIT 3 zval(type=11)
0003 V4 = NEW 0 string("Liuggio\\StatsdClient\\Entity\\StatsdData")
0004 DO_FCALL
0005 CV3($data) = QM_ASSIGN V4
0006 INIT_METHOD_CALL 1 CV3($data) string("setKey")
0007 SEND_VAR_EX CV0($key) 1
0008 DO_FCALL
0009 INIT_METHOD_CALL 1 CV3($data) string("setValue")
0010 SEND_VAR_EX CV1($value) 1
0011 DO_FCALL
0012 INIT_METHOD_CALL 1 CV3($data) string("setMetric")
0013 SEND_VAR_EX CV2($metric) 1
0014 DO_FCALL
0015 RETURN CV3($data)
LIVE RANGES:
4: 0004 - 0005 (new)
NullStatsdDataFactory::hasData:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/Stats/NullStatsdDataFactory.php:108-110
0000 RETURN bool(false)
NullStatsdDataFactory::getData:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/Stats/NullStatsdDataFactory.php:112-114
0000 RETURN array(...)
NullStatsdDataFactory::clearData:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/Stats/NullStatsdDataFactory.php:116-118
0000 RETURN null
NullStatsdDataFactory::getDataCount:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/Stats/NullStatsdDataFactory.php:120-122
0000 RETURN int(0)
NullStatsdDataFactory::setEnabled:
; (lines=2, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/Stats/NullStatsdDataFactory.php:124-126
0000 CV0($enabled) = RECV 1
0001 RETURN null
$_main:
; (lines=2, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/libs/Stats/IBufferingStatsdDataFactory.php:1-46
0000 DECLARE_CLASS string("ibufferingstatsddatafactory")
0001 RETURN int(1)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/liuggio/statsd-php-client/src/Liuggio/StatsdClient/Factory/StatsdDataFactoryInterface.php:1-100
0000 RETURN int(1)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/logger/LoggerFactory.php:1-103
0000 RETURN int(1)
MediaWiki\Logger\LoggerFactory::registerProvider:
; (lines=4, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/logger/LoggerFactory.php:59-61
0000 CV0($provider) = RECV 1
0001 ASSIGN_STATIC_PROP string("spi")
0002 OP_DATA CV0($provider)
0003 RETURN null
MediaWiki\Logger\LoggerFactory::getProvider:
; (lines=13, args=0, vars=2, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/logger/LoggerFactory.php:75-84
0000 T3 = FETCH_STATIC_PROP_R string("spi") (self) (exception)
0001 T2 = TYPE_CHECK (null) T3
0002 JMPZ T2 0011
0003 BIND_GLOBAL CV0($wgMWLoggerDefaultSpi) string("wgMWLoggerDefaultSpi")
0004 INIT_STATIC_METHOD_CALL 1 string("Wikimedia\\ObjectFactory\\ObjectFactory") string("getObjectFromSpec")
0005 SEND_VAR_EX CV0($wgMWLoggerDefaultSpi) 1
0006 V2 = DO_FCALL
0007 CV1($provider) = QM_ASSIGN V2
0008 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("registerProvider")
0009 SEND_VAR CV1($provider) 1
0010 DO_UCALL
0011 T2 = FETCH_STATIC_PROP_R string("spi") (self) (exception)
0012 RETURN T2
MediaWiki\Logger\LoggerFactory::getInstance:
; (lines=7, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/logger/LoggerFactory.php:92-94
0000 CV0($channel) = RECV 1
0001 INIT_STATIC_METHOD_CALL 0 (self) (exception) string("getProvider")
0002 V1 = DO_UCALL
0003 INIT_METHOD_CALL 1 V1 string("getLogger")
0004 SEND_VAR_EX CV0($channel) 1
0005 V1 = DO_FCALL
0006 RETURN V1
MediaWiki\Logger\LoggerFactory::__construct:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/logger/LoggerFactory.php:99-101
0000 RETURN null
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/object-factory/src/ObjectFactory.php:1-320
0000 RETURN int(1)
Wikimedia\ObjectFactory\ObjectFactory::__construct:
; (lines=4, args=1, vars=1, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/object-factory/src/ObjectFactory.php:92-94
0000 CV0($serviceContainer) = RECV 1
0001 ASSIGN_OBJ THIS string("serviceContainer")
0002 OP_DATA CV0($serviceContainer)
0003 RETURN null
Wikimedia\ObjectFactory\ObjectFactory::createObject:
; (lines=10, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/object-factory/src/ObjectFactory.php:145-150
0000 CV0($spec) = RECV 1
0001 CV1($options) = RECV_INIT 2 array(...)
0002 T2 = FETCH_OBJ_R THIS string("serviceContainer")
0003 ASSIGN_DIM CV1($options) string("serviceContainer")
0004 OP_DATA T2
0005 INIT_STATIC_METHOD_CALL 2 (static) (exception) string("getObjectFromSpec")
0006 SEND_VAR_EX CV0($spec) 1
0007 SEND_VAR_EX CV1($options) 2
0008 V2 = DO_FCALL
0009 RETURN V2
Wikimedia\ObjectFactory\ObjectFactory::getObjectFromSpec:
; (lines=196, args=2, vars=11, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/object-factory/src/ObjectFactory.php:173-265
0000 CV0($spec) = RECV 1
0001 CV1($options) = RECV_INIT 2 array(...)
0002 INIT_STATIC_METHOD_CALL 2 (static) (exception) string("validateSpec")
0003 SEND_VAR_EX CV0($spec) 1
0004 SEND_VAR_EX CV1($options) 2
0005 V11 = DO_FCALL
0006 ASSIGN CV0($spec) V11
0007 T12 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($spec) string("closure_expansion")
0008 T11 = BOOL_NOT T12
0009 T11 = JMPNZ_EX T11 0012
0010 T12 = FETCH_DIM_R CV0($spec) string("closure_expansion")
0011 T11 = BOOL T12
0012 CV2($expandArgs) = QM_ASSIGN T11
0013 T11 = ISSET_ISEMPTY_DIM_OBJ (empty) CV0($spec) string("spec_is_arg")
0014 JMPNZ T11 0017
0015 CV3($args) = INIT_ARRAY 1 (packed) CV0($spec) NEXT
0016 JMP 0044
0017 T12 = FETCH_DIM_IS CV0($spec) string("args")
0018 T11 = COALESCE T12 0020
0019 T11 = QM_ASSIGN array(...)
0020 CV3($args) = QM_ASSIGN T11
0021 JMPZ CV3($args) 0039
0022 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\ObjectFactory\\array_keys")
0023 SEND_VAR_EX CV3($args) 1
0024 V12 = DO_FCALL_BY_NAME
0025 INIT_NS_FCALL_BY_NAME 2 string("Wikimedia\\ObjectFactory\\range")
0026 SEND_VAL_EX int(0) 1
0027 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\ObjectFactory\\count")
0028 SEND_VAR_EX CV3($args) 1
0029 V13 = DO_FCALL_BY_NAME
0030 T11 = SUB V13 int(1)
0031 SEND_VAL_EX T11 2
0032 V13 = DO_FCALL_BY_NAME
0033 T11 = IS_NOT_IDENTICAL V12 V13
0034 JMPZ T11 0039
0035 V11 = NEW 1 string("InvalidArgumentException")
0036 SEND_VAL_EX string("'args' cannot be an associative array") 1
0037 DO_FCALL
0038 THROW V11
0039 JMPZ CV2($expandArgs) 0044
0040 INIT_STATIC_METHOD_CALL 1 (static) (exception) string("expandClosures")
0041 SEND_VAR_EX CV3($args) 1
0042 V11 = DO_FCALL
0043 ASSIGN CV3($args) V11
0044 CV4($services) = QM_ASSIGN array(...)
0045 T11 = ISSET_ISEMPTY_DIM_OBJ (empty) CV0($spec) string("services")
0046 JMPZ T11 0049
0047 T11 = ISSET_ISEMPTY_DIM_OBJ (empty) CV0($spec) string("optional_services")
0048 JMPNZ T11 0097
0049 T12 = FETCH_DIM_IS CV1($options) string("serviceContainer")
0050 T11 = COALESCE T12 0052
0051 T11 = QM_ASSIGN null
0052 CV5($container) = QM_ASSIGN T11
0053 T11 = INSTANCEOF CV5($container) string("Psr\\Container\\ContainerInterface")
0054 JMPNZ T11 0059
0055 V11 = NEW 1 string("InvalidArgumentException")
0056 SEND_VAL_EX string("'services' and 'optional_services' cannot be used without a service container") 1
0057 DO_FCALL
0058 THROW V11
0059 T11 = ISSET_ISEMPTY_DIM_OBJ (empty) CV0($spec) string("services")
0060 JMPNZ T11 0076
0061 T12 = FETCH_DIM_R CV0($spec) string("services")
0062 V11 = FE_RESET_R T12 0075
0063 FE_FETCH_R V11 CV6($service) 0075
0064 T12 = TYPE_CHECK (null) CV6($service)
0065 JMPZ T12 0068
0066 T12 = QM_ASSIGN null
0067 JMP 0072
0068 INIT_METHOD_CALL 1 CV5($container) string("get")
0069 SEND_VAR_EX CV6($service) 1
0070 V13 = DO_FCALL
0071 T12 = QM_ASSIGN V13
0072 ASSIGN_DIM CV4($services) NEXT
0073 OP_DATA T12
0074 JMP 0063
0075 FE_FREE V11
0076 T11 = ISSET_ISEMPTY_DIM_OBJ (empty) CV0($spec) string("optional_services")
0077 JMPNZ T11 0097
0078 T12 = FETCH_DIM_R CV0($spec) string("optional_services")
0079 V11 = FE_RESET_R T12 0096
0080 FE_FETCH_R V11 CV6($service) 0096
0081 T12 = TYPE_CHECK TYPE [bool, long, double, string, array, object, resource] CV6($service)
0082 JMPZ T12 0093
0083 INIT_METHOD_CALL 1 CV5($container) string("has")
0084 SEND_VAR_EX CV6($service) 1
0085 V12 = DO_FCALL
0086 JMPZ V12 0093
0087 INIT_METHOD_CALL 1 CV5($container) string("get")
0088 SEND_VAR_EX CV6($service) 1
0089 V12 = DO_FCALL
0090 ASSIGN_DIM CV4($services) NEXT
0091 OP_DATA V12
0092 JMP 0080
0093 ASSIGN_DIM CV4($services) NEXT
0094 OP_DATA null
0095 JMP 0080
0096 FE_FREE V11
0097 INIT_NS_FCALL_BY_NAME 3 string("Wikimedia\\ObjectFactory\\array_merge")
0098 T12 = FETCH_DIM_IS CV1($options) string("extraArgs")
0099 T11 = COALESCE T12 0101
0100 T11 = QM_ASSIGN array(...)
0101 SEND_VAL_EX T11 1
0102 SEND_VAR_EX CV4($services) 2
0103 SEND_VAR_EX CV3($args) 3
0104 V11 = DO_FCALL_BY_NAME
0105 ASSIGN CV3($args) V11
0106 T11 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($spec) string("factory")
0107 JMPZ T11 0139
0108 T11 = FETCH_DIM_R CV0($spec) string("factory")
0109 INIT_DYNAMIC_CALL 0 T11
0110 SEND_UNPACK CV3($args)
0111 CHECK_UNDEF_ARGS
0112 V11 = DO_FCALL
0113 CV7($obj) = QM_ASSIGN V11
0114 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\ObjectFactory\\is_object")
0115 SEND_VAR_EX CV7($obj) 1
0116 V11 = DO_FCALL_BY_NAME
0117 JMPNZ V11 0122
0118 V11 = NEW 1 string("UnexpectedValueException")
0119 SEND_VAL_EX string("'factory' did not return an object") 1
0120 DO_FCALL
0121 THROW V11
0122 T11 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($spec) string("class")
0123 JMPZ T11 0153
0124 T11 = FETCH_DIM_R CV0($spec) string("class")
0125 V12 = FETCH_CLASS (no-autoload) (silent) (exception) T11
0126 T11 = INSTANCEOF CV7($obj) V12
0127 JMPNZ T11 0153
0128 V11 = NEW 1 string("UnexpectedValueException")
0129 T13 = FETCH_DIM_R CV0($spec) string("class")
0130 T12 = CONCAT string("'factory' was expected to return an instance of ") T13
0131 T13 = FAST_CONCAT T12 string(", got ")
0132 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\ObjectFactory\\get_class")
0133 SEND_VAR_EX CV7($obj) 1
0134 V14 = DO_FCALL_BY_NAME
0135 T12 = CONCAT T13 V14
0136 SEND_VAL_EX T12 1
0137 DO_FCALL
0138 THROW V11
0139 T11 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($spec) string("class")
0140 JMPZ T11 0149
0141 CV8($clazz) = FETCH_DIM_R CV0($spec) string("class")
0142 V12 = FETCH_CLASS (exception) CV8($clazz)
0143 V11 = NEW 0 V12
0144 SEND_UNPACK CV3($args)
0145 CHECK_UNDEF_ARGS
0146 DO_FCALL
0147 CV7($obj) = QM_ASSIGN V11
0148 JMP 0153
0149 V11 = NEW 1 string("InvalidArgumentException")
0150 SEND_VAL_EX string("Provided specification lacks both 'factory' and 'class' parameters.") 1
0151 DO_FCALL
0152 THROW V11
0153 T11 = ISSET_ISEMPTY_DIM_OBJ (isset) CV1($options) string("assertClass")
0154 JMPZ T11 0170
0155 T11 = FETCH_DIM_R CV1($options) string("assertClass")
0156 V12 = FETCH_CLASS (no-autoload) (silent) (exception) T11
0157 T11 = INSTANCEOF CV7($obj) V12
0158 JMPNZ T11 0170
0159 V11 = NEW 1 string("UnexpectedValueException")
0160 T13 = FETCH_DIM_R CV1($options) string("assertClass")
0161 T12 = CONCAT string("Expected instance of ") T13
0162 T13 = FAST_CONCAT T12 string(", got ")
0163 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\ObjectFactory\\get_class")
0164 SEND_VAR_EX CV7($obj) 1
0165 V14 = DO_FCALL_BY_NAME
0166 T12 = CONCAT T13 V14
0167 SEND_VAL_EX T12 1
0168 DO_FCALL
0169 THROW V11
0170 T11 = ISSET_ISEMPTY_DIM_OBJ (isset) CV0($spec) string("calls")
0171 JMPZ T11 0195
0172 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\ObjectFactory\\is_array")
0173 CHECK_FUNC_ARG 1
0174 V11 = FETCH_DIM_FUNC_ARG CV0($spec) string("calls")
0175 SEND_FUNC_ARG V11 1
0176 V11 = DO_FCALL_BY_NAME
0177 JMPZ V11 0195
0178 T12 = FETCH_DIM_R CV0($spec) string("calls")
0179 V11 = FE_RESET_R T12 0194
0180 T12 = FE_FETCH_R V11 CV9($margs) 0194
0181 ASSIGN CV10($method) T12
0182 JMPZ CV2($expandArgs) 0187
0183 INIT_STATIC_METHOD_CALL 1 (static) (exception) string("expandClosures")
0184 SEND_VAR_EX CV9($margs) 1
0185 V12 = DO_FCALL
0186 ASSIGN CV9($margs) V12
0187 INIT_NS_FCALL_BY_NAME 2 string("Wikimedia\\ObjectFactory\\call_user_func_array")
0188 T12 = INIT_ARRAY 2 (packed) CV7($obj) NEXT
0189 T12 = ADD_ARRAY_ELEMENT CV10($method) NEXT
0190 SEND_VAL_EX T12 1
0191 SEND_VAR_EX CV9($margs) 2
0192 DO_FCALL_BY_NAME
0193 JMP 0180
0194 FE_FREE V11
0195 RETURN CV7($obj)
LIVE RANGES:
12: 0025 - 0033 (tmp/var)
11: 0036 - 0038 (new)
11: 0056 - 0058 (new)
11: 0063 - 0075 (loop)
11: 0080 - 0096 (loop)
11: 0119 - 0121 (new)
11: 0129 - 0138 (new)
13: 0132 - 0135 (tmp/var)
11: 0144 - 0147 (new)
11: 0150 - 0152 (new)
11: 0160 - 0169 (new)
13: 0163 - 0166 (tmp/var)
11: 0180 - 0194 (loop)
12: 0189 - 0190 (tmp/var)
Wikimedia\ObjectFactory\ObjectFactory::validateSpec:
; (lines=43, args=2, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/object-factory/src/ObjectFactory.php:276-299
0000 CV0($spec) = RECV 1
0001 CV1($options) = RECV 2
0002 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\ObjectFactory\\is_callable")
0003 SEND_VAR_EX CV0($spec) 1
0004 V2 = DO_FCALL_BY_NAME
0005 JMPZ V2 0014
0006 T2 = ISSET_ISEMPTY_DIM_OBJ (empty) CV1($options) string("allowCallable")
0007 JMPZ T2 0012
0008 V2 = NEW 1 string("InvalidArgumentException")
0009 SEND_VAL_EX string("Passing a raw callable is not allowed here. Use [ 'factory' => $callable ] instead.") 1
0010 DO_FCALL
0011 THROW V2
0012 T2 = INIT_ARRAY 1 CV0($spec) string("factory")
0013 RETURN T2
0014 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\ObjectFactory\\is_string")
0015 SEND_VAR_EX CV0($spec) 1
0016 V2 = DO_FCALL_BY_NAME
0017 JMPZ V2 0033
0018 JMP_FRAMELESS 32 string("wikimedia\\objectfactory\\class_exists") 0023
0019 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\ObjectFactory\\class_exists")
0020 SEND_VAR_EX CV0($spec) 1
0021 V2 = DO_FCALL_BY_NAME
0022 JMP 0024
0023 V2 = FRAMELESS_ICALL_1(class_exists) CV0($spec)
0024 JMPZ V2 0033
0025 T2 = ISSET_ISEMPTY_DIM_OBJ (empty) CV1($options) string("allowClassName")
0026 JMPZ T2 0031
0027 V2 = NEW 1 string("InvalidArgumentException")
0028 SEND_VAL_EX string("Passing a raw class name is not allowed here. Use [ 'class' => $classname ] instead.") 1
0029 DO_FCALL
0030 THROW V2
0031 T2 = INIT_ARRAY 1 CV0($spec) string("class")
0032 RETURN T2
0033 INIT_NS_FCALL_BY_NAME 1 string("Wikimedia\\ObjectFactory\\is_array")
0034 SEND_VAR_EX CV0($spec) 1
0035 V2 = DO_FCALL_BY_NAME
0036 JMPNZ V2 0041
0037 V2 = NEW 1 string("InvalidArgumentException")
0038 SEND_VAL_EX string("Provided specification is not an array.") 1
0039 DO_FCALL
0040 THROW V2
0041 VERIFY_RETURN_TYPE CV0($spec)
0042 RETURN CV0($spec)
LIVE RANGES:
2: 0009 - 0011 (new)
2: 0028 - 0030 (new)
2: 0038 - 0040 (new)
Wikimedia\ObjectFactory\ObjectFactory::expandClosures:
; (lines=8, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/object-factory/src/ObjectFactory.php:308-317
0000 CV0($list) = RECV 1
0001 INIT_NS_FCALL_BY_NAME 2 string("Wikimedia\\ObjectFactory\\array_map")
0002 T1 = DECLARE_LAMBDA_FUNCTION 0
0003 SEND_VAL_EX T1 1
0004 SEND_VAR_EX CV0($list) 2
0005 V1 = DO_FCALL_BY_NAME
0006 VERIFY_RETURN_TYPE V1
0007 RETURN V1
LIVE RANGES:
1: 0006 - 0007 (tmp/var)
{closure:Wikimedia\ObjectFactory\ObjectFactory::expandClosures():309}:
; (lines=7, args=1, vars=1, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/vendor/wikimedia/object-factory/src/ObjectFactory.php:309-316
0000 CV0($value) = RECV 1
0001 T1 = INSTANCEOF CV0($value) string("Closure")
0002 JMPZ T1 0006
0003 INIT_DYNAMIC_CALL 0 CV0($value)
0004 V1 = DO_FCALL
0005 RETURN V1
0006 RETURN CV0($value)
$_main:
; (lines=2, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/logger/LegacySpi.php:1-73
0000 DECLARE_CLASS string("mediawiki\\logger\\legacyspi")
0001 RETURN int(1)
MediaWiki\Logger\LegacySpi::getLogger:
; (lines=13, args=1, vars=1, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/logger/LegacySpi.php:53-58
0000 CV0($channel) = RECV 1
0001 T2 = FETCH_OBJ_IS THIS string("singletons")
0002 T1 = ISSET_ISEMPTY_DIM_OBJ (isset) T2 CV0($channel)
0003 JMPNZ T1 0010
0004 V1 = NEW 1 string("MediaWiki\\Logger\\LegacyLogger")
0005 SEND_VAR_EX CV0($channel) 1
0006 DO_FCALL
0007 V2 = FETCH_OBJ_W (dim write) THIS string("singletons")
0008 ASSIGN_DIM V2 CV0($channel)
0009 OP_DATA V1
0010 T2 = FETCH_OBJ_R THIS string("singletons")
0011 T1 = FETCH_DIM_R T2 CV0($channel)
0012 RETURN T1
LIVE RANGES:
1: 0005 - 0007 (new)
1: 0007 - 0008 (tmp/var)
MediaWiki\Logger\LegacySpi::setLoggerForTest:
; (lines=11, args=2, vars=3, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/logger/LegacySpi.php:66-70
0000 CV0($channel) = RECV 1
0001 CV1($logger) = RECV_INIT 2 null
0002 T3 = FETCH_OBJ_IS THIS string("singletons")
0003 T4 = FETCH_DIM_IS T3 CV0($channel)
0004 T3 = COALESCE T4 0006
0005 T3 = QM_ASSIGN null
0006 CV2($ret) = QM_ASSIGN T3
0007 V3 = FETCH_OBJ_W (dim write) THIS string("singletons")
0008 ASSIGN_DIM V3 CV0($channel)
0009 OP_DATA CV1($logger)
0010 RETURN CV2($ret)
$_main:
; (lines=1, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/logger/Spi.php:1-75
0000 RETURN int(1)
$_main:
; (lines=2, args=0, vars=0, tmps=0)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/logger/LegacyLogger.php:1-541
0000 DECLARE_CLASS_DELAYED string("mediawiki\\logger\\legacylogger") string("psr\\log\\abstractlogger")
0001 RETURN int(1)
MediaWiki\Logger\LegacyLogger::__construct:
; (lines=55, args=1, vars=8, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/logger/LegacyLogger.php:104-133
0000 CV0($channel) = RECV 1
0001 BIND_GLOBAL CV1($wgDebugLogFile) string("wgDebugLogFile")
0002 BIND_GLOBAL CV2($wgDBerrorLog) string("wgDBerrorLog")
0003 BIND_GLOBAL CV3($wgDebugLogGroups) string("wgDebugLogGroups")
0004 BIND_GLOBAL CV4($wgDebugToolbar) string("wgDebugToolbar")
0005 BIND_GLOBAL CV5($wgDebugRawPage) string("wgDebugRawPage")
0006 BIND_GLOBAL CV6($wgShowDebug) string("wgShowDebug")
0007 ASSIGN_OBJ THIS string("channel")
0008 OP_DATA CV0($channel)
0009 T8 = IS_IDENTICAL CV0($channel) string("rdbms")
0010 ASSIGN_OBJ THIS string("isDB")
0011 OP_DATA T8
0012 JMPNZ CV5($wgDebugRawPage) 0019
0013 INIT_NS_FCALL_BY_NAME 0 string("MediaWiki\\Logger\\wfIsDebugRawPage")
0014 V8 = DO_FCALL_BY_NAME
0015 JMPZ V8 0019
0016 ASSIGN_OBJ THIS string("minimumLevel")
0017 OP_DATA int(300)
0018 JMP 0046
0019 T8 = IS_NOT_EQUAL CV1($wgDebugLogFile) string("")
0020 JMPNZ T8 0023
0021 JMPNZ CV6($wgShowDebug) 0023
0022 JMPZ CV4($wgDebugToolbar) 0026
0023 ASSIGN_OBJ THIS string("minimumLevel")
0024 OP_DATA int(100)
0025 JMP 0046
0026 T8 = ISSET_ISEMPTY_DIM_OBJ (isset) CV3($wgDebugLogGroups) CV0($channel)
0027 JMPZ T8 0044
0028 CV7($logConfig) = FETCH_DIM_R CV3($wgDebugLogGroups) CV0($channel)
0029 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Logger\\is_array")
0030 SEND_VAR_EX CV7($logConfig) 1
0031 V8 = DO_FCALL_BY_NAME
0032 JMPZ V8 0041
0033 T8 = ISSET_ISEMPTY_DIM_OBJ (isset) CV7($logConfig) string("level")
0034 JMPZ T8 0041
0035 T10 = FETCH_DIM_R CV7($logConfig) string("level")
0036 T9 = FETCH_STATIC_PROP_R string("levelMapping") (self) (exception)
0037 T8 = FETCH_DIM_R T9 T10
0038 ASSIGN_OBJ THIS string("minimumLevel")
0039 OP_DATA T8
0040 JMP 0046
0041 ASSIGN_OBJ THIS string("minimumLevel")
0042 OP_DATA int(100)
0043 JMP 0046
0044 ASSIGN_OBJ THIS string("minimumLevel")
0045 OP_DATA int(999)
0046 T8 = FETCH_OBJ_R THIS string("isDB")
0047 JMPZ T8 0054
0048 JMPZ CV2($wgDBerrorLog) 0054
0049 T9 = FETCH_OBJ_R THIS string("minimumLevel")
0050 T8 = IS_SMALLER int(400) T9
0051 JMPZ T8 0054
0052 ASSIGN_OBJ THIS string("minimumLevel")
0053 OP_DATA int(400)
0054 RETURN null
LIVE RANGES:
10: 0036 - 0037 (tmp/var)
MediaWiki\Logger\LegacyLogger::setMinimumForTest:
; (lines=15, args=1, vars=2, tmps=1)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/logger/LegacyLogger.php:142-150
0000 CV0($level) = RECV 1
0001 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Logger\\defined")
0002 SEND_VAL_EX string("MW_PHPUNIT_TEST") 1
0003 V2 = DO_FCALL_BY_NAME
0004 JMPNZ V2 0009
0005 V2 = NEW 1 string("LogicException")
0006 SEND_VAL_EX string("Not allowed outside tests") 1
0007 DO_FCALL
0008 THROW V2
0009 CV1($original) = FETCH_OBJ_R THIS string("minimumLevel")
0010 T2 = COALESCE CV0($level) 0012
0011 T2 = QM_ASSIGN int(999)
0012 ASSIGN_OBJ THIS string("minimumLevel")
0013 OP_DATA T2
0014 RETURN CV1($original)
LIVE RANGES:
2: 0006 - 0008 (new)
MediaWiki\Logger\LegacyLogger::log:
; (lines=81, args=3, vars=7, tmps=2)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/logger/LegacyLogger.php:159-203
0000 CV0($level) = RECV 1
0001 CV1($message) = RECV 2
0002 CV2($context) = RECV_INIT 3 array(...)
0003 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Logger\\is_string")
0004 SEND_VAR_EX CV0($level) 1
0005 V7 = DO_FCALL_BY_NAME
0006 JMPZ V7 0010
0007 T8 = FETCH_STATIC_PROP_R string("levelMapping") (self) (exception)
0008 T7 = FETCH_DIM_R T8 CV0($level)
0009 ASSIGN CV0($level) T7
0010 T8 = FETCH_OBJ_R THIS string("minimumLevel")
0011 T7 = IS_SMALLER CV0($level) T8
0012 JMPZ T7 0014
0013 RETURN null
0014 T7 = FETCH_OBJ_R THIS string("isDB")
0015 JMPZ T7 0034
0016 T7 = IS_IDENTICAL CV0($level) int(100)
0017 JMPZ T7 0034
0018 T7 = ISSET_ISEMPTY_DIM_OBJ (isset) CV2($context) string("sql")
0019 JMPZ T7 0034
0020 INIT_STATIC_METHOD_CALL 4 string("MWDebug") string("query")
0021 CHECK_FUNC_ARG 1
0022 V7 = FETCH_DIM_FUNC_ARG CV2($context) string("sql")
0023 SEND_FUNC_ARG V7 1
0024 CHECK_FUNC_ARG 2
0025 V7 = FETCH_DIM_FUNC_ARG CV2($context) string("method")
0026 SEND_FUNC_ARG V7 2
0027 T8 = FETCH_DIM_R CV2($context) string("runtime_ms")
0028 T7 = DIV T8 int(1000)
0029 SEND_VAL_EX T7 3
0030 CHECK_FUNC_ARG 4
0031 V7 = FETCH_DIM_FUNC_ARG CV2($context) string("db_server")
0032 SEND_FUNC_ARG V7 4
0033 DO_FCALL
0034 BIND_GLOBAL CV3($wgDBerrorLog) string("wgDBerrorLog")
0035 T7 = FETCH_OBJ_R THIS string("isDB")
0036 JMPZ T7 0042
0037 T7 = IS_SMALLER_OR_EQUAL int(400) CV0($level)
0038 JMPZ T7 0042
0039 JMPZ CV3($wgDBerrorLog) 0042
0040 CV4($effectiveChannel) = QM_ASSIGN string("wfLogDBError")
0041 JMP 0043
0042 CV4($effectiveChannel) = FETCH_OBJ_R THIS string("channel")
0043 INIT_STATIC_METHOD_CALL 4 (self) (exception) string("shouldEmit")
0044 SEND_VAR CV4($effectiveChannel) 1
0045 SEND_VAR CV1($message) 2
0046 SEND_VAR CV0($level) 3
0047 SEND_VAR CV2($context) 4
0048 V7 = DO_FCALL
0049 JMPZ V7 0069
0050 INIT_STATIC_METHOD_CALL 3 (self) (exception) string("format")
0051 SEND_VAR CV4($effectiveChannel) 1
0052 SEND_VAR CV1($message) 2
0053 SEND_VAR CV2($context) 3
0054 V7 = DO_FCALL
0055 CV5($text) = QM_ASSIGN V7
0056 INIT_STATIC_METHOD_CALL 3 (self) (exception) string("destination")
0057 SEND_VAR CV4($effectiveChannel) 1
0058 SEND_VAR CV1($message) 2
0059 SEND_VAR CV2($context) 3
0060 V7 = DO_FCALL
0061 CV6($destination) = QM_ASSIGN V7
0062 INIT_METHOD_CALL 1 THIS string("maybeLogToStderr")
0063 SEND_VAR CV5($text) 1
0064 DO_FCALL
0065 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("emit")
0066 SEND_VAR CV5($text) 1
0067 SEND_VAR CV6($destination) 2
0068 DO_FCALL
0069 T7 = ISSET_ISEMPTY_DIM_OBJ (isset) CV2($context) string("private")
0070 JMPZ T7 0073
0071 T7 = FETCH_DIM_R CV2($context) string("private")
0072 JMPNZ T7 0080
0073 INIT_STATIC_METHOD_CALL 2 string("MWDebug") string("debugMsg")
0074 SEND_VAR_EX CV1($message) 1
0075 T7 = FETCH_OBJ_R THIS string("channel")
0076 T8 = INIT_ARRAY 1 T7 string("channel")
0077 T7 = ADD T8 CV2($context)
0078 SEND_VAL_EX T7 2
0079 DO_FCALL
0080 RETURN null
MediaWiki\Logger\LegacyLogger::shouldEmit:
; (lines=55, args=4, vars=9, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/logger/LegacyLogger.php:215-265
0000 CV0($channel) = RECV 1
0001 CV1($message) = RECV 2
0002 CV2($level) = RECV 3
0003 CV3($context) = RECV 4
0004 BIND_GLOBAL CV4($wgDebugLogFile) string("wgDebugLogFile")
0005 BIND_GLOBAL CV5($wgDBerrorLog) string("wgDBerrorLog")
0006 BIND_GLOBAL CV6($wgDebugLogGroups) string("wgDebugLogGroups")
0007 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Logger\\is_string")
0008 SEND_VAR_EX CV2($level) 1
0009 V9 = DO_FCALL_BY_NAME
0010 JMPZ V9 0014
0011 T10 = FETCH_STATIC_PROP_R string("levelMapping") (self) (exception)
0012 T9 = FETCH_DIM_R T10 CV2($level)
0013 ASSIGN CV2($level) T9
0014 T9 = IS_IDENTICAL CV0($channel) string("wfLogDBError")
0015 JMPZ T9 0018
0016 CV7($shouldEmit) = BOOL CV5($wgDBerrorLog)
0017 RETURN CV7($shouldEmit)
0018 T9 = IS_IDENTICAL CV0($channel) string("wfDebug")
0019 JMPZ T9 0022
0020 CV7($shouldEmit) = IS_NOT_EQUAL CV4($wgDebugLogFile) string("")
0021 RETURN CV7($shouldEmit)
0022 T9 = ISSET_ISEMPTY_DIM_OBJ (isset) CV6($wgDebugLogGroups) CV0($channel)
0023 JMPZ T9 0048
0024 CV8($logConfig) = FETCH_DIM_R CV6($wgDebugLogGroups) CV0($channel)
0025 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Logger\\is_array")
0026 SEND_VAR_EX CV8($logConfig) 1
0027 V9 = DO_FCALL_BY_NAME
0028 JMPZ V9 0046
0029 CV7($shouldEmit) = QM_ASSIGN bool(true)
0030 T9 = ISSET_ISEMPTY_DIM_OBJ (isset) CV8($logConfig) string("sample")
0031 JMPZ T9 0039
0032 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Logger\\mt_rand")
0033 SEND_VAL_EX int(1) 1
0034 CHECK_FUNC_ARG 2
0035 V9 = FETCH_DIM_FUNC_ARG CV8($logConfig) string("sample")
0036 SEND_FUNC_ARG V9 2
0037 V9 = DO_FCALL_BY_NAME
0038 CV7($shouldEmit) = IS_IDENTICAL V9 int(1)
0039 T9 = ISSET_ISEMPTY_DIM_OBJ (isset) CV8($logConfig) string("level")
0040 JMPZ T9 0054
0041 T11 = FETCH_DIM_R CV8($logConfig) string("level")
0042 T10 = FETCH_STATIC_PROP_R string("levelMapping") (self) (exception)
0043 T9 = FETCH_DIM_R T10 T11
0044 CV7($shouldEmit) = IS_SMALLER_OR_EQUAL T9 CV2($level)
0045 RETURN CV7($shouldEmit)
0046 CV7($shouldEmit) = TYPE_CHECK TYPE [null, true, long, double, string, array, object, resource] CV8($logConfig)
0047 RETURN CV7($shouldEmit)
0048 T9 = ISSET_ISEMPTY_DIM_OBJ (isset) CV3($context) string("private")
0049 JMPZ T9 0053
0050 T9 = FETCH_DIM_R CV3($context) string("private")
0051 JMPZ T9 0053
0052 RETURN bool(false)
0053 CV7($shouldEmit) = IS_NOT_EQUAL CV4($wgDebugLogFile) string("")
0054 RETURN CV7($shouldEmit)
LIVE RANGES:
11: 0042 - 0043 (tmp/var)
MediaWiki\Logger\LegacyLogger::format:
; (lines=72, args=3, vars=8, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/logger/LegacyLogger.php:279-317
0000 CV0($channel) = RECV 1
0001 CV1($message) = RECV 2
0002 CV2($context) = RECV 3
0003 BIND_GLOBAL CV3($wgDebugLogGroups) string("wgDebugLogGroups")
0004 BIND_GLOBAL CV4($wgLogExceptionBacktrace) string("wgLogExceptionBacktrace")
0005 T8 = IS_IDENTICAL CV0($channel) string("wfDebug")
0006 JMPZ T8 0014
0007 INIT_STATIC_METHOD_CALL 3 (self) (exception) string("formatAsWfDebug")
0008 SEND_VAR CV0($channel) 1
0009 SEND_VAR CV1($message) 2
0010 SEND_VAR CV2($context) 3
0011 V8 = DO_FCALL
0012 CV5($text) = QM_ASSIGN V8
0013 JMP 0042
0014 T8 = IS_IDENTICAL CV0($channel) string("wfLogDBError")
0015 JMPZ T8 0023
0016 INIT_STATIC_METHOD_CALL 3 (self) (exception) string("formatAsWfLogDBError")
0017 SEND_VAR CV0($channel) 1
0018 SEND_VAR CV1($message) 2
0019 SEND_VAR CV2($context) 3
0020 V8 = DO_FCALL
0021 CV5($text) = QM_ASSIGN V8
0022 JMP 0042
0023 T8 = ISSET_ISEMPTY_DIM_OBJ (isset) CV3($wgDebugLogGroups) CV0($channel)
0024 JMPNZ T8 0036
0025 INIT_STATIC_METHOD_CALL 3 (self) (exception) string("formatAsWfDebug")
0026 SEND_VAR CV0($channel) 1
0027 T9 = ROPE_INIT 4 string("[")
0028 T9 = ROPE_ADD 1 T9 CV0($channel)
0029 T9 = ROPE_ADD 2 T9 string("] ")
0030 T8 = ROPE_END 3 T9 CV1($message)
0031 SEND_VAL T8 2
0032 SEND_VAR CV2($context) 3
0033 V8 = DO_FCALL
0034 CV5($text) = QM_ASSIGN V8
0035 JMP 0042
0036 INIT_STATIC_METHOD_CALL 3 (self) (exception) string("formatAsWfDebugLog")
0037 SEND_VAR CV0($channel) 1
0038 SEND_VAR CV1($message) 2
0039 SEND_VAR CV2($context) 3
0040 V8 = DO_FCALL
0041 CV5($text) = QM_ASSIGN V8
0042 JMPZ CV4($wgLogExceptionBacktrace) 0067
0043 T8 = ISSET_ISEMPTY_DIM_OBJ (isset) CV2($context) string("exception")
0044 JMPZ T8 0067
0045 CV6($e) = FETCH_DIM_R CV2($context) string("exception")
0046 CV7($backtrace) = QM_ASSIGN bool(false)
0047 T8 = INSTANCEOF CV6($e) string("Throwable")
0048 JMPZ T8 0054
0049 INIT_STATIC_METHOD_CALL 1 string("MWExceptionHandler") string("getRedactedTrace")
0050 SEND_VAR_EX CV6($e) 1
0051 V8 = DO_FCALL
0052 CV7($backtrace) = QM_ASSIGN V8
0053 JMP 0061
0054 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Logger\\is_array")
0055 SEND_VAR_EX CV6($e) 1
0056 V8 = DO_FCALL_BY_NAME
0057 JMPZ V8 0061
0058 T8 = ISSET_ISEMPTY_DIM_OBJ (isset) CV6($e) string("trace")
0059 JMPZ T8 0061
0060 CV7($backtrace) = FETCH_DIM_R CV6($e) string("trace")
0061 JMPZ CV7($backtrace) 0067
0062 INIT_STATIC_METHOD_CALL 1 string("MWExceptionHandler") string("prettyPrintTrace")
0063 SEND_VAR_EX CV7($backtrace) 1
0064 V9 = DO_FCALL
0065 T8 = CONCAT V9 string("
")
0066 ASSIGN_OP (CONCAT) CV5($text) T8
0067 INIT_STATIC_METHOD_CALL 2 (self) (exception) string("interpolate")
0068 SEND_VAR CV5($text) 1
0069 SEND_VAR CV2($context) 2
0070 V8 = DO_FCALL
0071 RETURN V8
LIVE RANGES:
9: 0027 - 0030 (rope)
MediaWiki\Logger\LegacyLogger::formatAsWfDebug:
; (lines=30, args=3, vars=4, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/logger/LegacyLogger.php:327-338
0000 CV0($channel) = RECV 1
0001 CV1($message) = RECV 2
0002 CV2($context) = RECV 3
0003 JMP_FRAMELESS 8 string("mediawiki\\logger\\preg_replace") 0010
0004 INIT_NS_FCALL_BY_NAME 3 string("MediaWiki\\Logger\\preg_replace")
0005 SEND_VAL_EX string("![\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f]!") 1
0006 SEND_VAL_EX string(" ") 2
0007 SEND_VAR_EX CV1($message) 3
0008 V4 = DO_FCALL_BY_NAME
0009 JMP 0012
0010 V4 = FRAMELESS_ICALL_3(preg_replace) string("![\\x00-\\x08\\x0b\\x0c\\x0e-\\x1f]!") string(" ")
0011 OP_DATA CV1($message)
0012 CV3($text) = QM_ASSIGN V4
0013 T4 = ISSET_ISEMPTY_DIM_OBJ (isset) CV2($context) string("seconds_elapsed")
0014 JMPZ T4 0023
0015 T4 = FETCH_DIM_R CV2($context) string("seconds_elapsed")
0016 T5 = ROPE_INIT 5 T4
0017 T5 = ROPE_ADD 1 T5 string(" ")
0018 T4 = FETCH_DIM_R CV2($context) string("memory_used")
0019 T5 = ROPE_ADD 2 T5 T4
0020 T5 = ROPE_ADD 3 T5 string(" ")
0021 T4 = ROPE_END 4 T5 CV3($text)
0022 ASSIGN CV3($text) T4
0023 T4 = ISSET_ISEMPTY_DIM_OBJ (isset) CV2($context) string("prefix")
0024 JMPZ T4 0028
0025 T5 = FETCH_DIM_R CV2($context) string("prefix")
0026 T4 = FAST_CONCAT T5 CV3($text)
0027 ASSIGN CV3($text) T4
0028 T4 = FAST_CONCAT CV3($text) string("
")
0029 RETURN T4
LIVE RANGES:
4: 0011 - 0012 (tmp/var)
5: 0016 - 0021 (rope)
MediaWiki\Logger\LegacyLogger::formatAsWfLogDBError:
; (lines=34, args=3, vars=10, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/logger/LegacyLogger.php:348-364
0000 CV0($channel) = RECV 1
0001 CV1($message) = RECV 2
0002 CV2($context) = RECV 3
0003 BIND_GLOBAL CV3($wgDBerrorLogTZ) string("wgDBerrorLogTZ")
0004 BIND_STATIC (ref) CV4($cachedTimezone)
0005 JMPNZ CV4($cachedTimezone) 0010
0006 V10 = NEW 1 string("DateTimeZone")
0007 SEND_VAR_EX CV3($wgDBerrorLogTZ) 1
0008 DO_FCALL
0009 ASSIGN CV4($cachedTimezone) V10
0010 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Logger\\date_create")
0011 SEND_VAL_EX string("now") 1
0012 SEND_VAR_EX CV4($cachedTimezone) 2
0013 V10 = DO_FCALL_BY_NAME
0014 CV5($d) = QM_ASSIGN V10
0015 INIT_METHOD_CALL 1 CV5($d) string("format")
0016 SEND_VAL_EX string("D M j G:i:s T Y") 1
0017 V10 = DO_FCALL
0018 CV6($date) = QM_ASSIGN V10
0019 INIT_NS_FCALL_BY_NAME 0 string("MediaWiki\\Logger\\wfHostname")
0020 V10 = DO_FCALL_BY_NAME
0021 CV7($host) = QM_ASSIGN V10
0022 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\WikiMap\\WikiMap") string("getCurrentWikiId")
0023 V10 = DO_FCALL
0024 CV8($wiki) = QM_ASSIGN V10
0025 T10 = ROPE_INIT 8 CV6($date)
0026 T10 = ROPE_ADD 1 T10 string(" ")
0027 T10 = ROPE_ADD 2 T10 CV7($host)
0028 T10 = ROPE_ADD 3 T10 string(" ")
0029 T10 = ROPE_ADD 4 T10 CV8($wiki)
0030 T10 = ROPE_ADD 5 T10 string(" ")
0031 T10 = ROPE_ADD 6 T10 CV1($message)
0032 CV9($text) = ROPE_END 7 T10 string("
")
0033 RETURN CV9($text)
LIVE RANGES:
10: 0007 - 0009 (new)
10: 0025 - 0032 (rope)
MediaWiki\Logger\LegacyLogger::formatAsWfDebugLog:
; (lines=23, args=3, vars=7, tmps=4)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/logger/LegacyLogger.php:374-380
0000 CV0($channel) = RECV 1
0001 CV1($message) = RECV 2
0002 CV2($context) = RECV 3
0003 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Logger\\wfTimestamp")
0004 T7 = FETCH_CONSTANT (unqualified-in-namespace) string("MediaWiki\\Logger\\TS_DB")
0005 SEND_VAL_EX T7 1
0006 V7 = DO_FCALL_BY_NAME
0007 CV3($time) = QM_ASSIGN V7
0008 INIT_STATIC_METHOD_CALL 0 string("MediaWiki\\WikiMap\\WikiMap") string("getCurrentWikiId")
0009 V7 = DO_FCALL
0010 CV4($wiki) = QM_ASSIGN V7
0011 INIT_NS_FCALL_BY_NAME 0 string("MediaWiki\\Logger\\wfHostname")
0012 V7 = DO_FCALL_BY_NAME
0013 CV5($host) = QM_ASSIGN V7
0014 T7 = ROPE_INIT 8 CV3($time)
0015 T7 = ROPE_ADD 1 T7 string(" ")
0016 T7 = ROPE_ADD 2 T7 CV5($host)
0017 T7 = ROPE_ADD 3 T7 string(" ")
0018 T7 = ROPE_ADD 4 T7 CV4($wiki)
0019 T7 = ROPE_ADD 5 T7 string(": ")
0020 T7 = ROPE_ADD 6 T7 CV1($message)
0021 CV6($text) = ROPE_END 7 T7 string("
")
0022 RETURN CV6($text)
LIVE RANGES:
7: 0014 - 0021 (rope)
MediaWiki\Logger\LegacyLogger::interpolate:
; (lines=32, args=2, vars=5, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/logger/LegacyLogger.php:389-398
0000 CV0($message) = RECV 1
0001 CV1($context) = RECV 2
0002 JMP_FRAMELESS 8 string("mediawiki\\logger\\str_contains") 0008
0003 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Logger\\str_contains")
0004 SEND_VAR_EX CV0($message) 1
0005 SEND_VAL_EX string("{") 2
0006 V5 = DO_FCALL_BY_NAME
0007 JMP 0009
0008 V5 = FRAMELESS_ICALL_2(str_contains) CV0($message) string("{")
0009 JMPZ V5 0031
0010 CV2($replace) = QM_ASSIGN array(...)
0011 V5 = FE_RESET_R CV1($context) 0022
0012 T6 = FE_FETCH_R V5 CV3($val) 0022
0013 ASSIGN CV4($key) T6
0014 T6 = FAST_CONCAT string("{") CV4($key)
0015 T7 = FAST_CONCAT T6 string("}")
0016 INIT_STATIC_METHOD_CALL 1 (self) (exception) string("flatten")
0017 SEND_VAR CV3($val) 1
0018 V6 = DO_FCALL
0019 ASSIGN_DIM CV2($replace) T7
0020 OP_DATA V6
0021 JMP 0012
0022 FE_FREE V5
0023 JMP_FRAMELESS 40 string("mediawiki\\logger\\strtr") 0029
0024 INIT_NS_FCALL_BY_NAME 2 string("MediaWiki\\Logger\\strtr")
0025 SEND_VAR_EX CV0($message) 1
0026 SEND_VAR_EX CV2($replace) 2
0027 V5 = DO_FCALL_BY_NAME
0028 JMP 0030
0029 V5 = FRAMELESS_ICALL_2(strtr) CV0($message) CV2($replace)
0030 ASSIGN CV0($message) V5
0031 RETURN CV0($message)
LIVE RANGES:
5: 0012 - 0022 (loop)
7: 0016 - 0019 (tmp/var)
MediaWiki\Logger\LegacyLogger::flatten:
; (lines=116, args=1, vars=2, tmps=3)
; (after optimizer)
; /var/tmp/mediawiki-1.42.1/includes/debug/logger/LegacyLogger.php:407-459
0000 CV0($item) = RECV 1
0001 T2 = TYPE_CHECK (null) CV0($item)
0002 JMPZ T2 0004
0003 RETURN string("[Null]")
0004 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Logger\\is_bool")
0005 SEND_VAR_EX CV0($item) 1
0006 V2 = DO_FCALL_BY_NAME
0007 JMPZ V2 0011
0008 JMPZ CV0($item) 0010
0009 RETURN string("true")
0010 RETURN string("false")
0011 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Logger\\is_float")
0012 SEND_VAR_EX CV0($item) 1
0013 V2 = DO_FCALL_BY_NAME
0014 JMPZ V2 0033
0015 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Logger\\is_infinite")
0016 SEND_VAR_EX CV0($item) 1
0017 V2 = DO_FCALL_BY_NAME
0018 JMPZ V2 0026
0019 T2 = IS_SMALLER int(0) CV0($item)
0020 JMPZ T2 0023
0021 T3 = QM_ASSIGN string("")
0022 JMP 0024
0023 T3 = QM_ASSIGN string("-")
0024 T2 = FAST_CONCAT T3 string("INF")
0025 RETURN T2
0026 INIT_NS_FCALL_BY_NAME 1 string("MediaWiki\\Logger\\is_nan")
0027 SEND_VAR_EX CV0($item) 1
0028 V2 = DO_FCALL_BY_NAME
0029 JMPZ V2 0031
0030 RETURN string("NaN")
0031 T2 = CAST (string) CV0($item)
0032 RETURN T2
0033 I
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment