note 15423 added to function.imap-open
| From: | php-general at lists dot php dot net | Date: | Sun, 09 Sep 2001 23:36:57 +0000 |
| Subject: | note 15423 added to function.imap-open | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17856@lists.php.net to get a copy of this message | ||
It is normal, that in PHP4 you should use a backslash before the curly brackets, as PHP4 includes
support for variable variable names...
So that, in PHP4;
<?php
$test="testing...";
$varname="test";
echo ${$varname}."\n\n";
---
this will print:
testing...
that's why
imap_open("{localhost/pop3:110}INBOX"...)
will NOT work
http://www.php.net/manual/en/function.imap-open.php