From 70dc5d2d3bc9eb7d0a47685971e56a4767d09221 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 31 Mar 2022 23:52:31 -0700 Subject: Minor fix to keep php from whining in some cases. --- php/phpgats2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/phpgats2.php b/php/phpgats2.php index f97bd89..5bb1738 100644 --- a/php/phpgats2.php +++ b/php/phpgats2.php @@ -266,7 +266,7 @@ function _phpgats2__write( $unknown ) } else if( is_string( $unknown ) ) { - if( bcmul( $unknown, "1", 0 ) === $unknown ) + if( @bcmul( $unknown, "1", 0 ) === $unknown ) return _phpgats2_packInteger( $unknown ); return _phpgats2_writeString( $unknown ); } -- cgit v1.2.3