would be consistent with how the APIs are
documented in PHP's documentation, so the syntax in PHP would not
conflict.
2) +int isn't used anywhere, so it's obvious that it's something
different and it's easy to see in API documentations, auto-completion,
etc.
--
Daniel Egeberg
--
PHP Internals - PHP
as that's apparently
how things are decided, it would be nice if people won't have to waste
your precious time making obnoxious feature requests that are
*clearly* against the PHP axioms.
--
Daniel Egeberg
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http
= '\\'. A default PHP
constant would be a better way to handle such cases.
It is already constant (i.e. it's always a backslash). What do you
need a constant for? It's not system nor configuration dependent.
--
Daniel Egeberg
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit
to the trunk, I don't know.
ps: the spam filter rejected my previous email because of the
codesearch links...
Tyrael
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
--
Daniel Egeberg
--
PHP Internals - PHP Runtime Development
of the public to set expectations.
If the documentation is missing information about BC breaks, please
file a doc bug at http://bugs.php.net.
If nobody is aware that it is lacking, naturally it won't be improved.
--
Daniel Egeberg
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe
say that the code indeed is bad. Unless you regard 123abc as a valid
value from your user, don't allow the user to give you that value. If
you regard it as a valid value, then it's not an int thus you wouldn't
want to type cast it in the first place.
--
Daniel Egeberg
--
PHP Internals - PHP
to int is a non-issue.
--
Daniel Egeberg
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
explicit types.
For examlpe, we may add a switch in php.ini, let's say, explict_types=On/Off.
A php.ini setting is a really bad idea. Say that Library A expects it
to be On, but Library B expects it to be Off. Now what happens if I
want to use *both* Library A and Library B?
--
Daniel Egeberg
, etc.? These classes could maybe even be extended with method
aliases to the relevant functions in PHP's library.
--
Daniel Egeberg
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
that a fatal on such prototypes error is not
warranted, so I'd prefer (d).
What do you think would be the best option? Can you think of another?
--
Daniel Egeberg
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, Apr 13, 2010 at 16:21, Gerardo Benitez gerardobeni...@gmail.com wrote:
Translating the documentation
What language do you intent to translate it to?
--
Daniel Egeberg
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
11 matches
Mail list logo