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
/
public_static_props_017.php
blob
71ba527cf87c31caf42e3a7b4f3b3846ade529dc
1
<
?php
2
3
class
X
{
4
static
$y
=
array
(
1
,
2
,
3
);
5
6
static function
go
() {
7
unset
(
self
::
$y
[
0
]);
8
}
9
static function
y
() {
10
return
self
::
$y
;
11
}
12
}
13
14
X
::
go
();
15
var_dump
(
X
::
y
());