On 2012-05-17 22:37, Jim Giner wrote:
Trying to validate an input of a time value in the format hh:mm, wherein
I'll accept anything like the following:
hmm
hhmm
h:mm
hh:mm
in a 12 hour format. My problem is my test is ok'ing an input of 1300.
Here is my test:
if (0 == preg_match("/([0][1-9]
On 11.12.2012 07:48, "Рогулин С.В." wrote:
I encountered with unexpected behavior of max() function. When i pass a
parameter ['100', '110,453351020813', '9'], this function gives answer '9'
var_dump(
max(array('100', '110,453351020813', '9'))
);
// will output:
// string(1) "9"
As the out
Volmar Machado wrote:
>When the one of the operators were 2, the cases with "<"
>returns 2 otherwise returns 0 (Or 1 when any operator is 1). And if
>the operators are 1 and 2, return 0 too. Its curious for me.
& is the bitwise and operator. You have to look at the binary
representati
On 28.05.2013 23:17, Daevid Vincent wrote:
I'm adding some minification to our cache.class.php and am running into an
edge case that is causing me grief.
I want to remove all comments of the // variety, HOWEVER I don't want to
remove URLs...
You need a negative look behind assertion
( http://
4 matches
Mail list logo