Re: RESOLVED: Private data in C/C++ generated classes - example

From: Date: Sun, 05 Mar 2006 21:28:54 +0000
Subject: Re: RESOLVED: Private data in C/C++ generated classes - example
Groups: php.internals 
Request: Send a blank email to internals+get-22129@lists.php.net to get a copy of this message
Hello Andrew, yes helly that's me :-) Sunday, March 5, 2006, 9:56:38 PM, you wrote: > Have compiled and run the sample suggested by Marcus Boerger, > (aka helly ??). Greatly appreciated. > For info, I couldn't find talk at http://talks.php.net, > but found it at a > previous link he'd supplied, at: > http://talks.marcus-boerger.de > aka: > http://somabo.de/talks/ > Example is at: > http://somabo.de/php/ext/util/ > Simple test script below > ---- > // written by Andrew Mather - ie: not an authorised test! > // (Does work however - I leave it to you to change the target dir) > $path = "/home/andrew"; > $u = new dirs($path); > $upath = $u->getPath(); > echo("obj->path(): $upath\n<br>"); > > $u->next(); > while($u->valid()) > { > $cur = $u->current(); > echo("Current: $cur\n<br>"); > //nb: \n<br> - so I get a line break in both browser and shell... > $u->next(); > } > --- Best regards, Marcus

« previous php.internals (#22129) next »