mirror of
https://github.com/php/php-src.git
synced 2024-10-03 07:46:12 +00:00
12 lines
290 B
PHP
12 lines
290 B
PHP
--TEST--
|
|
Check that SplDoublyLinkedList::add generate a warning and returns a NULL with missing arguments
|
|
--FILE--
|
|
<?php
|
|
$dll = new SplDoublyLinkedList();
|
|
var_dump($dll->add());
|
|
?>
|
|
--EXPECTF--
|
|
Warning: SplDoublyLinkedList::add() expects exactly 2 parameters, 0 given in %s on line %d
|
|
NULL
|
|
|