3v4l.org

run code in 300+ PHP versions simultaneously
<?php $quote = '// [ { "id": "576327131120516" ,"t" : "APG1L" ,"e" : "VSE" ,"l" : "2.63" ,"l_cur" : "€2.63" ,"s": "0" ,"ltt":"3:10PM GMT+03:00" ,"lt" : "Apr 4, 3:10PM GMT+03:00" ,"c" : "+0.06" ,"cp" : "2.33" ,"ccol" : "chg" } ] '; $json = substr($quote, 4, -5); $json_output = json_decode($json, true, JSON_UNESCAPED_UNICODE); print_r($json_output); echo json_last_error();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nH5o0
function name:  (null)
number of ops:  20
compiled vars:  !0 = $quote, !1 = $json, !2 = $json_output
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%2F%2F+%5B%0A%7B%0A%22id%22%3A+%22576327131120516%22%0A%2C%22t%22+%3A+%22APG1L%22%0A%2C%22e%22+%3A+%22VSE%22%0A%2C%22l%22+%3A+%222.63%22%0A%2C%22l_cur%22+%3A+%22%E2%82%AC2.63%22%0A%2C%22s%22%3A+%220%22%0A%2C%22ltt%22%3A%223%3A10PM+GMT%2B03%3A00%22%0A%2C%22lt%22+%3A+%22Apr+4%2C+3%3A10PM+GMT%2B03%3A00%22%0A%2C%22c%22+%3A+%22%2B0.06%22%0A%2C%22cp%22+%3A+%222.33%22%0A%2C%22ccol%22+%3A+%22chg%22%0A%7D%0A%5D%0A'
   19     1        INIT_FCALL                                               'substr'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 4
          4        SEND_VAL                                                 -5
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !1, $4
   20     7        INIT_FCALL                                               'json_decode'
          8        SEND_VAR                                                 !1
          9        SEND_VAL                                                 <true>
         10        SEND_VAL                                                 256
         11        DO_ICALL                                         $6      
         12        ASSIGN                                                   !2, $6
   21    13        INIT_FCALL                                               'print_r'
         14        SEND_VAR                                                 !2
         15        DO_ICALL                                                 
   22    16        INIT_FCALL                                               'json_last_error'
         17        DO_ICALL                                         $9      
         18        ECHO                                                     $9
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
194.99 ms | 1395 KiB | 21 Q