Hi Greg,
At 22:54 10.5. 2001, Greg Brunet wrote the following:
--------------------------------------------------------------
>Actually, I think that the installer works just fine & given that the ISAPI
This reminds me: me and Phil Driscoll have written new version of
the installer. Anyone on whose computer the installer failed is
invited to try the new version. instructions follow. (sorry for
the OT side note :)
>>How to do the test:
>>
>>Download the old version which I've put at
>>http://www.dialsolutions.com/phil/php/IISConfig.exe
>>
>>Then from the command line, run "IISConfig.exe <path to your php.exe> .php"
>>
>>so for example, on my system this would be:
>>
>>iisconfig.exe f:\php\php4\php.exe .php
>>
>>If one or other of the OCX controls is already registered on your machine
>>you should get a dialogue box showing a list of your IIS scriptmap nodes,
>>and you should cancel out of the dialogue box so it doesn't mess up your IIS
>>configuration.
>>
>>If however you get an error message to the effect that an OCX control is not
>>registered then good - you can help us!
>>
>>Run the IISConfig.exe that Cynic posted at
>>http://www.1st.cz/cynic/IISconfig.zip
>>with the same command line arguments.
>>
>>You should hopefully get a message box informing you that the control has
>>been registered, then the software should do it's stuff and display the
>>scriptmap nodes. Cancel out of the dbox and let us know it worked! NB the
>>software then unregisters the OCX again so that your system is left in the
>>same state as it was previously.
now, on to the topic.
>The problem of case sensitivity is not one of naming conventions and not
>necessarily one of programming discipline. It is one of whether the tool
>(PHP) helps the developer write clean code. I seriously doubt if there are
>many (any?) developers out there who change the case of their
>variables/functions from one instance to the next. If it does appear
>differently, it would almost always be a typo. Without any warning that the
>variable is undefined (the default way that PHP is installed), this can be a
>key source of difficult to track errors. The two obvious ways to help
>eliminate this kind of bug are a warning/error for undefined variables
>(which is available within PHP - set error_reporting to 15 for those who
>don't know about this yet), and switching to case insensitive
>variables/functions.
I'm ++1 on making PHP 100% case-sensitive. I just hate to see MySQL_Connect(),
MYSQL_Connect(), mySQL_DB_Query(), etc., in other people's source. It makes it
hard to read. It also makes the namespace much much smaller.
Failing to set your development environment for development isn't failure of
the language. It's a failure of the programmer. The facilities are there.
Of course, error_reporting E_ALL is a poor excuse for a debugger, but keep
in mind that you didn't have to pay a nickel for PHP. And the you have full
access to it's internals, so you can always write (or hire someone to do so)
an IDE that will catch your typos for you.
BTW, if you set error_reporting to 15 in PHP 4, you won't get almost any
error messages - numeric value of E_ALL is 2047.
>To take advantage of case sensitivity to hack around something the language
>is missing seems like a poor reason to implement it. If there is a
>significant enough need to have multiple constructors, then that aspect of
>the language should be addressed. Case sensitivity is not a nicety for
>professional developers - it's just something that makes the
>compiler/interpreter language parsing code easier to write.
Plus easier to read, and, believe or not, for some, it's easier to write.
>Making it
>case-insensitive would help eliminate errors which I would think that all
>developers, both professional & hobby, would welcome.
No. Certainly not. I guess there's a lot of people used to VB in php-windows@,
and I'm not subscribed to php-general@ anymore, so I don't know about that,
but everyone who raised their voice on this topic on php-dev@ or php-qa@ has
been for making function names case-sensitive.
>-- Greg
------end of quote------
cynic
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]