Jump to content

PHP Linked List


santiago.basulto

Recommended Posts

Hey everyone!

 

I've wrote a LinkedList with the same interface to the Java one. Take a look and tell me what you think about it.

 

I'm just coding for personal use, so any comment or recomendation will be well received.

 

You can find it at: http://blogs.xingular.net/santiago/php/linkedlist-en-php/

Thanks!

 

 

Nice

work i saw code this is very good. you used oops concept in php.

 

i like this code....

Link to comment
Share on other sites

Formatting of the code on your page doesn't look good.

 

You're aware that linked lists are a part of SPL, which has been available as part of PHP from 5.0.0

 

Yes Mark, i'm aware. The mean of this implemenation is just practice. I'd not use it in a professional app, or production eviroment. The main idea was to coding something and ask you guys (who are real pros) what do you think about it.

 

Thanks for your help everybody!

 

PD: I'm coding a tree right now. And i hope get a B-Tree beta implementation for december. That's something more interesting.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.