3v4l.org

run code in 500+ PHP versions simultaneously
<?php $myarray = [ (object) [ 'id' => 6578765, 'name' => 'John Smith', 'first_name' => 'John', 'last_name' => 'Smith', 'link' => 'http://www.example.com', 'gender' => 'male', 'email' => 'email@example.com', 'timezone' => 8, 'updated_time' => '2010-12-07T21:02:21+0000', ] ]; echo $myarray[0]->['email'];
Output for git.master_jit, git.master
Parse error: syntax error, unexpected token "[", expecting identifier or variable or "{" or "$" in /in/VRo2O on line 17
Process exited with code 255.

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:
53.29 ms | 728 KiB | 3 Q