Hi,
I'm trying to implement a doubly linked list as described by SPL. This is my code:
<?php
$list = new SplDoublyLinkedList();
?>
That's how they create a list in the manual, so, in theory, it's correct. However, I receive this error:
Fatal error: Class 'SplDoublyLinkedList' not found in /var/www/joomla/trunk/components/com_camps/views/camp/tmpl/default.php on line 61
My system is running PHP 5.2.4, and the docs tell me that the SPL extension is available and compiled by default in PHP 5.0.0. However, I haven't been able to find any information at all on how to access the data structures that I really need to implement?
Anyone know?
Thanks so much.