3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = new \SimpleXMLElement('<?xml version="1.0" encoding="UTF-8" standalone="yes"?><mc-profile-response><mc-response><code>0</code><message>Service successfully ended</message></mc-response><mc-profile><username>petermueller</username><gender>M</gender><firstname>Muster</firstname><lastname>Peter</lastname><email>peter.muster@info.ch</email><street>Strasse</street><streetnumber>34a</streetnumber><zip>8888</zip><city>Musterhausen</city><country>CH</country><mobilenumber>079 737 37 37</mobilenumber><additional-address>Addresszusatz 888</additional-address></mc-profile></mc-profile-response>'); var_dump((array) $mConnectProfile->{'mc-profile'});
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $mConnectProfile in /in/jhFPE on line 5 Warning: Attempt to read property "mc-profile" on null in /in/jhFPE on line 5 array(0) { }

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:
31.75 ms | 401 KiB | 8 Q