PHP 4.0 Bug #7808: variable value triggerd by function
| From: | wico at cnh dot nl | Date: | Tue, 14 Nov 2000 13:54:13 +0000 |
| Subject: | PHP 4.0 Bug #7808: variable value triggerd by function | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-38066@lists.php.net to get a copy of this message | ||
From: wico@cnh.nl
Operating system: any
PHP version: 4.0 Latest CVS (14/11/2000)
PHP Bug Type: Feature/Change Request
Bug description: variable value triggerd by function
Hiya
I don't know how to call it but i thing i could be usefull
example:
$time &= time(); // var to function
echo $time; // current time
sleep(1);
echo $time; // still current time
example 2:
$data &= get_some_database_records();
while ($data) {
echo $data;
}
Get_some_database_records will give every time its called the next var (until false)
This are just a examples i know some other thing you can do with it but there yes for your
imagenation :)
Greetz,
Wico
--
Edit Bug report at: http://bugs.php.net/?id=7808&edit=1