3v4l.org

run code in 300+ PHP versions simultaneously
<?php $course_link="http://m.uploadedit.com/ba3s/1479459820969.txt";//input $data=file_get_contents($course_link); preg_match_all('@href="https://www.wikiart.org/en/salvador-dal[[:print:]]+?"@', $data, $video_links); $file = 'links.txt'; $current = file_get_contents($file); foreach ($video_links[0] as $key=>$link){ $videopage_link=substr($link,6,-1); if ((strlen($videopage_link) <= 41)||($key <4)||($videopage_link==$redun)) { // skip even members continue; } $redun=$videopage_link; // echo "\n".$key.$videopage_link."\t\t\t\t"; $data=file_get_contents($videopage_link); preg_match_all('@<img itemprop="image" src="[[:print:]]+?"@', $data, $tmp); $current .= "John Smith\n"; file_put_contents($file, $current); echo "\n".substr($tmp[0][0],27,-1); }
Output for git.master, git.master_jit, rfc.property-hooks
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for m.uploadedit.com failed: System error in /in/EmMQ0 on line 3 Warning: file_get_contents(http://m.uploadedit.com/ba3s/1479459820969.txt): Failed to open stream: php_network_getaddresses: getaddrinfo for m.uploadedit.com failed: System error in /in/EmMQ0 on line 3 Warning: file_get_contents(): open_basedir restriction in effect. File(links.txt) is not within the allowed path(s): (/tmp:/in:/etc) in /in/EmMQ0 on line 7 Warning: file_get_contents(links.txt): Failed to open stream: Operation not permitted in /in/EmMQ0 on line 7

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