1--TEST--
2Setting SplPriorityQueue extract flags to zero generates an exception
3--FILE--
4<?php
5
6$queue = new SplPriorityQueue();
7$queue->setExtractFlags(0);
8
9?>
10--EXPECTF--
11Fatal error: Uncaught RuntimeException: Must specify at least one extract flag in %s:%d
12Stack trace:
13#0 %s(%d): SplPriorityQueue->setExtractFlags(0)
14#1 {main}
15  thrown in %s on line %d
16