3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = <<<JSON { "id": "1", "name": "Ankh of Mishra", "mana": [ "2" ], "cmc": "2", "type": [ "Artifact" ], "text": [ "Whenever a land enters the battlefield, Ankh of Mishra deals 2 damage to that land's controller." ], "flavor": [], "power": "", "toughness": "", "loyalty": "", "watermark": "", "set": "Limited Edition Alpha", "rarity": "Rare", "prints": [ { "set": "1E", "id": "1" }, { "set": "2E", "id": "296" }, { "set": "2U", "id": "598" }, { "set": "3E", "id": "1094" }, { "set": "4E", "id": "2017" }, { "set": "5E", "id": "3760" }, { "set": "6E", "id": "14771" }, { "set": "MED", "id": "159251" } ], "number": "", "artist": "Amy Weber" } JSON; print_r(json_decode($json, true));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Dl6eY
function name:  (null)
number of ops:  9
compiled vars:  !0 = $json
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%7B%0A%09%22id%22%3A+%221%22%2C%0A%09%22name%22%3A+%22Ankh+of+Mishra%22%2C%0A%09%22mana%22%3A+%5B%0A%09%09%222%22%0A%09%5D%2C%0A%09%22cmc%22%3A+%222%22%2C%0A%09%22type%22%3A+%5B%0A%09%09%22Artifact%22%0A%09%5D%2C%0A%09%22text%22%3A+%5B%0A%09%09%22Whenever+a+land+enters+the+battlefield%2C+Ankh+of+Mishra+deals+2+damage+to+that+land%27s+controller.%22%0A%09%5D%2C%0A%09%22flavor%22%3A+%5B%5D%2C%0A%09%22power%22%3A+%22%22%2C%0A%09%22toughness%22%3A+%22%22%2C%0A%09%22loyalty%22%3A+%22%22%2C%0A%09%22watermark%22%3A+%22%22%2C%0A%09%22set%22%3A+%22Limited+Edition+Alpha%22%2C%0A%09%22rarity%22%3A+%22Rare%22%2C%0A%09%22prints%22%3A+%5B%0A%09%09%7B%0A%09%09%09%22set%22%3A+%221E%22%2C%0A%09%09%09%22id%22%3A+%221%22%0A%09%09%7D%2C%0A%09%09%7B%0A%09%09%09%22set%22%3A+%222E%22%2C%0A%09%09%09%22id%22%3A+%22296%22%0A%09%09%7D%2C%0A%09%09%7B%0A%09%09%09%22set%22%3A+%222U%22%2C%0A%09%09%09%22id%22%3A+%22598%22%0A%09%09%7D%2C%0A%09%09%7B%0A%09%09%09%22set%22%3A+%223E%22%2C%0A%09%09%09%22id%22%3A+%221094%22%0A%09%09%7D%2C%0A%09%09%7B%0A%09%09%09%22set%22%3A+%224E%22%2C%0A%09%09%09%22id%22%3A+%222017%22%0A%09%09%7D%2C%0A%09%09%7B%0A%09%09%09%22set%22%3A+%225E%22%2C%0A%09%09%09%22id%22%3A+%223760%22%0A%09%09%7D%2C%0A%09%09%7B%0A%09%09%09%22set%22%3A+%226E%22%2C%0A%09%09%09%22id%22%3A+%2214771%22%0A%09%09%7D%2C%0A%09%09%7B%0A%09%09%09%22set%22%3A+%22MED%22%2C%0A%09%09%09%22id%22%3A+%22159251%22%0A%09%09%7D%0A%09%5D%2C%0A%09%22number%22%3A+%22%22%2C%0A%09%22artist%22%3A+%22Amy+Weber%22%0A%7D'
   61     1        INIT_FCALL                                               'print_r'
          2        INIT_FCALL                                               'json_decode'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 <true>
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.2 ms | 1395 KiB | 17 Q