mirror of
https://github.com/php/php-src.git
synced 2024-10-05 00:36:17 +00:00
14 lines
309 B
PHP
14 lines
309 B
PHP
--TEST--
|
|
SplDoublyLinkedList::offsetGet() with no parameter passed.
|
|
--CREDITS--
|
|
PHPNW Test Fest 2009 - Jordan Hatch
|
|
--FILE--
|
|
<?php
|
|
|
|
$array = new SplDoublyLinkedList( );
|
|
|
|
$get = $array->offsetGet();
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Warning: SplDoublyLinkedList::offsetGet() expects exactly 1 parameter, 0 given in %s on line %d
|