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
Remove support for variable variables from parser, typechecker and frontend
[hiphop-php.git]
/
hphp
/
test
/
zend
/
good
/
tests
/
lang
/
044.php
blob
7bd49246138efa27c6f76a06bdfa8b4e7c924c0f
1
<
?php
2
class
A
{
3
static function
foo
() {
return
'foo'
; }
4
}
5
$classname
=
'A'
;
6
$wrongClassname
=
'B'
;
7
8
$methodname
=
'foo'
;
9
10
echo
$classname
::
$methodname
().
"
\n
"
;
11
12
echo
$wrongClassname
::
$methodname
().
"
\n
"
;
13
?
>
14
===
DONE
===