3v4l.org

run code in 300+ PHP versions simultaneously
<?php $memory = xmlwriter_open_memory(); xmlwriter_start_document($memory,'1.0','UTF-8'); xmlwriter_start_element_ns ($memory,'FolderSync', "FolderHierarchy"); xmlwriter_start_element($memory, "SyncKey"); xmlwriter_write_raw("0"); xmlwriter_end_element($memory); echo xmlwriter_output_memory($memory,true);
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught ArgumentCountError: xmlwriter_start_element_ns() expects exactly 4 arguments, 3 given in /in/FEm5q:4 Stack trace: #0 /in/FEm5q(4): xmlwriter_start_element_ns(Object(XMLWriter), 'FolderSync', 'FolderHierarchy') #1 {main} thrown in /in/FEm5q on line 4
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:
62.7 ms | 401 KiB | 8 Q