Re: JSON in PHP5?

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

 



On Fri, Sep 26, 2008 at 8:50 AM, Dan Zilavy <danz0402@xxxxxxxxx> wrote:

> I thought that the json extensions where in >=PHP5.2.  Here's my example
> file and the output.  What's up?  Do I need to install something else.
>
> file:
> <?php
> echo "PHP version: ", phpversion(), "<br/>";
> if (function_exists('json_encode'))
>    echo "json_encode() exists";
> else
>    echo "json_encode() doesn't exist";
> ?>
>
> output:
> PHP version: 5.2.5
> json_encode() doesn't exist


did you configure w/ --disable-json ?

-nathan

[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