3v4l.org

run code in 300+ PHP versions simultaneously
<?php $link = "http://ftp.ellcom.ru/USER/Games/Dzhamal/Batman.Arkham%20City.v%201.03%20+%2014%20DLC.(1C-%d0%a1%d0%be%d1%84%d1%82%d0%9a%d0%bb%d0%b0%d0%b1).(2011).Repack.iso"; $fileName = pathinfo($link, 'PATHINFO_FILENAME');// filename - extension echo "<p>$fileName</p>"; $fileName = urldecode($fileName);// removes 20%, ##, + from string echo "<p>$fileName</p>";
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught TypeError: pathinfo(): Argument #2 ($flags) must be of type int, string given in /in/a42HE:4 Stack trace: #0 /in/a42HE(4): pathinfo('http://ftp.ellc...', 'PATHINFO_FILENA...') #1 {main} thrown in /in/a42HE 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:
36.97 ms | 401 KiB | 8 Q