duminică, 13 ianuarie 2013

A php bug - wtf case

Hey there,
Well something strange happend to me in php and i will give you my example
<?php
$a 
= array('6.1');var_dump(in_array('6.10'$a));?>
The output of the var_dump function is bool(true)... It's very strange because $a it's a string.

Niciun comentariu:

Trimiteți un comentariu