mirror of
https://github.com/php/php-src.git
synced 2024-12-03 23:05:57 +08:00
18 lines
403 B
PHP
18 lines
403 B
PHP
--TEST--
|
|
SPL: splpriorityqueue setExtractFlags() Test arguments
|
|
--CREDITS--
|
|
Roshan Abraham (roshanabrahams@gmail.com)
|
|
TestFest London May 2009
|
|
--FILE--
|
|
<?php
|
|
|
|
$sp = new SplPriorityQueue();
|
|
|
|
$sp->setExtractFlags(1,1); // Should throw a warning as setExtractFlags expects only 1 argument
|
|
|
|
?>
|
|
--EXPECTF--
|
|
|
|
Warning: SplPriorityQueue::setExtractFlags() expects exactly 1 parameter, 2 given in %s on line %d
|
|
|