NYCPHP Meetup

NYPHP.org

[nycphp-talk] mysql and mysqli together (with PHP 5.0.3)

Daniel Convissor danielc at analysisandsolutions.com
Sun Dec 26 21:34:56 EST 2004


On Sun, Dec 26, 2004 at 01:32:56PM -0500, David Mintz wrote:
> <?php
> $array = array('one' ,'two','three' );
> foreach ($array as $i) {
> 	echo "$i<br />\n" ;
> }
> ?>
> ... I get:
> 
> Array
> Array
> Array

Got Zend Optimizer running?  Upgrade it.  PHP changed some internal things 
in 4.3.10 that makes ZO wack out.

Some significant mistakes were made in the 4.3.10 and 5.0.3 releases.  
Quite sad.  For example, in 5.0.3, the following code evaluates as true, 
even though up until this release, it had evaluated to false.

   $str = 'x';
   var_dump(isset($str->prop));

--Dan

-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
                http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409



More information about the talk mailing list