3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data = [ 'id' => 1, 'goalLink' => [ [ 'iconUrl' => 2, 'title' => 3 ] ] ]; $data = json_encode($data); var_dump($data);
based on 2tXi5
Output for 5.5.0 - 7.2.6
string(45) "{"id":1,"goalLink":[{"iconUrl":2,"title":3}]}"