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
global statement removal: hphp/test [7/x]
[hiphop-php.git]
/
hphp
/
test
/
quick
/
countable.php
blob
988d3390c3d9b4850289a335494f593ca2cf3c60
1
<
?hh
2
3
class
klass
implements
Countable
{
4
public function
count
() {
return
123
; }
5
}
6
7
function
main
() {
8
$k
=
new
klass
;
9
var_dump
(
count
(
$k
));
10
}
11
main
();
12