Ori.livneh has uploaded a new change for review.

Change subject: (Bug 37957) Replace php_sapi_name() with PHP_SAPI
......................................................................

(Bug 37957) Replace php_sapi_name() with PHP_SAPI

The PHP_SAPI constant has been available since PHP 4.2.0. It's more
concise to use the constant and has less overhead than a function call.

Furthermore, PHP_SAPI rhymes with "happy", whereas "php_sapi_name"
rhymes with "lame". QED, etc.

Change-Id: Ie8c121cb8fcef50536af8d3f66723b458f0bf9af
---
M includes/DefaultSettings.php
M includes/ForkController.php
M includes/GlobalFunctions.php
M includes/api/ApiQuerySiteinfo.php
M includes/filebackend/SwiftFileBackend.php
M includes/normal/RandomTest.php
M includes/normal/Utf8CaseGenerate.php
M includes/normal/Utf8Test.php
M includes/normal/UtfNormalBench.php
M includes/normal/UtfNormalGenerate.php
M includes/normal/UtfNormalMemStress.php
M includes/normal/UtfNormalTest.php
M includes/normal/UtfNormalTest2.php
M includes/profiler/ProfilerSimpleText.php
M includes/profiler/ProfilerSimpleTrace.php
M includes/specials/SpecialVersion.php
M maintenance/Maintenance.php
M maintenance/dev/includes/router.php
M maintenance/locking/LockServerDaemon.php
M maintenance/mwdocgen.php
M maintenance/proxy_check.php
21 files changed, 23 insertions(+), 24 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/79/47379/1
--
To view, visit https://gerrit.wikimedia.org/r/47379
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie8c121cb8fcef50536af8d3f66723b458f0bf9af
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Ori.livneh <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to