Re: convBase fromCharSet1 toCharSet2 WITHOUT BCMath

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 9, 2015 at 2:01 PM, Dee Ayy <dee.ayy@xxxxxxxxx> wrote:

> Thanks but your solution would still be to use BC Math.  That is not my
> question.
>
> I don't want to get into a back and forth discussion defending my admin's
> or company's policies which I am merely subject to.
> My admin does not use the generic ./configure to --enable-bcmath
> http://php.net/manual/en/bc.installation.php
> It is done through the distro's package manager which has been damned to
> dependency hell.
>
> On Thu, Apr 9, 2015 at 11:18 AM, Aziz Saleh <azizsaleh@xxxxxxxxx> wrote:
>
>>
>>
>> On Wed, Apr 8, 2015 at 5:43 PM, Dee Ayy <dee.ayy@xxxxxxxxx> wrote:
>>
>>> PHPCoder has a cool convBase function at
>>> http://php.net/manual/en/function.base-convert.php#106546 but it uses BC
>>> Math.
>>>
>>> Would someone provide such a function which does not use BC Math?
>>> It needs to run on PHP Version 5.1.6, not 5.1.6*-3* (whatever that is).
>>>
>>> Thanks.
>>>
>>
>>
>> "Since PHP 4.0.4, libbcmath is bundled with PHP. You don't need any
>> external libraries for this extension." -
>> http://php.net/manual/en/bc.requirements.php
>>
>
>
Go through the docs for bc* functions you need, most of them have
alternatives in the comments section.

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux