projects
/
m6w6
/
ext-psi
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
travis: update
[m6w6/ext-psi]
/
tests
/
parser
/
enum001.phpt
1
--TEST--
2
enum
3
--FILE--
4
===TEST===
5
<?php
6
var_dump(psi_validate_string(<<<PSI
7
enum a {
8
A,
9
B,
10
C
11
}
12
13
enum b {
14
FAILURE = -1,
15
SUCCESS = 0
16
}
17
18
enum c {
19
no = -1,
20
maybe = SUCCESS,
21
yes,
22
sure = yes
23
}
24
PSI
25
));
26
?>
27
===DONE===
28
--EXPECT--
29
===TEST===
30
bool(true)
31
===DONE===