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"}]}'));
Output for git.master, git.master_jit, rfc.property-hooks
object(stdClass)#3 (4) { ["personalizations"]=> array(1) { [0]=> object(stdClass)#2 (1) { ["to"]=> array(1) { [0]=> object(stdClass)#1 (1) { ["email"]=> string(16) "test@example.com" } } } } ["from"]=> object(stdClass)#4 (1) { ["email"]=> string(16) "test@example.com" } ["subject"]=> string(28) "Sending with SendGrid is Fun" ["content"]=> array(1) { [0]=> object(stdClass)#5 (2) { ["type"]=> string(10) "text/plain" ["value"]=> string(39) "and easy to do anywhere, even with cURL" } } }

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
54.87 ms | 403 KiB | 8 Q