3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo json_decode('{ "links": { "self": "http://example.com/articles/1" }, "data": { "type": "articles", "id": "1", "attributes": { "title": "JSON API paints my bikeshed!" }, "relationships": { "author": { "links": { "related": "http://example.com/articles/1/author" } } } } }');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hcrNl
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'json_decode'
          1        SEND_VAL                                                 '%7B%0A++%22links%22%3A+%7B%0A++++%22self%22%3A+%22http%3A%2F%2Fexample.com%2Farticles%2F1%22%0A++%7D%2C%0A++%22data%22%3A+%7B%0A++++%22type%22%3A+%22articles%22%2C%0A++++%22id%22%3A+%221%22%2C%0A++++%22attributes%22%3A+%7B%0A++++++%22title%22%3A+%22JSON+API+paints+my+bikeshed%21%22%0A++++%7D%2C%0A++++%22relationships%22%3A+%7B%0A++++++%22author%22%3A+%7B%0A++++++++%22links%22%3A+%7B%0A++++++++++%22related%22%3A+%22http%3A%2F%2Fexample.com%2Farticles%2F1%2Fauthor%22%0A++++++++%7D%0A++++++%7D%0A++++%7D%0A++%7D%0A%7D'
          2        DO_ICALL                                         $0      
          3        ECHO                                                     $0
   20     4      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.81 ms | 1394 KiB | 15 Q