* Thus wrote Matt Richards ([EMAIL PROTECTED]):
> Imagine the following:
>
> 362>class someClass {
> 363> function someFunction() {
> 364>if($rDirectory = opendir("/templates")) {
> 365> while(false != ($strFile = readdir($srDirectory))) {
Looks like a typo, you're assigning rDirectory
ng with it.
Regards,
Michael Egan
-Original Message-
From: Matt Richards [mailto:[EMAIL PROTECTED]
Sent: 17 June 2004 12:51
To: [EMAIL PROTECTED]
Subject: [PHP] Very strange bug. Opendir/Readdir[Scanned]
Imagine the following:
362>class someClass {
363> function someFunctio
Imagine the following:
362>class someClass {
363> function someFunction() {
364>if($rDirectory = opendir("/templates")) {
365> while(false != ($strFile = readdir($srDirectory))) {
366>print $strFile."";
367> }
368> }
369> }
370>}
The class is constructed successfully,
3 matches
Mail list logo