pastebin

Paste Search Dynamic
Recent pastes
in array
  1. <?php
  2. $a = array('1.20', 122.4, 130.13);
  3.  
  4. if (in_array('122.4', $a, true)) {
  5.     echo "'12.4' found with strict checkn";
  6. }
  7.  
  8. if (in_array(1.130, $a, true)) {
  9.     echo "1.13 found with strict checkn";
  10. }
  11. ?>
Parsed in 0.020 seconds