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