David Sky wrote:
> Hello everyone!
>
> A couple of days ago I submitted a bug to PHP
> http://bugs.php.net/bug.php?id=45385
> But I was mistaken, apparently it's not a bug.
> And I was "sent" here to get help.
> [snip]
> So before I write a reply to the bug i submitted, I wanted to know
> if ther
Hello everyone!
A couple of days ago I submitted a bug to PHP
http://bugs.php.net/bug.php?id=45385
But I was mistaken, apparently it's not a bug.
And I was "sent" here to get help.
Although I did tried what was suggested in the response,
Actually I tried it before I wrote about the bug, as I foun
For those that like CURL and calendars.
Using CURL, I am accessing a form on a 'target' third party site (it is
built around JavaScript DHTML DatePicker) and trying to POST various
date and other inputs from its form and return the results page to my
site for further processing with php. Howe
Robert Cummings wrote:
I'm a big fan of multiple early returns whenever possible, but once the
code becomes more complex holding back until the end if possible. I find
multiple early returns are very easy to read and then the purpose of the
code doesn't get lost within the convolution of the logi
i am a big fan of multiple return.
it save a lot of my time and it makes my code a lot more simple and readable.
On 6/29/08, Roberto Costumero Moreno <[EMAIL PROTECTED]> wrote:
> There is a point between Multiple & early return vs. One last return, which
> is Efficiency.
>
> Imagine you have a cod
There is a point between Multiple & early return vs. One last return, which
is Efficiency.
Imagine you have a code which makes lots of things. What is better in time?
If you have early returns, your script will only do the operations it has
to, nothing more than it has to do.
If you have your da
At 3:25 PM +0100 6/29/08, Colin Guthrie wrote:
Dotan Cohen wrote:
Why not? I do this often, but I am not a professional programmer. I
find this to be very useful.
Found another opinion/article about this. I remember reading this
one a while back:
http://whatimean.wordpress.com/2007/02/08/mu
On Sun, 2008-06-29 at 17:47 +0300, Dotan Cohen wrote:
> 2008/6/29 Colin Guthrie <[EMAIL PROTECTED]>:
> > Dotan Cohen wrote:
> >>
> >> Why not? I do this often, but I am not a professional programmer. I
> >> find this to be very useful.
> >
> > Found another opinion/article about this. I remember re
2008/6/29 Colin Guthrie <[EMAIL PROTECTED]>:
> Dotan Cohen wrote:
>>
>> Why not? I do this often, but I am not a professional programmer. I
>> find this to be very useful.
>
> Found another opinion/article about this. I remember reading this one a
> while back:
>
> http://whatimean.wordpress.com/20
Dotan Cohen wrote:
Why not? I do this often, but I am not a professional programmer. I
find this to be very useful.
Found another opinion/article about this. I remember reading this one a
while back:
http://whatimean.wordpress.com/2007/02/08/multiple-return-points-are-bad/
Like I said befor
Dotan Cohen wrote:
Even your example above hints at another "political" minefield - Early
Return or Multiple Return Points (s/Return/Exit/ in this case) Let's not
even go there!!!
Why not? I do this often, but I am not a professional programmer. I
find this to be very useful.
I think thi
2008/6/29 tedd <[EMAIL PROTECTED]>:
> Start a new thread.
>
Done, sorry for the highjack.
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting
2008/6/29 Colin Guthrie <[EMAIL PROTECTED]>:
>> In these instances you could rely on != behaviour instead of ==
>> behaviour, like this:
>>
>> > if ($challenge_password_hash != $stored_password_hash) {
>> echo 'Stay out! This club is for members only!';
>> } else {
>> echo 'Welcome to the club!
At 3:30 PM +0300 6/29/08, Dotan Cohen wrote:
2008/6/29 Colin Guthrie <[EMAIL PROTECTED]>:
> Even your example above hints at another "political" minefield - Early
Return or Multiple Return Points (s/Return/Exit/ in this case) Let's not
even go there!!!
Why not? I do this often, but I a
2008/6/29 Colin Guthrie <[EMAIL PROTECTED]>:
>> In these instances you could rely on != behaviour instead of ==
>> behaviour, like this:
>>
>> > if ($challenge_password_hash != $stored_password_hash) {
>> echo 'Stay out! This club is for members only!';
>> } else {
>> echo 'Welcome to the club!
Dotan Cohen wrote:
As far as the programming practice that Colin was advocating, it is
not a bad habit. And as far as the computer is concerned, the
efficiency is a wash since the number of internal steps probably
doesn't change much. However, it doesn't always work. (I know - no one
claimed it d
Haluk AKIN wrote:
> Hi all,
>
> Is it possible to add new character encodings to mbstring?
> http://us.php.net/mbstring
>
> If it is possible, then is there a procedure where I can submit "new
> feature" requests?
> Or is it possible for me to add the new character encodings myself?
You can cer
17 matches
Mail list logo