mirror of
https://github.com/php/php-src.git
synced 2024-10-01 06:46:08 +00:00
11 lines
358 B
PHP
11 lines
358 B
PHP
--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
|