3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = '{"articles":[{"ID":"1","Title":"Welcome","Content":"This is the first article."}]}'; $final_res = json_decode($a); echo '<pre>'; print_r($final_res); echo '</pre><br>'; echo 'Content: ' . $final_res->articles[0]->Content;
Output for git.master, git.master_jit, rfc.property-hooks
<pre>stdClass Object ( [articles] => Array ( [0] => stdClass Object ( [ID] => 1 [Title] => Welcome [Content] => This is the first article. ) ) ) </pre><br>Content: This is the first article.

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:
35.94 ms | 406 KiB | 5 Q