mirror of
https://github.com/php/php-src.git
synced 2024-10-19 15:34:25 +00:00
15 lines
331 B
PHP
15 lines
331 B
PHP
--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
|