<?php preg_match('~\d+~', 's20', $matches); print_r($matches);
Standard input is empty
Array ( [0] => 20 )
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!