php链表

转载来的文章,看下这个吧

http://www.oschina.net/code/snippet_129890_4731

原文地址:https://www.cnblogs.com/joyfei/p/3681922.html