<?php $data = '<input type="hidden" name="login" value="1360412065" />'; preg_match('#<input type="hidden" name="login" value="(.*)" />#',$data,$ids); echo '<pre>';print_r($ids);echo '</pre>'; ?>
Standard input is empty
<pre>Array ( [0] => <input type="hidden" name="login" value="1360412065" /> [1] => 1360412065 ) </pre>
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!