ID:               37088
 User updated by:  bugzilla at yakasha dot net
 Reported By:      bugzilla at yakasha dot net
 Status:           Wont fix
 Bug Type:         Feature/Change Request
 Operating System: *
 PHP Version:      *
 New Comment:

Or maybe I could follow the instructions on your site for submitting a
feature request...  oh wait, I did.

Ok then, I'll submit a new feature request.  Tell me what you think of
this subject:

Please don't respond to legitimate bug reports/feature requests with
inflammatory, condescending comments.


I, like most, don't have the time or desire to spend a month reading
through a development mailing list to find out if a feature request has
been proposed/discussed.

I, unlike most, do have the time and desire to search through the bug
database to see if a feature request has been submitted before I submit
my own.

If I'm willing to spend time doing that, you could take the time to not
be an ass.


Previous Comments:
------------------------------------------------------------------------

[2006-04-17 17:02:39] [EMAIL PROTECTED]

Or maybe you could read up at the development mailing lists how many
times this already has been requested and discussed.

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

[2006-04-16 21:50:16] bugzilla at yakasha dot net

Wow.  What an amazingly helpful response.  You're great.  Yes, yes, we
should all just change our ides to cope with php's limitations and
retardedness.

And whenever php has a problem in a certain area, we should just use
exec() to run a perl script right?

Or maybe, just maybe, you could accept suggestions on how to improve
the language, think about those suggestions, and discuss with the
suggestor as to why you would not want to do something intelligent to
make php better.

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

[2006-04-14 20:27:09] [EMAIL PROTECTED]

Use a decent IDE then.

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

[2006-04-14 19:34:51] bugzilla at yakasha dot net

Description:
------------
Please universalize the argument ordering for search functions like
strstr & in_array.  It's annoying to have to constantly second guess
myself, "Which uses needle/haystack and which is haystack/needle"

Reproduce code:
---------------
<?php
$needle      = "what";
$haystack    = "Is what you're looking for in here?";

$stringFound = strstr($needle, $haystack);

$haystack    = explode(" ", $haystack);
$arrayFound  = in_array($needle, $haystack);

echo "String: " . ($stringFound ? "found\n" : "not found\n");
echo "Array:  " . ($arrayFound  ? "found\n" : "not found\n");
?>

Expected result:
----------------
String: found
Array:  found

Actual result:
--------------
String: not found
Array:  found


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


-- 
Edit this bug report at http://bugs.php.net/?id=37088&edit=1

Reply via email to