1--TEST--
2SplDoublyLinkedList::top empty
3--CREDITS--
4Gabriel Caruso (carusogabriel34@gmail.com)
5--FILE--
6<?php
7try {
8 (new SplDoublyLinkedList)->top();
9} catch (RuntimeException $e) {
10 echo $e->getMessage();
11}
12?>
13--EXPECT--
14Can't peek at an empty datastructure
15