mirror of
https://github.com/php/php-src.git
synced 2024-10-19 23:44:13 +00:00
15 lines
331 B
Plaintext
15 lines
331 B
Plaintext
|
--TEST--
|
||
|
SplDoublyLinkedList::bottom() - pass in an unexpected array parameter
|
||
|
--CREDITS--
|
||
|
PHPNW Testfest 2009 - Adrian Hardy
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
$list = new SplDoublyLinkedList();
|
||
|
$list->push("top");
|
||
|
$list->bottom(array());
|
||
|
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Warning: SplDoublyLinkedList::bottom() expects exactly 0 parameters, 1 given in %s on line %d
|