rfc:splweaktypehintingwithautoboxing
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:splweaktypehintingwithautoboxing [2010/05/31 17:06] – Fixed pre-incrementation in source code jpauli | rfc:splweaktypehintingwithautoboxing [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Request for Comments: | + | ====== Request for Comments: |
* Version: 1.0 | * Version: 1.0 | ||
* Date: 2010-05-31 | * Date: 2010-05-31 | ||
Line 36: | Line 36: | ||
class foo implements WeakTypeHinting{ | class foo implements WeakTypeHinting{ | ||
public function bar(SplInt $baz){ | public function bar(SplInt $baz){ | ||
- | return ++$baz; | + | |
- | } | + | } |
} | } | ||
rfc/splweaktypehintingwithautoboxing.1275325574.txt.gz · Last modified: 2017/09/22 13:28 (external edit)