<?php try { $dll = new SplDoublyLinkedList(); var_dump($dll->add(12,'Offset 12 should not exist')); } catch (OutOfRangeException $e) { echo "Exception: ".$e->getMessage()."\n"; } ?>
You have javascript disabled. You will not be able to edit any code.