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
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
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
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
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