Arquivos
hhvm/hphp/test/quick/switch_special_cases.php.expect
T
ptarjan 503f75d08b Rename test directories
These names don't make sense now that we run both suites the same
way.
2013-04-17 09:06:51 -07:00

61 linhas
979 B
Plaintext

bool(true)
--------------------------------
NULL
0
--------------------------------
bool(true)
-1
--------------------------------
bool(false)
0
--------------------------------
int(5)
5
--------------------------------
float(2)
2 or 4: 2
--------------------------------
float(2.2)
default
--------------------------------
string(1) "2"
2 or 4: 2
--------------------------------
string(3) "2.0"
2 or 4: 2.0
--------------------------------
string(3) "2.2"
default
--------------------------------
string(4) "blar"
0
--------------------------------
string(0) ""
0
--------------------------------
int(4)
2 or 4: 4
--------------------------------
array(0) {
}
default
--------------------------------
array(2) {
[0]=>
string(3) "foo"
[1]=>
string(4) "floo"
}
default
--------------------------------
object(stdClass)#1 (0) {
}
1
--------------------------------
object(c)#2 (0) {
}
1
--------------------------------
resource(4) of type (stream)
2 or 4: Resource id #4