Ron Korving wrote:
Another nice use case is querybuilders:
$query = buildQuery(select: $columns, from: $tables, leftjoin: $leftjoins,
limit: 10);
We've seen a large number of cases where named parameters would be
extremely useful. To each case, there has been a half baked attempt to
Andrei Zmievski wrote:
On Jan 9, 2006, at 4:09 AM, Aidan Lister wrote:
As useful functions tend to increase in complexity over time, often so
does the number of parameters.
It soon gets to the point where function calls look like:
foo(true, false, false, false, false, true)
The rest
been
brought up consistently over the last couple of years, in some cases
rather passionately (I believe someone wanted to fork PHP over this a
while back). We have a long time before a PHP6 release, this is the
ideal time to discuss implementation.
Kind regards,
Aidan Lister
--
PHP Internals
of inconsistency is htmlentities and
html_entity_decode. These are easy to fix, and a relatively easy BC break
for the user to deal with.
I suggest we extend Jani's previous suggestion; by including a list of
function name inconsistencies in the discussion.
Kind regards,
Aidan Lister
Hi Robert,
I think you'll find it's Appendix P. I recently documented all the PHP 5
additions to that page, my problem is not getting a list of tokens,
http://lxr.php.net/source/php-src/ext/tokenizer/tokenizer.c#167
It's getting a list of tokens for which token.type IS_NULL.
Thanks, though...
Hi Bjorn,
There definitely isn't anything special about this file, however it works
for me with Apache 2 / PHP 5,
http://virtualexplorer.com.au/magic.mime
Good luck,
Aidan
Björn wiberg [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi again!
I've been trying to get mime_magic to
is highlighted as a keyword, however I'm unable to track down
where token.type is set.
Is anyone able to provide some insight?
King Regards,
Aidan Lister
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
for such validation?
On a side note, with php_error_docref errors, please don't add a full stop
to the end of the error message!
Kind Regards,
Aidan Lister
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Develop some wacky construct that you have to use instead... that way, it
will scare off novice users, and expert programmers will HAVE to know what
they're doing and know that they really need it before they have to
implement it. It's along the lines of make the most dangerous stuff the
But since there's no BC need to allow resources in array initialization,
then sure, leave it to the scripter to cast it to an int if that's REALLY
what they want. (Again why? comes to mind).
PEAR::DB uses this method - I'm seeing a million errors on sites that have
updated to latest CVS
Obviously they're not actually from Microsoft - it's more than likely a
spammer has picked your email up from one of the webarchives.
The security updates from Microsoft are always a Trojan / virus etc.
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I know it's off topic, and I
Strange, sent it after our conversation on IRC.
I'll post it here.
-
Hi systems,
Here is a bunch of emails I'm sent every time I post to php-install.
The list of addresses to be removed is below.
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL
I think, and I could be completely wrong, that copying a variable actually
creates a reference. The data is only copied when the variable referenced is
modified.
Bert Slagter [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Sara Golemon wrote:
Every variable in PHP is a pair.
PROTECTED]
Aidan Lister wrote:
This is a test message to detect any automated spam. Please don't reply,
or
you may be removed from the list accidently.
[09-06 15:34:19] iridium This is a test message to detect any
automated spam. Please don't reply, or
[09-06 15:34:19] iridium you may
This is a test message to detect any automated spam. Please don't reply, or
you may be removed from the list accidently.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Andi, any interest in this?
Aidan Lister [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi Andi,
Okay, it's not as simple as I thought it was - and you're correct, the
behaviour has not changed for php4/5.
Objects in both PHP4 and PHP5 will throw an error if you use the method
I'm going to go ahead and post this as a bug, unless there is a reason noone
replied...
Aidan Lister [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello devs,
I'd like to discuss the use of objects as array keys.
?php
class idobject {
private $_id;
function __construct
errors out in PHP 4 and not in PHP 4?
Thanks,
Andi
At 11:03 PM 5/25/2004 +1000, Aidan Lister wrote:
I'm going to go ahead and post this as a bug, unless there is a reason
noone
replied...
Aidan Lister [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello devs,
I'd like
Hello devs,
I'd like to discuss the use of objects as array keys.
?php
class idobject {
private $_id;
function __construct ($id) { $this-_id = $id; }
function __tostring () { return (int)$this-_id; }
}
$blah1 = new idobject(1);
$blah2 = new idobject(2);
$blah3 = new idobject(3);
, then okay - otherwise could it please be fixed!
My username is aidan.
Kind Regards,
Aidan Lister
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Derick,
Look harder! I've sent three with the subject master.php.net.
I've also asked 2 other people with the same problem to mail in, although
it's possible they didn't.
Aidan
Derick Rethans [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Fri, 21 May 2004, Aidan Lister wrote
elsewhere. I've tried this on both firefox and iexplore.
Thanks in advance for any assistance you can provide.
Daniel Convissor [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi Aidan:
On Fri, May 21, 2004 at 07:36:56PM +1000, Aidan Lister wrote:
I'm unable to access any
Hehe, shut down Lukas.
I'd love to know why file_exists doesn't search the include path like every
other file function
Derick Rethans [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Sat, 8 May 2004, Lukas Smith wrote:
I think it would be useful if require would throw an
Yep, this is true.
Peter Waller [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Referred by aidan - helping out with PEAR Net_GameServerQuery class.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I applied for CVS access a number of weeks ago, but have had no reply. I'm
anxious to get my PEAR Package up.
(username: aidan)
Has my request been declined, or has no one had a chance to action it. If
the latter, when can this be expected to happen?
Thank you,
Aidan
--
PHP Internals -
I have written an approved PEAR package and would like CVS access to maintain the
repository.
The name of the package is Net_GameServerQuery
Proposal Information: http://pear.php.net/pepr/pepr-proposal-show.php?id=34
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe,
26 matches
Mail list logo