3v4l.org

run code in 300+ PHP versions simultaneously
<?php $topcont = new DOMDocument(); $topcont->load("<?xml version='1.0' encoding='utf-8'?> <topcont><sitenondualtraining><title>The Heart of Awakening</title> <descripition>nondual</descripition><link>www.test.com/post/latestpost</link> </sitenondualtraining></topcont>"); $topcont->topcont->sitenondualtraining->title = 'test'; $topcont->sitenondualtraining->descripition = $_POST['nd2']; $topcont->sitenondualtraining->link = $_POST['nd3']; $topcont->Save("topcont.xml");
Output for git.master, git.master_jit, rfc.property-hooks
Warning: DOMDocument::load(): I/O warning : failed to load external entity "/<?xml version='1.0' encoding='utf-8'?> <topcont><sitenondualtraining><title>The Heart of Awakening</title> <descripition>nondual</descripition><link>www.test.com/post/latestpost</link> </sitenondualtraining></topcont>" in /in/3PqOR on line 4 Deprecated: Creation of dynamic property DOMDocument::$topcont is deprecated in /in/3PqOR on line 8 Fatal error: Uncaught Error: Attempt to modify property "sitenondualtraining" on null in /in/3PqOR:8 Stack trace: #0 {main} thrown in /in/3PqOR on line 8
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:
41.46 ms | 402 KiB | 8 Q