codetogo.io icon indicating copy to clipboard operation
codetogo.io copied to clipboard

Use$object = new stdClass(); $object->name = “Rahul”; $object->age = 30; $object->city = "Dehradun"; $object_JSON = json_encode($myObj); echo $object_JSON; Case Suggestion: $object = new stdClass()

Open omaralsaroot opened this issue 2 months ago • 0 comments

omaralsaroot avatar May 03 '24 08:05 omaralsaroot