patches for Net/URL.php and HTTP/Request.php, second attempt

From: Date: Mon, 14 Oct 2002 12:38:07 +0000
Subject: patches for Net/URL.php and HTTP/Request.php, second attempt
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-10047@lists.php.net to get a copy of this message
Greetings! This is another attempt to get rid of '[key]' after array variables. This time, I preserved backwards compatibility. Consider the following $url = new Net_URL('http://www.example.com/index.php?a[]=b&a[]=c&b=d&b=e'); echo $url->getUrl(); // outputs 'http://www.example.com/index.php?a[0]=b&a[1]=c&b=e' $url = new Net_URL('http://www.example.com/index.php?a[]=b&a[]=c&b=d&b=e', false); echo $url->getUrl(); // outputs 'http://www.example.com/index.php?a[]=b&a[]=c&b=d&b=e' The patches are against Net_URL 1.18 and HTTP_Request 1.19 -- С уважением, Алексей Борзов отдел интернет-проектов ООО "РДВ-Медиа" http://www.rdw.ru http://www.vashdosug.ru

« previous php.pear.dev (#10047) next »