Date: 11/09/00
- Next message: Andi Gutmans: "Re: [PHP-DEV] CVS errors: Cannot create references to/from string offsets"
- Previous message: Zeev Suraski: "[PHP-DEV] Re: [PHP-QA] Re: RFC:PHP Release Cycle"
- Next in thread: Andi Gutmans: "Re: [PHP-DEV] CVS errors: Cannot create references to/from string offsets"
- Reply: Andi Gutmans: "Re: [PHP-DEV] CVS errors: Cannot create references to/from string offsets"
- Reply: Andi Gutmans: "Re: [PHP-DEV] CVS errors: Cannot create references to/from string offsets"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Andi Gutmans: "Re: [PHP-DEV] CVS errors: Cannot create references to/from string offsets"
- Previous message: Zeev Suraski: "[PHP-DEV] Re: [PHP-QA] Re: RFC:PHP Release Cycle"
- Next in thread: Andi Gutmans: "Re: [PHP-DEV] CVS errors: Cannot create references to/from string offsets"
- Reply: Andi Gutmans: "Re: [PHP-DEV] CVS errors: Cannot create references to/from string offsets"
- Reply: Andi Gutmans: "Re: [PHP-DEV] CVS errors: Cannot create references to/from string offsets"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

