- var_dump: documentation ( source)
- json_decode: documentation ( source)
- print_r: documentation ( source)
<?php
$value = "0.7.4";
if(!empty($value))
{
$jsonValue = json_decode($value);
var_dump($jsonValue);
if(!empty($jsonValue)) $value = $jsonValue;
}
print_r( $value,false);
?>