Created
January 21, 2012 09:24
-
-
Save thekid/1652177 to your computer and use it in GitHub Desktop.
XP Framework: Patch to implement RFC #0186
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/core/ChangeLog-5.9 b/core/ChangeLog-5.9 | |
| index cda21fd..2308d9e 100644 | |
| --- a/core/ChangeLog-5.9 | |
| +++ b/core/ChangeLog-5.9 | |
| @@ -8,12 +8,16 @@ Git commit: ????? | |
| Heads up! | |
| ~~~~~~~~~ | |
| +- The SAPI feature is now deprecated and will be removed in next major series! | |
| + (friebe) | |
| - Merged pull request #93: Access to private constructors, methods and fields | |
| (friebe) | |
| RFCs | |
| ~~~~ | |
| +- Implemented first part of RFC #0186 - deprecated SAPI feature. | |
| + (friebe) | |
| - Implemented RFC #0215: Add accessor for XP Framework version | |
| (kiesel, friebe) | |
| - Implemented RFC #0222: Optional support for PHP 5.3 namespaces | |
| diff --git a/core/src/main/php/lang.base.php b/core/src/main/php/lang.base.php | |
| index 1d03c12..17e7018 100644 | |
| --- a/core/src/main/php/lang.base.php | |
| +++ b/core/src/main/php/lang.base.php | |
| @@ -179,7 +179,7 @@ | |
| } | |
| // }}} | |
| - // {{{ public var sapi(string* sapis) | |
| + // {{{ public deprecated var sapi(string* sapis) | |
| // Sets an SAPI | |
| static function sapi() { | |
| foreach ($a= func_get_args() as $name) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment