3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data = ['settingsTypeId' => "serviceLevel"]; $data = ['data' => $data]; echo json_encode($data);
Output for 7.3.0rc3
{"data":{"settingsTypeId":"serviceLevel"}}