3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = 'REXEL : Votre dossier Primexel n°'; preg_match_all('/@([^@]+)@/i', $str, $matches, PREG_OFFSET_CAPTURE); print_r($matches);
Output for 4.3.3 - 7.1.0
Array ( [0] => Array ( ) [1] => Array ( ) )
Output for 4.3.0 - 4.3.2
Warning: Wrong value for parameter 4 in call to preg_match_all() in /in/A5eFp on line 3