<?php $pid = "12a"; // string number from the database echo 'Default..................: ', json_encode($pid), "\n"; echo 'JSON_NUMERIC_CHECK option: ', json_encode($pid, JSON_NUMERIC_CHECK);
You have javascript disabled. You will not be able to edit any code.