title: Is PhP Unit Included Automatically by ZEND?
body: <p>I once asked a question of what's wrong with this code:</p>
  
  <pre><code>static $result = null;
  
  if  (isNull($result))
  {
      return $result;
  }
  </code></pre>
  
  <p>After tons of downvotes (the questions are gone), the problem is that there is no such thing called isNull function. What we have is is_null</p>
  
  <p>Great. I wonder how I ended up using isNull in the first place.</p>
  
  <p>Turns out it's the autocomplete working.</p>
  
  <p>Now I found out why I type isNull. The function actually exist. I press ctrl click and I go to</p>
  
  <pre><code>/**
   * Returns a PHPUnit_Framework_Constraint_IsNull matcher object.
   *
   * @return PHPUnit_Framework_Constraint_IsNull
   * @since  Method available since Release 3.3.0
   */
  function isNull()
  {
      return PHPUnit_Framework_Assert::isNull();
  }
  
  /**
   * Returns a PHPUnit_Framework_Constraint_IsTrue matcher object.
   *
   * @return PHPUnit_Framework_Constraint_IsTrue
   * @since  Method available since Release 3.3.0
   */
  function isTrue()
  {
      return PHPUnit_Framework_Assert::isTrue();
  }
  </code></pre>
  
  <p>It's from a file called functions.php. I don't know what kind of problem is that</p>
  
  <pre><code>&lt;?php
  /**
   * PHPUnit
   *
   * Copyright (c) 2002-2011, Sebastian Bergmann &lt;sebastian@phpunit.de&gt;.
   * All rights reserved.
   *
   * Redistribution and use in source and binary forms, with or without
   * modification, are permitted provided that the following conditions
   * are met:
   *
   *   * Redistributions of source code must retain the above copyright
   *     notice, this list of conditions and the following disclaimer.
   *
   *   * Redistributions in binary form must reproduce the above copyright
   *     notice, this list of conditions and the following disclaimer in
   *     the documentation and/or other materials provided with the
   *     distribution.
   *
   *   * Neither the name of Sebastian Bergmann nor the names of his
   *     contributors may be used to endorse or promote products derived
   *     from this software without specific prior written permission.
   *
   * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
   * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
   * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
   * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
   * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
   * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
   * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
   * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
   * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
   * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   * POSSIBILITY OF SUCH DAMAGE.
   *
   * @package    PHPUnit
   * @subpackage Framework
   * @author     Sebastian Bergmann &lt;sebastian@phpunit.de&gt;
   * @copyright  2002-2011 Sebastian Bergmann &lt;sebastian@phpunit.de&gt;
   * @license    http://www.opensource.org/licenses/bsd-license.php  BSD License
   * @link       http://www.phpunit.de/
   * @since      File available since Release 3.5.0
  </code></pre>
  
  <p>What is that? Any idea how that file got into my PHP? I never remember having that file before.</p>
  
  <p>I never added this framework. Not that I know off. Yet it's there. It must be some powerful framework.</p>
  
  <p>How do I know how autocomplete think that it's part of my code? I tried show in explorer, show in navigator, nothing. There is no option to show in windows explorer.</p>
  
  <p>PhPUnit must be a famous framework that it got into my code without me knowing about it. Is it installed by ZEND automatically?</p>