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 EntryPoints to some tests (round 30)
[hiphop-php.git]
/
hphp
/
test
/
zend
/
good
/
Zend
/
tests
/
traits
/
bugs
/
abstract-methods01.php
blob
64ff91a6c3d6404d532dc30a70b1cf18fb695d70
1
<
?php
2
3
trait THello
{
4
public abstract function
hello
();
5
}
6
7
class
TraitsTest
{
8
use
THello
;
9
}
10
11
<<
__EntryPoint
>>
function
main
() {
12
error_reporting
(
E_ALL
);
13
$test
=
new
TraitsTest
();
14
$test
->
hello
();
15
}