3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(json_decode('{"personalizations": [{"to": [{"email": "test@example.com"}]}],"from": {"email": "test@example.com"},"subject": "Sending with SendGrid is Fun","content": [{"type": "text/plain", "value": "and easy to do anywhere, even with cURL"}]}'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/t21e0
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'json_decode'
          2        SEND_VAL                                                 '%7B%22personalizations%22%3A+%5B%7B%22to%22%3A+%5B%7B%22email%22%3A+%22test%40example.com%22%7D%5D%7D%5D%2C%22from%22%3A+%7B%22email%22%3A+%22test%40example.com%22%7D%2C%22subject%22%3A+%22Sending+with+SendGrid+is+Fun%22%2C%22content%22%3A+%5B%7B%22type%22%3A+%22text%2Fplain%22%2C+%22value%22%3A+%22and+easy+to+do+anywhere%2C+even+with+cURL%22%7D%5D%7D'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.04 ms | 1394 KiB | 17 Q