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
Fix issue with calling a unique, non-persistent method
[hiphop-php.git]
/
hphp
/
test
/
slow
/
hhbbc
/
static_props_017.php
blob
f57199df83673585ff33d693ff95d5406cefb10b
1
<
?hh
2
3
class
Foo
{
4
private static
$a
=
array
(
'foo'
=>
'a'
,
'bar'
=>
'b'
);
5
6
public static function
main
() {
7
unset
(
self
::
$a
[
'foo'
]);
8
}
9
public static function
get
() {
10
return
self
::
$a
;
11
}
12
}
13
14
function
main
() {
15
Foo
::
main
();
16
var_dump
(
Foo
::
get
());
17
}
18
main
();