Re: [PHP-DEV] $x instanceof __CLASS__

2005-12-27 Thread Marcus Boerger
Hello Jochem, right now it's by design, instanceof takes a T_STRING or a variable. __CLASS__ returns a const string which is different form a T_STRING. marcus Tuesday, December 27, 2005, 3:30:48 PM, you wrote: > hi there, > a quick question regarding whether the following is by design, > bec

[PHP-DEV] $x instanceof __CLASS__

2005-12-27 Thread Jochem Maas
hi there, a quick question regarding whether the following is by design, because it causes a parse error (the code I tried out did occur within a class definition ! :-): if (!$field instanceof __CLASS__) { // do something } where as this obviously does work: $class = __CLASS__; if (!$f

Re: [PHP-DEV] Re: The PHP Installer (Windows)

2005-12-27 Thread Phil Driscoll
I look after the installer, and I agree that it could do much more - indeed it could be made to install everything which comes in the zip (that was my original plan), although there would be a nightmare of dependencies to check for. I no longer even have a windows machine, and the only time I e

[PHP-DEV] Re: The PHP Installer (Windows)

2005-12-27 Thread Nicholas Telford
The MySQL client is not part of the PHP core which is what the installer installs. However, if any work is to be done on the installer it might be nice to package it will all non-pecl libs and have a selection dialog during the install to select the modules to install, the installer could then

Re: [PHP-DEV] The PHP Installer (Windows)

2005-12-27 Thread Lester Caine
Matt Wilson wrote: I'm curious why this exists. It doesn't seem to do anything but harm? Not a day goes by where I'm not asked why some one can't get mysql to work with php because of this thing... Or Firebird ;) Just wondering why its there, is all. We have to keep telling people to get the