mirror of
https://github.com/php/php-src.git
synced 2024-10-02 07:16:11 +00:00
11 lines
358 B
Plaintext
11 lines
358 B
Plaintext
|
--TEST--
|
||
|
Create a SplDoublyLinkedList, call count() and pass a SplDoublyLinkedList object as the parameter.
|
||
|
--CREDITS--
|
||
|
Philip Norton philipnorton42@gmail.com
|
||
|
--FILE--
|
||
|
<?php
|
||
|
$dll = new SplDoublyLinkedList(2);
|
||
|
$dll->count(new SplDoublyLinkedList(2));
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Warning: SplDoublyLinkedList::count() expects exactly 0 parameters, 1 given in %s on line %d
|