Re: readdir behavior I cannot understand

From: Date: Mon, 20 Sep 2004 03:52:15 +0000
Subject: Re: readdir behavior I cannot understand
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-197239@lists.php.net to get a copy of this message
Jason Fb wrote:
<?php // Note that !== did not exist until 4.0.0-RC2 $root_dir = "/Users/jason/Sites/"; $folder_on_server "test";
This should be: $folder_on_server = "test"; T_CONSTANT_ENCAPSED_STRING is a long way of saying a string that doesn't have any fanciness in it like "test" or 'hello', but not "this $way" because $way is a variable that will be interpreted. Greg

« previous php.general (#197239) next »