repo.or.cz
/
hiphop-php.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Allow parameter promotion in constructors
[hiphop-php.git]
/
hphp
/
test
/
slow
/
ctor_param_promotion_bad_mod.php
blob
32a78d316d2142dd8a1a7ac9a49c980b009e31bf
1
<
?php
2
3
//
4
// only public, private or protected allowed
5
//
6
class
A
{
7
public function
__construct
(
static
$a
) {}
8
}
9