main is called the global scope. In C the programs start their execution in
function main. Because PHP is not restricted in this way the global scope
except the functions (and methods) is called function.main. However there is
no such documentation on the web. You may fill bug report for documentation
error.

Regards,
Andrey

----- Original Message -----
From: "michel 'ziobudda' morelli" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 20, 2003 11:24 PM
Subject: [PHP-DEV] function not found


> Hi, I have installed httpd 2.0.43 with php5 (is this ok for development
> about a book for PHP5? Is this the correct cvs ??).
>
> I have a function with an error (this is a my problem) but this is the
> php-error page:
>
> Warning: main(zb_ng/Admin/globals.php) [function.main]: failed to create
> stream: No such file or directory in
> /home/httpd/html/zb_ng/test/c_faq/1.php on line 8
>
> but [function.main] is a link to www.php.net/function.main that report:
>
> Sorry, no documents matched your search for "function.main".
>
>
> Is this a bug ?
>
> bye and sorry for my bad english.
>
> --
> michel 'ziobudda' morelli <[EMAIL PROTECTED]>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to