3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $mystring = '05/07/2017 06:14:22: #1 atualizacao de status da entrega UN085464466BR para a nova situacao 058 em 2017-07-05 06:14:22 [imagens/33/2017/06/30/UN085464466BR.jpg][Sucesso]'; $pos1 = strpos($mystring, ' [imagens'); $pos2 = strpos($mystring, '.jpg]['); echo '='.substr($mystring, $pos1+2, $pos2-$pos1).'=';
based on IO3KO
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.0
=imagens/33/2017/06/30/UN085464466BR.j=