note 107051 deleted from function.require by danbrown
| From: | danbrown@php.net | Date: | Tue, 03 Jan 2012 21:45:03 +0000 |
| Subject: | note 107051 deleted from function.require by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-185279@lists.php.net to get a copy of this message | ||
Note Submitter: drhm96 at gmail dot com
----
if you took require into condition, it be conducted if it returns true and false also.
<?php
$cond = 0;
if($cond == 1)
{
require('path/to/file.php');
}
?>