Everything
php
Learn
Community
Releases
The PHP Project
Learn
Community
Releases
The PHP Project
Home
»
Project
»
RFCs
»
declare(function_and_const_lookup='global')
»
RFC: declare(function_and_const_lookup='global')
Project Governance
Author
tandre
When calling a function or using a constant that isn't fully qualified from a namespace (other than the global namespace), PHP will check these two locations in...
Mailing List Discussions
[RFC] "use global functions/consts" statement
[VOTE] declare(function_and_const_lookup='global')
View Original
Support declare(function_and_const_lookup=...)
Overall Results
Yes
No
Yes
2 Votes (5%)
No
35 Votes (95%)
Voting Timeline
Dates based on UTC
Voting Breakdown
Yes
2 Votes (5%)
tandre
kriscraig
No
35 Votes (95%)
alcaeus
alec
duncan3dc
girgias
kalle
levim
marandall
ocramius
santiagolizardo
bwoebi
derick
galvao
kguest
mbeccati
svpernova09
sebastian
pmjones
mike
lbarnaud
pollita
asgrim
ashnazg
narf
yunosh
kinncj
jhdxr
salathe
stas
carusogabriel
mcmic
colinodell
zimt
zeev
googleguy
ruudboon
Severity of redundant uses of global functions/constants
Overall Results
Warning
Fatal Error
Allow and don't warn
Warning
4 Votes (19%)
Fatal Error
10 Votes (48%)
Allow and don't warn
7 Votes (33%)
Voting Timeline
Dates based on UTC
Voting Breakdown
Warning
4 Votes (19%)
kguest
ashnazg
tandre
kriscraig
Fatal Error
10 Votes (48%)
duncan3dc
levim
ocramius
sergey
derick
galvao
svpernova09
reywob
kinncj
ruudboon
Allow and don't warn
7 Votes (33%)
alcaeus
alec
bwoebi
pollita
stas
mcmic
zimt