blob: 94312a0f60819117c5e6e2c3456e822a200f1eb5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--TEST--
SplDoublyLinkedList::bottom() - pass in an unexpected float parameter
--CREDITS--
PHPNW Testfest 2009 - Adrian Hardy
--FILE--
<?php
$list = new SplDoublyLinkedList();
$list->push("top");
$list->bottom(3.14159);
?>
--EXPECTF--
Warning: SplDoublyLinkedList::bottom() expects exactly 0 parameters, 1 given in %s on line %d
|