To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.publishOpen lugnet.publish in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Publishing / 4692
4691  |  4693
Subject: 
Re: PHP 4.3.10 Problems?
Newsgroups: 
lugnet.publish
Date: 
Mon, 3 Jan 2005 04:52:33 GMT
Viewed: 
2630 times
  
On Mon, Jan 03, 2005 at 04:49:11AM +0000, Mike Walsh wrote:
Have any of you who manage a PHP based site observed some strange
behavior with foreach() in the 4.3.10 release? I am seeing different
behavior with foreach with 4.3.10 than I have previously. The PHP web
site (www.php.net) indicates 4.3.10 incorporates foreach from PHP5 as
a back port.

Anyone else seeing similar problems?

I actually did notice this issue with the web component of MythTV, which
runs on php.  But I didn't make the connection to the recent upgrade I
did with php on the server.  So is there an easy fix?  What's the new
syntax look like compared to the old?

As an aside, sounds like changing a fundumantal part of the language in
a way that's not backwards compatible, and including that change in a
security release is a bad idea :)

--
Dan Boger
dan@peeron.com



Message has 3 Replies:
  Re: PHP 4.3.10 Problems?
 
(...) Interesting. I had heard about 4.3.10 causing script errors, but not any specifics. I'd be interested to know how it works differently and what the symptoms of this are.. Kyle (20 years ago, 3-Jan-05, to lugnet.publish)
  Re: PHP 4.3.10 Problems?
 
"Dan Boger" <dan@peeron.com> wrote in message news:20050103045233....ron.com... [ ... snipped ... ] (...) I am looking at it now and it appears that syntax like this is problematic: foreach ($myValues as $myValue) { } Syntax like this however (...) (20 years ago, 3-Jan-05, to lugnet.publish)
  Re: PHP 4.3.10 Problems?
 
"Dan Boger" <dan@peeron.com> wrote in message news:20050103045233....ron.com... [ ... snipped ... ] (...) It appears that this problem is not actually a PHP problem per se but rather an API problem with PHP encoders and accelerators which make use (...) (20 years ago, 3-Jan-05, to lugnet.publish)

Message is in Reply To:
  PHP 4.3.10 Problems?
 
Have any of you who manage a PHP based site observed some strange behavior with foreach() in the 4.3.10 release? I am seeing different behavior with foreach with 4.3.10 than I have previously. The PHP web site (www.php.net) indicates 4.3.10 (...) (20 years ago, 3-Jan-05, to lugnet.publish)

8 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR