<?php
/* Main configuration
VIM variables:
vim600: noet sw=4 expandtab fdm=marker nu
vim<600: noet sw=4 expandtab ts=4 nu
*/
class Node{
var $nd_prev;
var $nd_branch;
var $nd_next;
var $nd_value;
function Node(){
$this->nd_prev=NULL;
$this->nd_branch=NULL;
$this->nd_next=NULL;
$this->nd_value=NULL;
}
}
$some="abcde";
$nd_head=NULL;
$nd_prev=NULL;
$nd_cur=NULL;
$nd_next=NULL;
for($i=0;strlen($some)>$i;++$i){
$nd_cur=new Node();
$nd_cur->nd_value=$some[$i];
if(is_null($nd_head)){