This topic is locked

Xampp 1.8.0 Beta 4 error - v6.1 - Build 11777

5/18/2012 4:43:28 PM
PHPRunner General questions
HJB author

Fatal error: Cannot redeclare hex2bin() in C:\xampp\htdocs\vitali\include\phpfunctions.php on line 1411
lines 1400 to 1411 read:
1400 function hex2bin($source)

1401 {

1402 if(!is_string($source) || strlen($source) == 0 || strlen($source) % 2 > 0)

1403 return '';

1404 $bin = "";

1405 $i = 0;

1406 do {

1407 $bin .= chr(hexdec($source[$i].$source[$i + 1]));

1408 $i += 2;

1409 } while ($i < strlen($source));

1410 return $bin;

1411 }
Xampp Beta Windows (1.8.0-beta4):

Apache (2.4.2)

MySQL (5.5.24)

PHP (5.4.3)

phpMyAdmin (3.5.1)

OpenSSL (1.0.0g)

XAMPP Control Panel (3.0.11)

Strawberry Perl (5.14.2-portable)

Added msvcr100.dll