Re: [PHP-DEV] buildconf warning

2003-02-25 Thread michel 'ziobudda7; morelli
Il mar, 2003-02-25 alle 18:13, Magnus Mb@) ha scritto: > This is because you are running autoconf version 2.53 (which is buggy). > Downgrading to 2.13 will remove those warnings. Tnx. -- michel 'ziobudda' morelli <[EMAIL PROTECTED]> -- PHP Development Mailing List &l

[PHP-DEV] buildconf warning

2003-02-25 Thread michel &#x27;ziobudda7; morelli
' is needed.]) WARNING: More sophisticated templates can also be produced, see the WARNING: documentation. autoheader: `main/php_config.h.in' is created bye -- michel 'ziobudda' morelli <[EMAIL PROTECTED]> -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] new construct

2003-02-25 Thread michel &#x27;ziobudda7; morelli
d a __construct() function for a given class, it will search for the old-style constructor function, by the name of the class. But: and "/usr/local/php5-230202003/bin/php test.php" give this result: into A::A() And this is not correct, or not ? tnx -- michel 'ziobudd

Re: [PHP-DEV] Why parent::construct not called?

2003-02-23 Thread michel &#x27;ziobudda7; morelli
Il dom, 2003-02-23 alle 18:07, Marcus Börger ha scritto: > In ZE2 each class has a constructor. That constructor can be overwritten > by writing a method named "__construct". So far so good. Ok... This is the design.. tnx. -- michel 'ziobudda' morelli <[EMAIL PROT

Re: [PHP-DEV] Why parent::construct not called?

2003-02-23 Thread michel &#x27;ziobudda7; morelli
onstruct() is called (in automatic) only when derived::__constuct() is missing. I think that or the base::__construct() is always in automatic called or it is always never called (in automatic). bye -- michel 'ziobudda' morelli <[EMAIL PROTECTED]> -- PHP Development Mailing List &l

[PHP-DEV] Why parent::construct not called?

2003-02-23 Thread michel &#x27;ziobudda7; morelli
Hi, why if I have class B extends A { } the only way to call in automatic the A::__construct() is to not write the B::__construct() ? Ok, this is the design of PHP. But why ? tnx -- michel 'ziobudda' morelli <[EMAIL PROTECTED]> -- PHP Development Mailing List <http

Re: [PHP-DEV] no construct called

2003-02-22 Thread michel &#x27;ziobudda7; morelli
Il sab, 2003-02-22 alle 14:57, michel 'ziobudda' morelli ha scritto: > Hi, I have this code: Hi again. In my script I have noticed that if I write: protected $protetta = "Io sono protetta"; the function function ex2() { echo "sono in ex2()\n";

[PHP-DEV] no construct called

2003-02-22 Thread michel &#x27;ziobudda7; morelli
ruct() and exe() ) is ok that exe() is called and not __construct() (of class "exe") ??? I'm using php5-cvs of 19 Feb 2003. Tnx in advance. -- michel 'ziobudda' morelli <[EMAIL PROTECTED]> -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Invalid argument supplied for foreach()

2003-02-19 Thread michel &#x27;ziobudda7; morelli
Compiled today CVS version of php5. when I do 'make install' I get: Installing PEAR environment: /usr/local/php5-19022003//lib/php/ Warning: Invalid argument supplied for foreach() in /home/httpd/html/PHP/php5/pear/PEAR/Common.php on line 1165 [MORE AND MORE] bye. -- michel

[PHP-DEV] Libtool for RH8

2003-02-19 Thread michel &#x27;ziobudda7; morelli
tnx -- michel 'ziobudda' morelli <[EMAIL PROTECTED]> -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] cvs checkout

2003-02-19 Thread michel &#x27;ziobudda7; morelli
cvs checkout: move away php4/TSRM/tsrm_win32.h; it is in the way why this ? tnx -- michel 'ziobudda' morelli <[EMAIL PROTECTED]> -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] session_set_save_handler and session_start

2003-02-09 Thread michel &#x27;ziobudda7; morelli
session-handler vie class into tests directory so I have thinked that this is a php5 problem (or a my problem with php5). Using cvs via cvs -z3 -d :pserver:[EMAIL PROTECTED]:/repository -z3 co php5 and with this configure: ./configure --with-apxs2=/usr/local/httpd-2.0.43/bin/apxs --prefix=/us

Re: [PHP-DEV] Ok, I'm stupid but why..

2003-02-04 Thread michel &#x27;ziobudda7; morelli
Il mar, 2003-02-04 alle 16:58, michel 'ziobudda' morelli ha scritto: > ... it does not work: [snip] > cvs -z3 -d :pserver:[EMAIL PROTECTED]:/repository -z3 co -rPHP_4_3 > php4 yes, with php4 it can not work (is not ZE2) (error in cut&paste). but for the other ? >

[PHP-DEV] Ok, I'm stupid but why..

2003-02-04 Thread michel &#x27;ziobudda7; morelli
o php4-ze2 and this configure: ./configure --with-apxs2=/usr/local/httpd-2.0.43/bin/apxs --prefix=/usr/local/php5-`date +%d%m%G`/ - -with-openssl --with-zlib --with-bz2 --with-gd --with-mysql --with-xmlrpc Ok, I'm stupid, but where is my error ??? plz. -- michel 'ziobudda' more

Re: [PHP-DEV] Again scope

2003-02-02 Thread michel &#x27;ziobudda7; morelli
t; > function bar() { > print "foobar\n"; > } > } > > $obj = new FooClass; > $obj->foo(); > ?> > > Ok, this not works. My cvs is old, very ol

[PHP-DEV] Again scope

