<?php$string = "(11) 9.9999-9999";$ddd = preg_split("/\(|\)/", $string);echo $ddd[1];
Standard input is empty
11
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!