3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = file_get_contents('http://www.bcb.gov.br/'); preg_match_all('/ORES-->(.+)<!--/s', $url, $conteudo); $exibir = $conteudo[0][0]; $retirar = array('mais moedas','atas Copom','mais detalhes','ORES-->','<!--'); $exibir = str_replace($retirar, '', $exibir); echo $exibir;

preferences:
44.73 ms | 402 KiB | 5 Q