2003-01-31 Thread michel &#x27;ziobudda7; morelli
Bar2(); ?> give me this error: Fatal error: Call to undefined function: bar() in /home/httpd/html/PHP/test/3.php on line 14 I'm using php-cli from cvs (2 weeks ago). And there is a variable scope (for the class). -- michel 'ziobudda' morelli <[EMAIL PROTECTED]&g

Re: [PHP-DEV] RFE: trigger_error()

2003-01-27 Thread michel &#x27;ziobudda7; morelli
Il lun, 2003-01-27 alle 22:06, Sebastian Bergmann ha scritto: > michel 'ziobudda' morelli wrote: > > Can you explain me this new function ? > > See http://cvs.php.net/co.php/ZendEngine2/ZEND_CHANGES >From that page I read about __set() but I have not understand o

Re: [PHP-DEV] Error from last cvs (php4)

2003-01-27 Thread michel &#x27;ziobudda7; morelli
For PHP5 I get "php5" module. Tnx and bye -- michel 'ziobudda' morelli <[EMAIL PROTECTED]> -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] RFE: trigger_error()

2003-01-27 Thread michel &#x27;ziobudda7; morelli
Il lun, 2003-01-27 alle 21:53, Sebastian Bergmann ha scritto: > michel 'ziobudda' morelli wrote: > > is this avaible only into PHP5 ?? > > Yes. > > > There is a __unset() function? > > No, there are __get(), __set() and __call() interceptors. Can yo

[PHP-DEV] Error from last cvs (php4)

2003-01-27 Thread michel &#x27;ziobudda7; morelli
dentifier is reported only once /home/httpd/html/PHP/php4/ext/standard/basic_functions.c:2827: for each function it appears in.) make: *** [ext/standard/basic_functions.lo] Error 1 -- michel 'ziobudda' morelli <[EMAIL PROTECTED]> -- PHP Development Mailing List <http://w

[PHP-DEV] function not found

2003-01-20 Thread michel &#x27;ziobudda7; morelli
such file or directory in /home/httpd/html/zb_ng/test/c_faq/1.php on line 8 but [function.main] is a link to www.php.net/function.main that report: Sorry, no documents matched your search for "function.main". Is this a bug ? bye and sorry for my bad english. -- michel 'zi

Re: [PHP-DEV] Designing for PHP4 with PHP5 in mind...

2003-01-14 Thread michel &#x27;ziobudda7; morelli
Il mar, 2003-01-07 alle 20:15, J Smith ha scritto: > > You can still use constructors that have the same name as the class, at > least for the time being. Just tested it with 4.4.0-dev HEAD and ZE2. If > you have both a method with the same name as the class and a method called > __construct(),

Re: [PHP-DEV] Designing for PHP4 with PHP5 in mind...

2003-01-14 Thread michel &#x27;ziobudda7; morelli
Il mar, 2003-01-07 alle 20:15, J Smith ha scritto: > > You can still use constructors that have the same name as the class, at > least for the time being. Just tested it with 4.4.0-dev HEAD and ZE2. If > you have both a method with the same name as the class and a method called > __construct(),

Re: [PHP-DEV] Re: Warning in wrong parameter

2002-12-24 Thread michel &#x27;ziobudda7; morelli
Il mar, 2002-12-24 alle 22:20, Eric Coleman ha scritto: > AFAIK, it's supposed to allow for more parameters anyway ;) Hmm... I have supposed it... however in C/C++ is the same (thing). Sorry for the stupid question and my best whishes with all my heart for a merry MERRY Christmas. -- Michel Mo

[PHP-DEV] Warning in wrong parameter

2002-12-24 Thread michel &#x27;ziobudda7; morelli
Hi, I have installed php 4.2.1 and error_reporting = ALL. I write a function called foo() that accept only 1 parameter. Now if I write: All is ok. If I write: All is ok, but for me that is not OK because my function foo() accept only 1 parameters and no 2 o 3 or more. Is there any possibi

[PHP-DEV] php4.3 and zend2

2002-11-22 Thread michel &#x27;ziobudda7; morelli
Hi, and sorry for the question: I have lost the cvs string to get last php4-dev with ze2. Does some1 give me it ? tnx and sorry. -- Michel Morelli [EMAIL PROTECTED] ICQ UIN: 58351764 PR of Linux in Italy http://www.ziobudda.net http://www.phpd

[PHP-DEV] try/catch/throw in php5 ?

2002-11-12 Thread michel &#x27;ziobudda7; morelli
any news about an error management in php5 ? tnx -- -- Gli ultimi saranno i primi, ma lo sportello chiude alle 12 -- Michel Morelli [EMAIL PROTECTED] ICQ UIN: 58351764 PR of Linux in Italy http://www.ziobudda.net http://www.phpdev.it -- P

[PHP-DEV] php 4 and Zend 2

2002-11-11 Thread michel &#x27;ziobudda7; morelli
Hi, how can I try php4 and zend 2 ? I'm need it to write a book.. If I need to get the cvs version, how ? other than cvs co php4 is there a possibility to know where php5 go out ? bye and tnx. -- -- "Vendo tutto per esaurimento" (Insegna in un negozio) -- Michel Morelli [EMAIL

[PHP-DEV] Italian Book on PHP 5

2002-10-29 Thread michel &#x27;ziobudda7; morelli
Hi, I'm writing a php's book for italian people. I need to know some info about php 5.0. Any ideal time line ?? Tnx in advance. Ah, how can I get the HEAD cvs ? tnx -- -- Vecchioni da ragazzo si chiamava Jovanotti ? -- Michel Morelli [EMAIL PROTECTED] ICQ UIN: 58351764