JSON in PHP5?

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

 



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



      

[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