eval.in

Paste #89008

PHP — PHP 5.5.1, pasted 1 year ago

1
2
3
4
5
6
<?php

$noBacon = array(0 => 0);
if (in_array('bacon', $noBacon)) {
  echo 'WTF PHP';
}

Program Output

WTF PHP

OK (0.004 sec real, 0.006 sec wall, 14 MB, 42 syscalls)

Fork