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" } ] '; $quote = utf4_encode($quote); $json = substr($quote, 4, -5); $json_output = json_decode($json, true); echo '<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body>'; print_r($json_output); echo '</body></html>';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0AIct
function name:  (null)
number of ops:  22
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_BY_NAME                                       'utf4_encode'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0  $4      
          4        ASSIGN                                                   !0, $4
   20     5        INIT_FCALL                                               'substr'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 4
          8        SEND_VAL                                                 -5
          9        DO_ICALL                                         $6      
         10        ASSIGN                                                   !1, $6
   21    11        INIT_FCALL                                               'json_decode'
         12        SEND_VAR                                                 !1
         13        SEND_VAL                                                 <true>
         14        DO_ICALL                                         $8      
         15        ASSIGN                                                   !2, $8
   23    16        ECHO                                                     '%3Chtml%3E%3Chead%3E%3Cmeta+http-equiv%3D%22Content-Type%22+content%3D%22text%2Fhtml%3B+charset%3DUTF-8%22+%2F%3E%3C%2Fhead%3E%3Cbody%3E'
   24    17        INIT_FCALL                                               'print_r'
         18        SEND_VAR                                                 !2
         19        DO_ICALL                                                 
   25    20        ECHO                                                     '%3C%2Fbody%3E%3C%2Fhtml%3E'
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.28 ms | 1387 KiB | 19 Q