Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6933455
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:50:05+00:00 2026-05-27T11:50:05+00:00

I need to use a double linked list using PHP for my script so

  • 0

I need to use a double linked list using PHP for my script so I dug on the web and found a very good one:

http://www.codediesel.com/algorithms/doubly-linked-list-in-php/

this one made me understand how it works, and how the elements are tied together etc…

Now, PHP has its own set of SPL functions for double linked lists, which makes it very easy but on the other hand, I have to trust what php do and I am also limited to what they have.

Should I use instead the one from PHP? Or should I use this code in the link and in case I want to customize it, can I easily?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T11:50:05+00:00Added an answer on May 27, 2026 at 11:50 am

    Use whatever is more appropriate for you, but here are some considerations:

    • PHP SPL code is maintained and community-vetted, code from a random blog is typically not
    • the SplDoublyLinkedList is already there, no extra code to maintain
    • the SplDoublyLinkedList is only there if your PHP version is current
    • you can extend and customize the SplDoublyLinkedList class to your liking
    • the SplDoublyLinkedList may be faster, since it’s native code (I guess); benchmark if this an important factor to you
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need a double linked list in C, but it must be for different
i have a double linked list with many list elements. so i can use
I need to store a double as a string. I know I can use
Possible Duplicate: decimal vs double! - Which one should I use and when? I'm
One is supposed to use double buffering when running locally, but to not use
I need to use some legacy classes in Hibernate. One of the classes doesn't
I need to use a field of type numeric(11,9) in mysql. I'm using C
I need to use an unsigned double but it turns out C# does not
I need you to review my implementation of a Singly Linked List (SLL) please.
I need to use double quotes in a string that uses the @ symbol.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.