php-general Digest 24 Sep 2010 08:09:25 -0000 Issue 6957
Topics (messages 308272 through 308273):
Re: module add on Suse 10.3
308272 by: Patrick Serru
Re: Copying an Object
308273 by: Gary
Administrivia:
To subscribe to the digest, e-mail:
[email protected]
To unsubscribe from the digest, e-mail:
[email protected]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
Hello everybody,
I removed all the Yast modules related to PHP and rebuilt:
m...@pat:~/bin/PHP/php-5.3.3> rm configure
m...@pat:~/bin/PHP/php-5.3.3> ./buildconf --force
Forcing buildconf
buildconf: checking installation...
buildconf: autoconf version 2.61 (ok)
buildconf: Your version of autoconf likely contains buggy cache code.
Running vcsclean for you.
To avoid this, install autoconf-2.13.
Can't figure out your VCS, not cleaning.
rebuilding configure
rebuilding main/php_config.h.in
autoheader: WARNING: Using auxiliary files such as `acconfig.h',
`config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for
`config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template
without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, see
the
autoheader: WARNING: documentation.
m...@pat:~/bin/PHP/php-5.3.3> make
...
m...@pat:.../php-5.3.3 # make install
...
m...@pat:~/bin/PHP/php-5.3.3> php --version
PHP 5.3.3 (cli) (built: Sep 16 2010 23:44:47)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
CLI works but after restarting apache2, FireFox asks me what to do with
the ".php" file...
Is there someone here in that list that ever succed installing in a
Linux box an extra PHP module (please tell the distribution and the
processor type too)
I am near suicide...
Patrick
--- End Message ---
--- Begin Message ---
Daniel Kolbo wrote:
> Say you have two classes: human and male. Further, say male extends
> human. Let's say you have a human object. Then later you want to make
> that human object a male object. This seems to be a pretty reasonable
> thing to request of our objects.
I don't think any human can change gender without major surgery, but I
don't know if you just chose your example badly or whether you really
think objects should be able to mutate into other types of object
without some kind of special treatment.
> This type of thing would especially be
> easy if objects of parent classes could be cast as an object of its
> extended class.
Where would the extra data come from to fill in any fields the base
class does not have? Just think of a simple example with a Shape class,
extended by a ColouredShape class which contains some data about the
object's colour - if you have a Shape object it can't become a
ColouredShape without some surgery because bits of the ColouredShape's
anatomy are not present.
--
Gary Please do NOT send me 'courtesy' replies off-list.
PHP 5.2.12 (cli) (built: Jan 14 2010 14:54:11)
1.7.7(0.230/5/3) 2010-08-31 09:58 Cygwin
--- End Message ---