I guess there is no implementation mistake here. By the way, thanks for the info.
It is not about whether the PHP has the in-built class or not. It is about Linked List and how it can be implemented from scratch in PHP. I hope it helped.
A nice and informative article. Thanks for sharing.