3v4l.org

run code in 300+ PHP versions simultaneously
<?php $content = file_get_contents("www.tadawul.com.sa"); print_r( $content) ; preg_match('#<b>USD</b>(.*)<em class="w_50">([0-9\.]*)</em><em class="w_50">([0-9\.]*)</em>#Uis', $content, $USDmatch); $usd = $USDmatch[3]; echo " USD: $usd ";
Output for git.master, git.master_jit, rfc.property-hooks
Warning: file_get_contents(): open_basedir restriction in effect. File(www.tadawul.com.sa) is not within the allowed path(s): (/tmp:/in:/etc) in /in/qonCt on line 2 Warning: file_get_contents(www.tadawul.com.sa): Failed to open stream: Operation not permitted in /in/qonCt on line 2 Warning: Undefined array key 3 in /in/qonCt on line 6 USD:

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:
82.38 ms | 401 KiB | 8 Q