<?php $str = '"count":9149,"users":[111111,11111,11111]';preg_match('/(\d+)/', $str, $matches);print_r($matches);
Standard input is empty
Array ( [0] => 9149 [1] => 9149 )
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!