- json_decode: documentation ( source)
- json_encode: documentation ( source)
<?php
$a = json_decode(json_encode(array(500019.68325692)), true);$b = array(500019.68325692);print ($a[0] == 500019.68325692 ? 1 : 0);print ($b[0] == 500019.68325692 ? 1 : 0);print ($b[0] == $a[0] ? 1 : 0);