3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rulesXML=<<<XML <rule> <save>Procedure1</save> <reload>UpdateProcefure11</reload> <reload>UpdateProcedure12</reload> </rule> <rule> <save>Procedure2</save> <reload>UpdateProcedure21</reload> <reload>UpdateProcedure22</reload> </rule> XML; $rules=simplexml_load_string($rulesXML); foreach($rules->children() as $c){ echo $c."\n"; }
Output for git.master, git.master_jit
Warning: simplexml_load_string(): Entity: line 6: parser error : Extra content at the end of the document in /in/SIDXE on line 14 Warning: simplexml_load_string(): <rule> in /in/SIDXE on line 14 Warning: simplexml_load_string(): ^ in /in/SIDXE on line 14 Fatal error: Uncaught Error: Call to a member function children() on bool in /in/SIDXE:15 Stack trace: #0 {main} thrown in /in/SIDXE on line 15
Process exited with code 255.
Output for rfc.property-hooks
Warning: simplexml_load_string(): Entity: line 6: parser error : Extra content at the end of the document in /in/SIDXE on line 14 Warning: simplexml_load_string(): <rule> in /in/SIDXE on line 14 Warning: simplexml_load_string(): ^ in /in/SIDXE on line 14 Fatal error: Uncaught Error: Call to a member function children() on false in /in/SIDXE:15 Stack trace: #0 {main} thrown in /in/SIDXE on line 15
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:
49.89 ms | 401 KiB | 8 Q