3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $site = file_get_contents("cryptomining.tk"); preg_match("'Last Price: <strong>(.*?)</strong></div> <div class=/'orderStats/'>Low:'si", $site, $matches); echo $matches[1]; // 1234 ?>
Output for 5.2.0 - 7.1.0
Warning: file_get_contents(cryptomining.tk): failed to open stream: No such file or directory in /in/3K0aI on line 2 Warning: preg_match(): Unknown modifier 'o' in /in/3K0aI on line 5
Output for 4.3.11 - 5.1.6
Warning: file_get_contents(cryptomining.tk): failed to open stream: No such file or directory in /in/3K0aI on line 2 Warning: preg_match(): Unknown modifier 'o' in /in/3K0aI on line 5 Notice: Undefined offset: 1 in /in/3K0aI on line 6
Output for 4.3.2 - 4.3.10
Warning: file_get_contents(cryptomining.tk): failed to open stream: No such file or directory in /in/3K0aI on line 2 Warning: Unknown modifier 'o' in /in/3K0aI on line 5 Notice: Undefined offset: 1 in /in/3K0aI on line 6
Output for 4.3.0 - 4.3.1
Warning: file_get_contents(cryptomining.tk) [http://www.php.net/function.file-get-contents]: failed to create stream: No such file or directory in /in/3K0aI on line 2 Warning: Unknown modifier 'o' in /in/3K0aI on line 5 Notice: Undefined offset: 1 in /in/3K0aI on line 6