Bug #67779 [Opn->Csd]: Program Startup and superglobals

[email protected]
Newsgroups php.standards
Message-ID <[email protected]>
Edit report at https://bugs.php.net/bug.php?id=67779&edit=1

 ID:                 67779
 Updated by:         [email protected]
 Reported by:        [email protected]
 Summary:            Program Startup and superglobals
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            PHP Language Specification
 PHP Version:        Irrelevant
-Assigned To:        
+Assigned To:        stas
 Block user comment: N
 Private report:     N

 New Comment:

The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

I think they are described here:
https://github.com/php/php-langspec/blob/master/spec/07-variables.md#predefined-variables

That should be enough, more details would depend a lot on the specific implementation (e.g. SAPI, server type, etc.) so we may not want to go deeper.


Previous Comments:
------------------------------------------------------------------------
[2014-08-05 17:07:26] [email protected]

Description:
------------
https://github.com/php/php-langspec/blob/master/spec/04-basic-concepts.md#program-start-up

This makes no mention about how various super-globals like $_SERVER and $_GET and $_POST can be setup by whatever mechanism invokes the initial script. This isn't important in the command-line script use case, but it is in the web request use case. 



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=67779&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.