3v4l.org

run code in 300+ PHP versions simultaneously
<?php $lines = file('https://de.scribd.com/doc/27228612/Art-Tatum-Jazz-Piano-Solos'); // Durchgehen des Arrays und Anzeigen des HTML-Quelltexts inkl. Zeilennummern foreach ($lines as $line_num => $line) { if (strstr($line, "pageParams.contentUrl")) { $explodedString = explode("\"", $line); $url = $explodedString[1]; $url = str_replace("pages", "images", $url); $url = str_replace("jsonp", "jpg", $url); echo $url . "<br>"; // echo "Line #<b>{$line_num}</b> : " . htmlspecialchars($line) . "<br>\n"; } }
Output for git.master, git.master_jit
Warning: file(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/E4frB on line 3 Warning: file(): open_basedir restriction in effect. File(https://de.scribd.com/doc/27228612/Art-Tatum-Jazz-Piano-Solos) is not within the allowed path(s): (/tmp:/in:/etc) in /in/E4frB on line 3 Warning: file(https://de.scribd.com/doc/27228612/Art-Tatum-Jazz-Piano-Solos): Failed to open stream: Operation not permitted in /in/E4frB on line 3 Warning: foreach() argument must be of type array|object, bool given in /in/E4frB on line 6
Output for rfc.property-hooks
Warning: file(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/E4frB on line 3 Warning: file(): open_basedir restriction in effect. File(https://de.scribd.com/doc/27228612/Art-Tatum-Jazz-Piano-Solos) is not within the allowed path(s): (/tmp:/in:/etc) in /in/E4frB on line 3 Warning: file(https://de.scribd.com/doc/27228612/Art-Tatum-Jazz-Piano-Solos): Failed to open stream: Operation not permitted in /in/E4frB on line 3 Warning: foreach() argument must be of type array|object, false given in /in/E4frB on line 6

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:
34.66 ms | 402 KiB | 8 Q