3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data = json_decode('{"points":[{"x":138,"y":140,"id":"p1499690394585","selected":false,"height":0},{"x":117,"y":438,"id":"p14996903949,"selected":false,"height":0},{"x":444,"y":603,"id":"p1499690395272","selected":false,"height":0},{"x":709,"y":567,"id":"p1499690395578","selected":false,"height":0},{"x":794,"y":289,"id":"p1499690395867","selected":false,"height":0},{"x":526,"y":119,"id":"p1499690396203","selected":false,"height":0},{"x":252,"y":39,"id":"p1499690396617","selected":false,"height":0}],"fill":"none","stroke":"black","closed":true}'); print_r(data);
based on 5iS9c
Output for 7.2.0 - 7.2.6
Warning: Use of undefined constant data - assumed 'data' (this will throw an Error in a future version of PHP) in /in/PL6j3 on line 5 data
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.1.20
Notice: Use of undefined constant data - assumed 'data' in /in/PL6j3 on line 5 data