Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $log = ['message'=>'Cron Process 123'];
- preg_match('/Cron Process ([0-9]+)/m', $log['message'], $matches);
- echo $matches[1];
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement