3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php preg_match ('/.*[0-9a-zA-ZżźćńółęąśŻŹĆĄŚĘŁÓŃ]$/', 'fasdfdsa fasfds', $matches); print_r ($matches);
based on oeAJs
Output for 5.3.22 - 7.2.11
Array ( [0] => fasdfdsa fasfds )