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
add bitset operations and tests
[hiphop-php.git]
/
hphp
/
test
/
slow
/
goto
/
1915.php
blob
81ae854a81ec44b365cb3e377561b8abfef654b7
1
<
?php
2
3
function
fcn
() {
4
return true
;
5
}
6
class
X
{
7
function
f
(
$x
) {
8
goto
over_switch
;
9
switch
(
$this
) {
10
case
fcn
():
echo
'fcn'
;
11
default
:
echo
'fun'
;
12
}
13
over_switch
:
var_dump
(
$x
);
14
}
15
}
16
$x
=
new
X
;
17
$x
->
f
(
42
);