r4229 bugfix: IPv6 was broken with PHP older than 5.2
authorAlexey Andriyanov <alan@al-an.info>
Tue, 15 Feb 2011 11:51:05 +0000 (11:51 +0000)
committerAlexey Andriyanov <alan@al-an.info>
Tue, 15 Feb 2011 11:51:05 +0000 (11:51 +0000)
commit522b6f9091d1fd3232c0755f66a75de4c63e2037
tree5e18270ddeace79ae126a7342d1d3a861ebe921c
parentce1f34ef52b849aa244b289ceef21362736fdbf8
r4229 bugfix: IPv6 was broken with PHP older than 5.2
all(hopefully) implicit conversions from IPv6Address class into string using magic __toString class method was replaced by exclicit toBin() method calls.

affected functions:
 renderSeparator
 getPageNumOfIPv6
 scanIPv6Space
 bindIPv6ToObject
 getIPv6AddressNetworkId
 updateV6Address
 updateIPv6Bond
 unbindIPv6FromObject
 createIPv6Prefix
 IPv6NetworkCmp

IPv6Address class:
 new field-proxy function toBin()
 magic method __toString was substituted by temporary backtrace-showing code to find hidden calls to magic method before the release occurs.
wwwroot/inc/IPv6.php
wwwroot/inc/config.php
wwwroot/inc/database.php
wwwroot/inc/functions.php
wwwroot/inc/interface.php