3v4l.org

run code in 200+ PHP versions simultaneously
<?php echo json_encode(['blah' => 23,11 => 12]);
Output for 7.1.25 - 7.3.2
{"blah":23,"11":12}