<?php var_dump(json_encode(array('foo' => NAN), JSON_PARTIAL_OUTPUT_ON_ERROR));
You have javascript disabled. You will not be able to edit any code.