mirror of
https://github.com/php/php-src.git
synced 2024-10-19 15:34:25 +00:00
14 lines
356 B
Plaintext
14 lines
356 B
Plaintext
|
--TEST--
|
||
|
Check that SplDoublyLinkedList::push generate a warning and return NULL with missing param
|
||
|
--CREDITS--
|
||
|
PHPNW Testfest 2009 - Simon Westcott (swestcott@gmail.com)
|
||
|
--FILE--
|
||
|
<?php
|
||
|
$dll = new SplDoublyLinkedList();
|
||
|
var_dump($dll->push());
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Warning: SplDoublyLinkedList::push() expects exactly 1 parameter, 0 given in %s on line %d
|
||
|
NULL
|
||
|
|