3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = iconv('UTF-8', 'ISO-8859-1', 'La Tronche Hôpital'); echo url_encode("<xml></xml>"); var_dump((new \DateTime())->sub(DateInterval::createFromDateString('54 days'))); die; $a = 0; $date = new \DateTime('2017-01-01'); $date2 = new \DateTime('2017-02-05'); $date3 = new \DateTime(); //var_dump($date->diff($date2)->format('%R%a days')); var_dump($date3->add(DateInterval::createFromDateString('36')));
Output for git.master, git.master_jit, rfc.property-hooks
Warning: iconv(): Wrong encoding, conversion from "UTF-8" to "ISO-8859-1" is not allowed in /in/UE1oa on line 3 Fatal error: Uncaught Error: Call to undefined function url_encode() in /in/UE1oa:6 Stack trace: #0 {main} thrown in /in/UE1oa on line 6
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:
58.92 ms | 401 KiB | 8 Q