3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{ "Token" : "xxx-xxx-xxx", "ID": "1", "Recipients": [ { "Recipient_ID": "XX", "From_Name": "XXX", "From_Email": "XXX", "To_Name": "XXX", "To_Email": "XXX", "Subject": "XXX", "Message": "XXX", "Attachments": [ { "File_Name": "XXX", "File_Path": "XXX", } ] } ] }'; var_dump(json_decode($json)); var_dump(json_last_error_msg());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HS3tW
function name:  (null)
number of ops:  13
compiled vars:  !0 = $json
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%7B%0A%22Token%22+%3A+%22xxx-xxx-xxx%22%2C%0A%22ID%22%3A+%221%22%2C%0A%22Recipients%22%3A+%5B%0A++++%7B%0A++++++++%22Recipient_ID%22%3A+%22XX%22%2C%0A++++++++%22From_Name%22%3A+%22XXX%22%2C%0A++++++++%22From_Email%22%3A+%22XXX%22%2C%0A++++++++%22To_Name%22%3A+%22XXX%22%2C%0A++++++++%22To_Email%22%3A+%22XXX%22%2C%0A++++++++%22Subject%22%3A+%22XXX%22%2C%0A++++++++%22Message%22%3A+%22XXX%22%2C%0A++++++++%22Attachments%22%3A+%5B%0A++++++++++++%7B%0A++++++++++++++++%22File_Name%22%3A+%22XXX%22%2C%0A++++++++++++++++%22File_Path%22%3A+%22XXX%22%2C%0A++++++++++++%7D%0A++++++++%5D%0A++++%7D%0A%5D%0A%7D'
   25     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'json_decode'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        SEND_VAR                                                 $2
          6        DO_ICALL                                                 
   26     7        INIT_FCALL                                               'var_dump'
          8        INIT_FCALL                                               'json_last_error_msg'
          9        DO_ICALL                                         $4      
         10        SEND_VAR                                                 $4
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.9 ms | 1395 KiB | 19 Q