<?php declare(strict_types = 1); $point = '{"x": 1, "y": 2}'; /** @var object $point */ $point = json_decode($point); var_dump($point);
You have javascript disabled. You will not be able to edit any code.