blob: d8b71b20cfd08bf18a34cb529b18caa35acff8af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--TEST--
SPL: Countable
--FILE--
<?php
class Test implements Countable
{
function count()
{
return 4;
}
};
$a = new Test;
var_dump(count($a));
?>
===DONE===
--EXPECT--
int(4)
===DONE===
|