3v4l.org

run code in 300+ PHP versions simultaneously
<?php $originPiwikVisitorId = null; if (preg_match('/([0-9a-zA-Z]*)\..*/', '3e5035da4a186908.1444637964.6.1445411285.1445411282.', $matches)) { $originPiwikVisitorId = array_pop($matches); } echo $originPiwikVisitorId;

preferences:
36.38 ms | 402 KiB | 5 Q