3v4l.org

run code in 300+ PHP versions simultaneously
<?php header('Content-Type: application/xml; charset=utf-8'); //db info ?> <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> <!-- Sitemap SoundCloud Downloader--> <?php $q1=mysql_query("SELECT * FROM `$tbl`"); while($r=mysql_fetch_array($q1)){ $url=$r['url']; echo "<url> <loc>http://www.mynoblecare.com/$url</loc> <changefreq>daily</changefreq> <priority>1.00</priority> </url>"; } ?> </urlset>
Output for git.master, git.master_jit, rfc.property-hooks
<?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> <!-- Sitemap SoundCloud Downloader--> Fatal error: Uncaught Error: Call to undefined function mysql_query() in /in/P9doY:16 Stack trace: #0 {main} thrown in /in/P9doY on line 16
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:
43.19 ms | 402 KiB | 8 Q