Hi,
not sure if phpnamespaces.org is a wise choice for a site that publishes
prepatched versions of php (see the php license) ..
it seems like there is a mailinglist there. while obviously the
namespace topic also relates to this list, I think it would be a good
idea if people not in tune
BdBThe above can either mean call function c in namespace b under
BdBnamespace a or call static method c of class b under namespace a.
BdBSince this cannot be determined, :: cannot be used.
This provided we support nested namespaces. Do we need them?
--
Stanislav Malyshev, Zend Products
Hi,
now that the tempers regarding the Date class have died down again I
would like to bring up the topic again ;-)
I have written a user land naming guide, however since I did not really
see a real consensus there is still room for debate on the exact details
(like does PHP prefix its own
Furthermore. The problem with echo 'a::b::c();' would only
occur if the code structure would be like this:
namespace a {
namespace b {
function c() { }
}
class b {
function c() { }
}
}
However, should it be legal to give a class the same name as
a namespace that's in the same
Hi Mehmet,
http://bugs.php.net/bugs-generating-backtrace.php
this is your help to get a backtrace.
hi Marco. (since being a newbie, please be more clear to me :p)
sorry but dont know how to do it ? :(
would u please explain how to provide a full backtrace of my core dumped
php ?
--
Marco
Hi,
1st reply all please :)
2nd how should we help you if you can't tell us when or where the
problem happens.
Just to say FF FE will be displayed randomly is not usefull. Please
provide more informations or a demo site with .phps files to track the
problem or take a look at the source.
it
Lukas Smith schrieb:
not sure if phpnamespaces.org is a wise choice for a site that publishes
prepatched versions of php (see the php license) ..
If I read the mails there correctly this issue is already being worked upon.
it seems like there is a mailinglist there. while obviously the
BdBThe above can either mean call function c in namespace b under
BdBnamespace a or call static method c of class b under namespace a.
BdBSince this cannot be determined, :: cannot be used.
This provided we support nested namespaces. Do we need them?
Nested namespaces are important if PHP is
On Fri, 2 Dec 2005, Stanislav Malyshev wrote:
BdBThe above can either mean call function c in namespace b under
BdBnamespace a or call static method c of class b under namespace a.
BdBSince this cannot be determined, :: cannot be used.
This provided we support nested namespaces. Do we need
JT This provided we support nested namespaces. Do we need them?
JT
JTNo, we don't need no stinking namespaces. We already have prefixes. :)
Did I write the word nested in invisible font? Funny, I didn't know my
mail client supports it.
--
Stanislav Malyshev, Zend Products Engineer
[EMAIL
On Fri, 2 Dec 2005, Stanislav Malyshev wrote:
JT This provided we support nested namespaces. Do we need them?
JT
JTNo, we don't need no stinking namespaces. We already have prefixes. :)
Did I write the word nested in invisible font? Funny, I didn't know my
mail client supports it.
Jani Taskinen schrieb:
This provided we support nested namespaces. Do we need them?
JTNo, we don't need no stinking namespaces. We already have prefixes. :)
Did I write the word nested in invisible font? Funny, I didn't know my
mail client supports it.
Yes, but you don't have to think
Enough with the nitpicking! It's almost (what timezones are you in?)
weekend, have a beer you guys! ;)
Ron
Oliver Grätz [EMAIL PROTECTED] schreef in bericht
news:[EMAIL PROTECTED]
Jani Taskinen schrieb:
This provided we support nested namespaces. Do we need them?
JTNo, we don't need no
Sara Golemon wrote:
I say this with no degree of sarcasm or ill-will: Create a formal
proposal.
Well, you asked for it ;).
Goals:
- remove confusion when a user thinks about a function's name
- develop consistency throughout the language
- be backwards compatible as much as possible
The
Nice start (your url (function list) doens't seem to work yet by the way).
Just my 2 cents:
I don't like the '2' at all. I'd rather see nltobr() and dectohex() than
nl2br() and dec2hex(). I do like the idea of loosing all underscores (but I
bet there will be quite a number of developers here
forgive my copy/paste error:
imagecreatefromstring needs no change, except that it will officially be
strPos()
should say:
imagecreatefromstring needs no change, except that it will officially be
imageCreateFromString()
- Ron
Ron Korving [EMAIL PROTECTED] schreef in bericht
news:[EMAIL
On Sat, 2005-12-03 at 00:46 +1100, Michael Cordover wrote:
It seems to me, therefore, that we should get rid of the underscores.
Yes, this means changing a lot more functions around, but adding
underscores will just make function names MORE confusing where there's
ambiguity - and that's
On Fri, 2005-12-02 at 15:09 +0100, Ron Korving wrote:
strPos()
arrayMerge()
isInt()
imageCreateFromString()
fEof() or fEOF()?
addCSlashes()?
strIReplace()?
strCSpn()?
stripCSlashes()?
strIPos()?
strIStr()?
strNCaseCmp()?
strNCmp()?
strPBrk()?
strRChr()?
strRIPos()? (That one's my favourite).
It looks odd because (afaik) most of these functions were born in Unix and
were nice and short. Because of all the abbreviations they're not very
suitable for studlycaps.
Unlike the usage of underscores, the usage of studlycaps is totally optional
anyway, since function names are case
Why not the obvious solution, Classes?
Array::merge()
String::pos()
Image::CreateFromString()
etc.
Oh the irony...
Matthew C. Kavanagh wrote:
On Fri, 2005-12-02 at 15:09 +0100, Ron Korving wrote:
strPos()
arrayMerge()
isInt()
imageCreateFromString()
...
--
PHP Internals - PHP Runtime
M. Sokolewicz [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
hi,
personally, I find :::A, ::A and such constructs *extremely* ugly. Might
I suggest using a special keyword to denote global scoped classes?
eg:
global:::A and such. global already is a keyword, but I'm pretty sure it
i keep getting an error that zend optimizer doesnt work with this version of
PHP, can anyone explain why that would be?
i have gone into zend studio and went to /lib/Optimizer-2.5.13/ created the
php-5.1.x dir and copied the ZendOptimizer.dll from the php-5.0.x directory
but it still complains ;(
Joseph Crawford wrote:
i keep getting an error that zend optimizer doesnt work with this version of
PHP, can anyone explain why that would be?
i have gone into zend studio and went to /lib/Optimizer-2.5.13/ created the
php-5.1.x dir and copied the ZendOptimizer.dll from the php-5.0.x directory
Once again, I would like to extend my sincere, profound gratitude to the PHP
Development Team for the continued effort in making and keeping PHP the
extraordinary tool that it is.
The amount of work that has gone into the release of PHP-5.x is enormous.
The
changelog for the latest versions could
On 11/21/05, Andrei Zmievski [EMAIL PROTECTED] wrote:
Maybe you should start a new language. With sensible function names,
and anything else that you may desire. I hear it's a good exercise.
Been there, done that. Both using yacc/lex and doing recursive decent
(which was faster -- at the time).
25 matches
Mail list logo