3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array ( '@attributes' => array ( 'recordReturn' => '2', ), 'Address' => array ( 0 => array ( 'adr_type' => 'Business', 'adr_address1' => 'addresse1', 'adr_address2' => 'addresse2', 'adr_address3' => 'addresse3', 'adr_city' => 'aaa', 'adr_state' => 'IA', 'adr_post_code' => '50312', 'adr_country' => 'UNITED STATES', ), 1 => array ( 'adr_type' => 'Home', 'adr_address1' => 'addresse1', 'adr_address2' => 'addresse2', 'adr_address3' => 'addresse3', 'adr_city' => 'bbb', 'adr_state' => 'IA', 'adr_post_code' => '50312', 'adr_country' => 'UNITED STATES', ) ) ); print_r($arr->attributes());
Output for rfc.property-hooks, git.master, git.master_jit
Fatal error: Uncaught Error: Call to a member function attributes() on array in /in/16LTl:35 Stack trace: #0 {main} thrown in /in/16LTl on line 35
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:
44.3 ms | 2324 KiB | 4 Q