We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cbf33e commit 09bdb07Copy full SHA for 09bdb07
php.go
@@ -1381,7 +1381,6 @@ func Bin2hex(str string) (string, error) {
1381
i, err := strconv.ParseInt(str, 2, 0)
1382
if err != nil {
1383
// If input is not binary number
1384
- // Fix suggested at https://github.com/syyongx/php2go/issues/25 by https://github.com/tobychui
1385
if err.(*strconv.NumError).Err == strconv.ErrSyntax {
1386
byteArray := []byte(str)
1387
var out string
0 commit comments