Bug #31108 [Com]: Upgrading to PHP 4.3.10 brakes several applications

From: Date: Wed, 06 Oct 2021 20:24:16 +0000
Subject: Bug #31108 [Com]: Upgrading to PHP 4.3.10 brakes several applications
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-237068@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=31108&edit=1

 ID:                 31108
 Comment by:         php dot net at linktr dot ee
 Reported by:        pierre at zenutech dot com
 Summary:            Upgrading to PHP 4.3.10 brakes several applications
 Status:             Not a bug
 Type:               Bug
 Package:            *General Issues
 Operating System:   Red Hat 9 - Linux
 PHP Version:        4.3.10
 Block user comment: N
 Private report:     N

 New Comment:

https://google.nl/url?q=https%3A%2F%2Fa.tvfun.me%2Fmosalsalat-torkia%2F
https://google.pl/url?q=https%3A%2F%2Fa.tvfun.me%2Fmosalsalat-torkia%2F
https://php.net/url?q=https%3A%2F%2Fa.tvfun.me%2Fmosalsalat-torkia%2F
https://google.be/url?q=https%3A%2F%2Fa.tvfun.me%2Fmosalsalat-torkia%2F
https://google.com.gt/url?q=https%3A%2F%2Fa.tvfun.me%2Fmosalsalat-torkia%2F


Previous Comments:
------------------------------------------------------------------------
[2004-12-16 12:27:03] pierre at zenutech dot com

Thank you for helping find a solution to this problem. Any chance we could add a small message next
to the php download saying that if you use Zend Optimizer, you need latest version to work with this
new php?  I'm sure it would help the public right?

------------------------------------------------------------------------
[2004-12-16 10:08:04] derick@php.net

Not a bug in PHP then, but in the Zend Optimizer. In case you encounter this problem, please upgrade
to the latest version of the Zend Optimizer!

------------------------------------------------------------------------
[2004-12-16 09:49:50] baroiller at daoditu dot com

fixed! :)

just upgrade ZendOptimizer to last version, and it'll work.

------------------------------------------------------------------------
[2004-12-16 09:33:31] baroiller at daoditu dot com

I've got the same problem whith foreach.
here is an example :


$func_key is an array, 

var_dump($func_key) return this :array(4) {
  [0]=>   string(4) "link"
  [1]=>   string(3) "var"
  [2]=>   string(8) "rubrique"
  [3]=>   string(4) "code"
}

the code that doens't work :
foreach($func_key as $key ) {
  var_dump($key); // for testing $key content
  $approved_tags[]="{".$key."\:}";
}

and the "bad" result .. what's wrong ???

array(2) {
  [0]=>   string(4) "link"
  [1]=>   int(0)
}
array(2) {
  [0]=>   string(3) "var"
  [1]=>   int(1)
}
array(2) {
  [0]=>   string(8) "rubrique"
  [1]=>   int(2)
}
array(2) {
  [0]=>   string(4) "code"
  [1]=>   int(3)
}

Before upgrage, $key was filled like this :

string(3) "var"
string(8) "rubrique"
string(4) "code"


any idea ?

------------------------------------------------------------------------
[2004-12-16 09:28:41] derick@php.net

So, does it work if you remove (or upgradE) the Zend Optimizer?

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


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=31108


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


Thread (8 messages)

« previous php.bugs (#237068) next »