Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #13891

Re: why is it always an endless loop?

From Denis McMahon <denismfmcmahon@gmail.com>
Newsgroups comp.lang.php
Subject Re: why is it always an endless loop?
Date 2014-06-16 21:19 +0000
Organization A noiseless patient Spider
Message-ID <lnnn04$vm7$1@dont-email.me> (permalink)
References <qw7xoz3y22k8.h8pla1goojcr$.dlg@40tude.net> <160620142145486227%timstreater@greenbee.net>

Show all headers | View raw


On Mon, 16 Jun 2014 21:45:48 +0100, Tim Streater wrote:

> In article <qw7xoz3y22k8.h8pla1goojcr$.dlg@40tude.net>, richard
> <noreply@example.com> wrote:
> 
>> $a="one"
>> $b="one"
>> 
>> while ($a=$b){echo "equal"; $b="two";)
>> 
>> This simple code causes an endless loop.
> 
> No it doesn't. This will not even execute.
> 
> Then you wonder why you get bashed all the time.

Tim is write. The code that you wrote as an example will not execute. The 
code that you think that you wrote will, and as has been pointed out 
several times, contains an error that you have been told about many times 
before.

-- 
Denis McMahon, denismfmcmahon@gmail.com

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

why is it always an endless loop? richard <noreply@example.com> - 2014-06-16 12:06 -0400
  Re: why is it always an endless loop? Markus Heinz <markus.heinz@uni-dortmund.de> - 2014-06-16 18:17 +0200
  Re: why is it always an endless loop? Derek Turner <frderek@cesmail.net> - 2014-06-16 16:19 +0000
  Re: why is it always an endless loop? Stephan Jaschke <stephan@stj-online.de> - 2014-06-16 18:19 +0200
  Re: why is it always an endless loop? Doug Miller <doug_at_milmac_dot_com@example.com> - 2014-06-16 16:35 +0000
  Re: why is it always an endless loop? Denis McMahon <denismfmcmahon@gmail.com> - 2014-06-16 17:27 +0000
  Re: why is it always an endless loop? "J.O. Aho" <user@example.net> - 2014-06-16 20:09 +0200
  Re: why is it always an endless loop? Luuk <luuk@invalid.lan> - 2014-06-16 20:32 +0200
  Re: why is it always an endless loop? Christoph Michael Becker <cmbecker69@arcor.de> - 2014-06-16 21:41 +0200
  Re: why is it always an endless loop? Tim Streater <timstreater@greenbee.net> - 2014-06-16 21:45 +0100
    Re: why is it always an endless loop? Denis McMahon <denismfmcmahon@gmail.com> - 2014-06-16 21:19 +0000
      Re: why is it always an endless loop? Evan Platt <evan@theobvious.espphotography.com.invalid> - 2014-06-16 20:39 -0700
  Re: why is it always an endless loop? Arno Welzel <usenet@arnowelzel.de> - 2014-06-17 08:20 +0200
  Re: why is it always an endless loop? Arno Welzel <usenet@arnowelzel.de> - 2014-06-17 08:22 +0200
    Re: why is it always an endless loop? Denis McMahon <denismfmcmahon@gmail.com> - 2014-06-17 15:13 +0000

csiph-web