Re: CVS errors: Cannot create references to/from string offsets

From: Date: Thu, 09 Nov 2000 23:45:02 +0000
Subject: Re: CVS errors: Cannot create references to/from string offsets
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-37635@lists.php.net to get a copy of this message
Please update the CVS. I reversed my previous patch. Will need to check why it broke stuff. Andi At 05:31 PM 11/9/00 -0600, Matt McClanahan wrote:
CVS is giving me grief in some very strange circumstances.. <? $file = '/etc/passwd' ?> yields Fatal error: Cannot create references to/from string offsets nor overloaded objects in - on line 2 Or in the case of a for loop <? for ($i = 0; $i < 50; $i++) { if ($i < 10)
      $file = 'phrase00';
else
      $file = 'phrase0';  // This fails
echo "$file$i\n"; } ?> The first 10 will work, and then the same error as above will be triggered for line 8. Matt -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
--- Andi Gutmans <andi@zend.com> http://www.zend.com/

« previous php.dev (#37635) next »