3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = '{ "ext_id": "E360", "name": "E360", "info": "Gabriel\'s", "x": 437, "y": 82, "width": 6, "height": 6, "points": "", "floor": 0, "id": 1, "last_update": 1400260209, "language": "pt", "active": 1, "type": "stand", "category_count": 0, "meta_count": 0, "attachment_count": 0, "ongoing_count": 0, "product_count": 0, "company_count": 1 }'; var_dump(json_decode('['.str_replace(array("\n", "\r"), array('\n', '\r'), $var).']', true));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RFk9m
function name:  (null)
number of ops:  16
compiled vars:  !0 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%7B+%22ext_id%22%3A+%22E360%22%2C+%22name%22%3A+%22E360%22%2C+%22info%22%3A+%22Gabriel%27s%22%2C+%22x%22%3A+437%2C+%22y%22%3A+82%2C+%22width%22%3A+6%2C+%22height%22%3A+6%2C+%22points%22%3A+%22%22%2C+%22floor%22%3A+0%2C+%22id%22%3A+1%2C+%22last_update%22%3A+1400260209%2C+%22language%22%3A+%22pt%22%2C+%22active%22%3A+1%2C+%22type%22%3A+%22stand%22%2C+%22category_count%22%3A+0%2C+%22meta_count%22%3A+0%2C+%22attachment_count%22%3A+0%2C+%22ongoing_count%22%3A+0%2C+%22product_count%22%3A+0%2C+%22company_count%22%3A+1+%7D'
    3     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'json_decode'
          3        INIT_FCALL                                               'str_replace'
          4        SEND_VAL                                                 <array>
          5        SEND_VAL                                                 <array>
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $2      
          8        CONCAT                                           ~3      '%5B', $2
          9        CONCAT                                           ~4      ~3, '%5D'
         10        SEND_VAL                                                 ~4
         11        SEND_VAL                                                 <true>
         12        DO_ICALL                                         $5      
         13        SEND_VAR                                                 $5
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.75 ms | 1395 KiB | 19 Q